external/binutils.git
31 years ago* stabs.texinfo: Cleanups regarding statics.
Jim Kingdon [Thu, 15 Jul 1993 20:44:09 +0000 (20:44 +0000)]
* stabs.texinfo: Cleanups regarding statics.

31 years ago* stabs.texinfo: Cleanups regarding statics.
Jim Kingdon [Thu, 15 Jul 1993 20:29:23 +0000 (20:29 +0000)]
* stabs.texinfo: Cleanups regarding statics.

31 years ago * config/obj-coffbfd.c (fixup_segment): If TC_M88K, don't adjust
Ian Lance Taylor [Thu, 15 Jul 1993 20:23:43 +0000 (20:23 +0000)]
* config/obj-coffbfd.c (fixup_segment): If TC_M88K, don't adjust
by md_pcrel_from if we are relocating against a symbol (we still
need md_pcrel_from for a PC relative relocation within the same
file).
* config/tc-m88k.c (md_pcrel_from): Corrected return value.

31 years ago * coff-m88k.c (howto_table): Corrected bitsize for R_PCR26L from
Ian Lance Taylor [Thu, 15 Jul 1993 20:06:41 +0000 (20:06 +0000)]
* coff-m88k.c (howto_table): Corrected bitsize for R_PCR26L from
16 to 26.

31 years ago * scripttempl/m88kbcs.sc: Removed TARGET statement. Changed
Ian Lance Taylor [Thu, 15 Jul 1993 19:59:21 +0000 (19:59 +0000)]
* scripttempl/m88kbcs.sc: Removed TARGET statement.  Changed
OUTPUT_FORMAT to use ${OUTPUT_FORMAT}.
* emulparams/m88kbcs.sh: It's coff-m88kbcs, not m88kbcs.

31 years ago * gdbinv-s.texi (Bootstrapping): Document exceptionHandler.
Jim Kingdon [Thu, 15 Jul 1993 19:00:08 +0000 (19:00 +0000)]
* gdbinv-s.texi (Bootstrapping): Document exceptionHandler.
(Debug Session): Mention exceptionHandler.  Add xref to Bootstrapping.

31 years ago* NEWS: Mention that remote.c now has a `load' operation.
Jim Kingdon [Thu, 15 Jul 1993 18:28:40 +0000 (18:28 +0000)]
* NEWS: Mention that remote.c now has a `load' operation.

31 years ago * Makefile.in (em_m88kbcs.c): Correct dependency.
Ian Lance Taylor [Thu, 15 Jul 1993 17:57:26 +0000 (17:57 +0000)]
* Makefile.in (em_m88kbcs.c): Correct dependency.
(scripttempl/m88kbcs.sc): It's ARCH, not arch.

31 years ago* hppa-tdep.c (pc_in_linker_stub): New function.
Jim Kingdon [Thu, 15 Jul 1993 17:49:41 +0000 (17:49 +0000)]
* hppa-tdep.c (pc_in_linker_stub): New function.

31 years ago * hppa-tdep.c (pc_in_linker_stub): New function.
Jim Kingdon [Thu, 15 Jul 1993 17:38:59 +0000 (17:38 +0000)]
* hppa-tdep.c (pc_in_linker_stub): New function.
(find_proc_framesize): Return 0 for linker stubs.
(rp_saved): Tell the caller where rp is saved.
(frame_chain_valid): Return 1 for linker stubs.
(frame_saved_pc): Use return value from rp_saved.

31 years ago* gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
Jim Kingdon [Thu, 15 Jul 1993 17:10:43 +0000 (17:10 +0000)]
* gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.

31 years ago* compile.c: Reset HMODE back to zero (accidently set it to 1).
David Edelsohn [Thu, 15 Jul 1993 17:04:39 +0000 (17:04 +0000)]
* compile.c: Reset HMODE back to zero (accidently set it to 1).

31 years ago* run.c (main): If h8/300h binary detected, call set_h8300h.
David Edelsohn [Thu, 15 Jul 1993 17:01:40 +0000 (17:01 +0000)]
* run.c (main): If h8/300h binary detected, call set_h8300h.
* compile.c (sim_resume): Fix O_NEG insn.

31 years ago * objdump.c (disassemble_data): Handle the m88k.
Ian Lance Taylor [Thu, 15 Jul 1993 16:46:50 +0000 (16:46 +0000)]
* objdump.c (disassemble_data): Handle the m88k.
(display_bfd): Use bfd_errmsg, rather than just claiming that the
bfd is not an object file.

31 years ago * m88k.h: Corrected a couple of opcodes.
Ian Lance Taylor [Thu, 15 Jul 1993 16:43:54 +0000 (16:43 +0000)]
* m88k.h: Corrected a couple of opcodes.

31 years ago * dis-asm.h: Added declaration of print_insn_m88k.
Ian Lance Taylor [Thu, 15 Jul 1993 16:42:33 +0000 (16:42 +0000)]
* dis-asm.h: Added declaration of print_insn_m88k.

31 years ago * m88k-dis.c: New file, moved in from gdb and changed to use the
Ian Lance Taylor [Thu, 15 Jul 1993 16:40:49 +0000 (16:40 +0000)]
* m88k-dis.c: New file, moved in from gdb and changed to use the
new dis-asm.h disassembler interface.
* Makefile.in (DIS_LIBS): Added m88k-dis.o.
(m88k-dis.o): New target.

31 years agoAdd m88k-coff target Makefile fragment.
Ian Lance Taylor [Thu, 15 Jul 1993 16:35:23 +0000 (16:35 +0000)]
Add m88k-coff target Makefile fragment.

31 years ago * m88k.h (OMAGIC): Define.
Ian Lance Taylor [Thu, 15 Jul 1993 16:26:31 +0000 (16:26 +0000)]
* m88k.h (OMAGIC): Define.
(union external_auxent): Move x_fcn back inside x_fcnary.
({GET,PUT}_FCN_{LNNOPTR,ENDNDX}): Adjust accordingly.

31 years ago * Preliminary support for m88k-coff.
Ian Lance Taylor [Thu, 15 Jul 1993 16:02:21 +0000 (16:02 +0000)]
* Preliminary support for m88k-coff.
* configure.in (m88k-*-coff*): New target.  Use coffbfd and
m88kcoff.
* config/m88kcoff.mt: New file.
* read.c (lex_type): New macro LEX_AT to set lex type of '@'.
(pseudo_set): Handle difference of symbols in different fragments
by saving the entire expression as the value of the symbol.
* symbols.c (resolve_symbol_value): Resolve difference
expressions.
* config/obj-coffbfd.c (obj_pseudo_table): If TC_M88K, accept
"sdef" as a synonym for "def".
* config/obj-coffbfd.h: If TC_M88K, include coff/m88k.h and set
TARGET_FORMAT.
(S_IS_LOCAL): Any symbol which includes \001 in the name is local.
* config/tc-m88k.c, config/tc-m88k.h: Numerous changes to bring
m88k port up to date, and to add COFF support.

31 years ago * stack.c (print_frame_info): When checking PC_IN_CALL_DUMMY,
Jim Kingdon [Thu, 15 Jul 1993 15:15:42 +0000 (15:15 +0000)]
* stack.c (print_frame_info): When checking PC_IN_CALL_DUMMY,
pass the sp relative to the frame in question, not the sp in the
innermost frame.

31 years ago* attach.c, detach.c: Include <sys/types.h> before <fcntl.h>.
Jim Kingdon [Thu, 15 Jul 1993 13:01:31 +0000 (13:01 +0000)]
* attach.c, detach.c: Include <sys/types.h> before <fcntl.h>.

31 years ago * mipsread.c (mylookup_symbol): Use strcmp, not STREQ, as we have
Jim Kingdon [Thu, 15 Jul 1993 07:28:14 +0000 (07:28 +0000)]
* mipsread.c (mylookup_symbol): Use strcmp, not STREQ, as we have
already checked the first characters.

31 years ago * mipsread.c (parse_procedure): Take as argument the symtab to look
Jim Kingdon [Thu, 15 Jul 1993 07:25:58 +0000 (07:25 +0000)]
* mipsread.c (parse_procedure): Take as argument the symtab to look
the name up in.  Look it up with mylookup_symbol, not lookup_symbol.
(psymtab_to_symtab_1): For stabs, pass the symtab to parse_procedure.

31 years ago * mipsread.c (psymtab_to_symtab_1, parse_procedure): For stabs,
Jim Kingdon [Thu, 15 Jul 1993 05:24:16 +0000 (05:24 +0000)]
* mipsread.c (psymtab_to_symtab_1, parse_procedure): For stabs,
save the indices of the MIPS_EFI_SYMBOL_NAME symbol rather than
looking them up by the names of the functions.

* mipsread.c (mylookup_symbol): Use strcmp, not STREQ, as we have
already checked the first characters.

31 years ago * ldfile.c (ldlang_open_file, ldfile_open_command_file),
David MacKenzie [Thu, 15 Jul 1993 04:46:25 +0000 (04:46 +0000)]
* ldfile.c (ldlang_open_file, ldfile_open_command_file),
main.c (main): Print the errno string in the error message.

31 years ago* printcmds.exp: Add another printf test.
Jim Kingdon [Wed, 14 Jul 1993 22:54:22 +0000 (22:54 +0000)]
* printcmds.exp: Add another printf test.

31 years agox
Jim Kingdon [Wed, 14 Jul 1993 22:47:45 +0000 (22:47 +0000)]
x

31 years ago Changes from Jeffrey Law:
Jim Kingdon [Wed, 14 Jul 1993 22:44:03 +0000 (22:44 +0000)]
Changes from Jeffrey Law:
* printcmd.c (makeva_list): Use MAKEVA_EXTRA_INFO to define
machine dependent fields in the makeva_list structure.
(makeva_size): Allocate extra space to handle gaps made by
alignment restrictions.
* config/pa/xm-pa.h (MAKEVA_EXTRA_INFO): Define.
(MAKEVA_START): Initialize arglist_address field.
(MAKEVA_ARG): Always store arguments on natural alignment
boundaries.  Set arglist_address to the address right after
the args.
(MAKEVA_END): Simply return the value stored in arglist_address.

31 years ago * configure.in: If configured -with-stabs on any target, add
Ian Lance Taylor [Wed, 14 Jul 1993 22:38:37 +0000 (22:38 +0000)]
* configure.in: If configured -with-stabs on any target, add
stabsdirs to configdirs.

31 years ago * Removed sy_forward and replaced it with an undefined expression
Ian Lance Taylor [Wed, 14 Jul 1993 22:21:25 +0000 (22:21 +0000)]
* Removed sy_forward and replaced it with an undefined expression
as the value of a symbol.
* struc-symbol.h (struct symbol): Removed sy_forward field.  Added
sy_resolved and sy_resolving single bit fields.
* symbols.c (symbol_new): Don't initialize sy_forward field.
(resolve_symbol_value): New function to adjust symbol value by
fragment address, using recursion to resolve forward symbols.
* symbols.h: Added prototype for new function.
* read.c (pseudo_set): Set symbolP->sy_value to an undefined
expression rather than setting symbolP->sy_forward.
* write.c (write_object_file): Use resolve_symbol_value on
symbols, keeping the common case (the old behaviour) inline.
* config/obj-aout.c (obj_aout_frob_symbol): Removed sy_forward
handling (subsumed by write.c change).
* config/obj-coff.c, config/obj-coffbfd.c (obj_coff_val): Set
sy_value rather than sy_forward.
* config/obj-coffbfd.c (obj_coff_endef, yank_symbols): Check
expression segment rather than sy_forward.
(yank_symbols): Use resolve_symbol_value.
(crawl_symbols): Removed extra pass over symbols.
* config/obj-aout.c, config/obj-bout.c, config/obj-coff.c,
config/obj-vms.c (obj_crawl_symbol_chain): Removed extra pass over
symbols which handled sy_forward; use resolve_symbol_value
instead.
* config/obj-coff.h, config/obj-coffbfd.h (obj_frob_forward_symbol):
Define.
* config/obj-elf.c (obj_elf_stab_generic): Check expression
segment rather than sy_forward.
* config/obj-vms.c (VMS_Check_For_Main): Don't initialize
sy_forward; do initialize sy_resolved and sy_resolving.
* config/tc-hppa.h (STAB_FIXUP): Use sy_value, not sy_forward.

31 years ago * ch-valprint.c (chill_val_print, case TYPE_CODE_STRING): Print
Jim Kingdon [Wed, 14 Jul 1993 21:38:39 +0000 (21:38 +0000)]
* ch-valprint.c (chill_val_print, case TYPE_CODE_STRING): Print
address, not addr.

* hppah-nat.c (store_inferior_registers): Don't print i in cases
where we aren't using it.

31 years agoCheck in ChangeLog entry that got lost.
Stu Grossman [Wed, 14 Jul 1993 21:19:09 +0000 (21:19 +0000)]
Check in ChangeLog entry that got lost.

Fri Jun 25 17:02:45 1993  Stu Grossman  (grossman at cygnus.com)

* gdbserver/Makefile.in:  Add dependancies on server.h.
* gdbserver/remote-gutils.c:  Remove lots of unused functions and
variables.
* gdbserver/remote-inflow.c:  Remove lots of unused variables and
#includes.  Also, use PTRACE_* symbols instead of constants.
(mywait):  Surround calls to wait() with enable/disable_async_io()
so that we can be interrupted from GDB while waiting for the
child.  Also, handle child exit more gracefully.
* gdbserver/remote-server.c:  Remove lots of unused variables.
Move all extern defs into server.h.  Redo main loop so that
failure from getpkt() causes communications to be re-established.
Fix 'k' command so that it restarts the child.
* gdbserver/remote-utils.c:  Remove lots of unloved vars and
subrs.  Move many extern decls into server.h.  (remote_open):  For
tcp, seperate usage of proto fd from connected fd.  Close proto
fd after getting connection.  (putpkt/getpkt):  Pay attention to
errors when reading/writing.  Report these to the caller.  New
routines input_interrupt/enable_async_io/disable_async_io to make
it possible to get an I/O interrupt when data arrives from the
comm link.
* serial.h:  New file to contain common defs for all remote files.

31 years ago * hppa.c [HOST_HPPABSD]: Use hpux-style core files.
Jim Kingdon [Wed, 14 Jul 1993 20:35:18 +0000 (20:35 +0000)]
* hppa.c [HOST_HPPABSD]: Use hpux-style core files.
* libhppa.h [HOST_HPPABSD]: Include hpux version of core.h

31 years ago * Changes to keep a full expression as the value of a symbol, not
Ian Lance Taylor [Wed, 14 Jul 1993 19:35:45 +0000 (19:35 +0000)]
* Changes to keep a full expression as the value of a symbol, not
just a longword:
* struc-symbol.h: New field sy_value.
* as.h: Include expr.h before struc-symbol.h.
* expr.h: Use struct symbol rather than symbolS.
* symbols.c (S_GET_VALUE, S_SET_VALUE): Rewrote to retrieve value
of sy_value field; compile unconditionally, not just if
BFD_ASSEMBLER.
* symbols.h: Compile S_{SG}ET_VALUE prototypes unconditionally.
* write.c (write_object_file): Set BFD symbol value to gas symbol
value.
* config/obj-aout.h, config/obj-bout.h, config/obj-coff.h,
config/obj-coffbfd.h, config/obj-generic.h, config/obj-vms.h
(S_GET_VALUE, S_SET_VALUE): Removed macro definitions.
* config/obj-ieee.c (S_GET_VALUE, S_SET_VALUE): Removed.
* config/obj-coff.h, obj-coffbfd.h: Rewrote several macros to use
S_GET_VALUE rather than ost_entry.n_value.
* config/obj-aout.c (obj_symbol_to_chars), config/obj-bout.c
(obj_symbol_to_chars), config/obj-coff.c (obj_symbol_to_chars),
config/obj-coffbfd.c (symbol_to_chars): Get value to write out
using S_GET_VALUE--don't assume it is already set.
* config/obj-ieee.c (do_symbols): Set BFD symbol value to gas
symbol value.
* config/obj-vms.c (various): Don't assign directly to
S_GET_VALUE; use S_SET_VALUE instead.

31 years ago * Makefile.in (Makefile): depend on configure.in. Also drop the
K. Richard Pixley [Wed, 14 Jul 1993 19:04:10 +0000 (19:04 +0000)]
* Makefile.in (Makefile): depend on configure.in.  Also drop the
  $(srcdir)/ from the dependency on Makefile.in.

31 years ago* a29k-tdep.c (get_saved_register): Fix typo.
Jim Kingdon [Wed, 14 Jul 1993 18:55:57 +0000 (18:55 +0000)]
* a29k-tdep.c (get_saved_register): Fix typo.

31 years ago* configure.in: Recognize h8300h (variant of h8300).
David Edelsohn [Wed, 14 Jul 1993 16:49:18 +0000 (16:49 +0000)]
* configure.in: Recognize h8300h (variant of h8300).
Recognize sparc64-*-*.

31 years ago* configure.in: Make sparc64-*-aout* use bfd gas.
David Edelsohn [Wed, 14 Jul 1993 16:38:53 +0000 (16:38 +0000)]
* configure.in: Make sparc64-*-aout* use bfd gas.

31 years ago* configure.in: Recognize h8300h.
David Edelsohn [Wed, 14 Jul 1993 16:37:27 +0000 (16:37 +0000)]
* configure.in: Recognize h8300h.

31 years agoRecognize h8300h.
David Edelsohn [Wed, 14 Jul 1993 16:35:04 +0000 (16:35 +0000)]
Recognize h8300h.
Make sparc64-*-aout* use bfd gas.

31 years ago* configure.in: Recognize h8300h-*-*.
David Edelsohn [Wed, 14 Jul 1993 16:32:34 +0000 (16:32 +0000)]
* configure.in: Recognize h8300h-*-*.

31 years agoTue Jul 13 14:03:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
Jim Kingdon [Wed, 14 Jul 1993 15:12:05 +0000 (15:12 +0000)]
Tue Jul 13 14:03:48 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)

* stabsread.c (define_symbol): Make the caddr_t hack apply to `function
returning foo' as well as `pointer to foo'.

* remote.c [REMOTE_BREAKPOINT]: Use for breakpoint insn if defined.
* config/m68k/tm-m68k.h: Define it.
* mem-break.c, breakpoint.c: Improve comments.

Tue Jul 13 13:35:31 1993  Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)

* config/m68k/tm-dpx2.h: Replace "tm-68k.h" with "m68k/tm-m68k.h".
* config/m68k/xm-dpx2.h: Define HAVE_TERMIOS not HAVE_TERMIO.

31 years ago* config.sub: Recognize h8300hhms as h8300h-hitachi-hms.
David Edelsohn [Wed, 14 Jul 1993 03:20:18 +0000 (03:20 +0000)]
* config.sub: Recognize h8300hhms as h8300h-hitachi-hms.
(h8300hhms is temporary until multi-libraries are implemented).
* configure.in: Handle h8300h too.

31 years ago* configure.in: Accept h8300h for target cpu.
David Edelsohn [Wed, 14 Jul 1993 03:08:33 +0000 (03:08 +0000)]
* configure.in: Accept h8300h for target cpu.
* ldmisc.c (vfinfo): Have demangle remove leading underscore if
present (demangle is smart enough to know whether to do it or not).

31 years agoAccept h8300h for target cpu.
David Edelsohn [Wed, 14 Jul 1993 03:07:04 +0000 (03:07 +0000)]
Accept h8300h for target cpu.

31 years agoRestore function naming scheme (sim_xxx vs simif_xxx).
David Edelsohn [Wed, 14 Jul 1993 02:21:59 +0000 (02:21 +0000)]
Restore function naming scheme (sim_xxx vs simif_xxx).
Make more generic (remove any reference to sparc64).
Document simif_xxx fns.

31 years agoUse host_makefile_frag.
Steve Chamberlain [Tue, 13 Jul 1993 19:15:38 +0000 (19:15 +0000)]
Use host_makefile_frag.

31 years agocvs core dumps again...
Steve Chamberlain [Tue, 13 Jul 1993 19:13:18 +0000 (19:13 +0000)]
cvs core dumps again...

31 years ago * config/tc-h8500.c (line_comment_chars): Add hash.
Steve Chamberlain [Tue, 13 Jul 1993 19:12:10 +0000 (19:12 +0000)]
* config/tc-h8500.c (line_comment_chars): Add hash.
(parse_exp, skip_colonthing, build_bytes): Add support for
R_H8500_HIGH16 relocation type.

31 years ago * coff-h8500.c (reloc_processing, rtype2howto): New relocation
Steve Chamberlain [Tue, 13 Jul 1993 19:08:25 +0000 (19:08 +0000)]
* coff-h8500.c (reloc_processing, rtype2howto): New relocation
type R_H8500_HIGH_16.
* coff-sh.c (r_imm32): Get the width of the reloc right.

31 years ago* gdbcore.h (read_memory_integer, read_memory_unsigned_integer):
David Edelsohn [Tue, 13 Jul 1993 18:58:41 +0000 (18:58 +0000)]
* gdbcore.h (read_memory_integer, read_memory_unsigned_integer):
Make prototype match definition.

31 years agodtrt wrt v9 for elf64-sparc.c (sigh)
Ken Raeburn [Tue, 13 Jul 1993 18:52:44 +0000 (18:52 +0000)]
dtrt wrt v9 for elf64-sparc.c (sigh)

31 years ago * elfread.c: Remove notice about file still being under
Fred Fish [Tue, 13 Jul 1993 18:49:51 +0000 (18:49 +0000)]
* elfread.c:  Remove notice about file still being under
construction.

31 years ago * configure.in: Add new target m68k-coffun to the dpx/2.
Jim Kingdon [Tue, 13 Jul 1993 18:42:33 +0000 (18:42 +0000)]
* configure.in: Add new target m68k-coffun to the dpx/2.
* config/m68k-coffun.mt: New file, renamed from config/dpx2.mt.

31 years agomake sanitize dtrt wrt v9
Ken Raeburn [Tue, 13 Jul 1993 18:39:22 +0000 (18:39 +0000)]
make sanitize dtrt wrt v9

31 years ago * Makefile.in (ultra3-xdep.o, umax-xdep.o): Add missing ')'.
Fred Fish [Tue, 13 Jul 1993 18:20:55 +0000 (18:20 +0000)]
* Makefile.in (ultra3-xdep.o, umax-xdep.o):  Add missing ')'.

31 years ago * mips-dis.c (print_insn_arg, _print_insn_mips): Made pointer to
Ian Lance Taylor [Tue, 13 Jul 1993 17:06:07 +0000 (17:06 +0000)]
* mips-dis.c (print_insn_arg, _print_insn_mips): Made pointer to
argument string const char * to correspond to opcode/mips.h.

31 years agoadd a -I to the makeinfo command line
David D. Zuhn [Tue, 13 Jul 1993 03:01:22 +0000 (03:01 +0000)]
add a -I to the makeinfo command line

31 years ago * Makefile.in (TAGS): make work again by naming directories
K. Richard Pixley [Tue, 13 Jul 1993 00:57:27 +0000 (00:57 +0000)]
* Makefile.in (TAGS): make work again by naming directories
  explicitly rather than depending on undefined macros.
  (INSTALL_XFORM): correct bad install target.

31 years ago * ldmain.c (set_scripts_dir): Check . and <ld bin dir>/../lib for
David MacKenzie [Tue, 13 Jul 1993 00:54:45 +0000 (00:54 +0000)]
* ldmain.c (set_scripts_dir): Check . and <ld bin dir>/../lib for
ldscripts, as well as <ld bin dir> and SCRIPTDIR.

31 years ago* a29k-tdep.c (read_register_stack): Make val static.
Jim Kingdon [Mon, 12 Jul 1993 22:51:09 +0000 (22:51 +0000)]
* a29k-tdep.c (read_register_stack): Make val static.

31 years agoh8300 stuff.
David Edelsohn [Mon, 12 Jul 1993 21:12:02 +0000 (21:12 +0000)]
h8300 stuff.

31 years ago(REGISTER_CONVERTIBLE): Change value to 0.
David Edelsohn [Mon, 12 Jul 1993 21:09:22 +0000 (21:09 +0000)]
(REGISTER_CONVERTIBLE): Change value to 0.
(REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Move def'n to
usual spot.

31 years agohandle our SCO name better
David D. Zuhn [Mon, 12 Jul 1993 21:05:23 +0000 (21:05 +0000)]
handle our SCO name better

31 years agofix definitions of md_create_long_jump, md_create_short_jump,
Mark Eichin [Mon, 12 Jul 1993 19:42:32 +0000 (19:42 +0000)]
fix definitions of md_create_long_jump, md_create_short_jump,
md_number_to_chars, and md_section_align to correctly use valueT and addressT

31 years ago * ldlang.c (lang_process): Use sizeof instead of magic constant.
David MacKenzie [Mon, 12 Jul 1993 19:34:04 +0000 (19:34 +0000)]
* ldlang.c (lang_process): Use sizeof instead of magic constant.

* ldmain.c (get_emulation, check_for_scripts_dir,
set_scripts_dir):  New functions.
(main): Call them.

31 years agoupdate use of valueT and addressT
Mark Eichin [Mon, 12 Jul 1993 18:58:50 +0000 (18:58 +0000)]
update use of valueT and addressT

31 years ago* stabs.texinfo: N_MAIN is sometimes used for C.
Jim Kingdon [Mon, 12 Jul 1993 18:41:14 +0000 (18:41 +0000)]
* stabs.texinfo: N_MAIN is sometimes used for C.

31 years ago * c-valprint.c (c_val_print): Fix thinko with unspecified length
Jim Kingdon [Mon, 12 Jul 1993 18:00:48 +0000 (18:00 +0000)]
* c-valprint.c (c_val_print): Fix thinko with unspecified length
arrays.

31 years ago * hppa-tdep.c (find_proc_framesize): If there is a frame pointer,
Jim Kingdon [Mon, 12 Jul 1993 16:34:23 +0000 (16:34 +0000)]
* hppa-tdep.c (find_proc_framesize): If there is a frame pointer,
use it.

31 years ago* gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
Jim Kingdon [Mon, 12 Jul 1993 16:30:21 +0000 (16:30 +0000)]
* gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.

31 years agoimprove comment about Sun acc
Jim Kingdon [Mon, 12 Jul 1993 15:58:42 +0000 (15:58 +0000)]
improve comment about Sun acc

31 years agoconfig/obj-elf.c (obj_elf_section): Allow `@' to introduce an attribute name.
Ken Raeburn [Mon, 12 Jul 1993 15:17:10 +0000 (15:17 +0000)]
config/obj-elf.c (obj_elf_section): Allow `@' to introduce an attribute name.
Handle `execinstr' attribute.

31 years agoconfigure.in, elf.sc changes
Ken Raeburn [Mon, 12 Jul 1993 15:07:42 +0000 (15:07 +0000)]
configure.in, elf.sc changes

31 years agoInclude .init, .fini, .rodata sections.
Ken Raeburn [Mon, 12 Jul 1993 15:05:38 +0000 (15:05 +0000)]
Include .init, .fini, .rodata sections.
Create symbol "end" instead of "__end".
Comment out some parts that may not be needed (yet) for elf.

31 years agoSolaris 2 support; sparc64 sanitization.
Ken Raeburn [Mon, 12 Jul 1993 15:01:15 +0000 (15:01 +0000)]
Solaris 2 support; sparc64 sanitization.

31 years agofix values
Ken Raeburn [Mon, 12 Jul 1993 15:00:55 +0000 (15:00 +0000)]
fix values

31 years agoSolaris 2 configuration; sparc64 sanitization.
Ken Raeburn [Mon, 12 Jul 1993 14:59:29 +0000 (14:59 +0000)]
Solaris 2 configuration; sparc64 sanitization.

31 years agoHandle sparc64-* before sparc*.
Ken Raeburn [Mon, 12 Jul 1993 14:56:45 +0000 (14:56 +0000)]
Handle sparc64-* before sparc*.
Accept sparc-elf and sparc-solaris configurations (though ../configure.in
should still not configure this directory by default, it's not completely
working).

31 years agoChanges to reloc.c, libelf.h, config/sparc-elf.mt.
Ken Raeburn [Mon, 12 Jul 1993 14:50:45 +0000 (14:50 +0000)]
Changes to reloc.c, libelf.h, config/sparc-elf.mt.

31 years agoregenerated
Ken Raeburn [Mon, 12 Jul 1993 14:48:13 +0000 (14:48 +0000)]
regenerated

31 years agoUse {start,end}-sanitize-v9 instead of `v9' on every line to be removed.
Ken Raeburn [Mon, 12 Jul 1993 14:47:30 +0000 (14:47 +0000)]
Use {start,end}-sanitize-v9 instead of `v9' on every line to be removed.

31 years ago(struct elf_obj_tdata): Add field `thunk'.
Ken Raeburn [Mon, 12 Jul 1993 14:46:20 +0000 (14:46 +0000)]
(struct elf_obj_tdata): Add field `thunk'.

31 years ago(enum bfd_reloc_code_real): Move SPARC_BASE13 and SPARC_WDISP19 to more
Ken Raeburn [Mon, 12 Jul 1993 14:44:30 +0000 (14:44 +0000)]
(enum bfd_reloc_code_real): Move SPARC_BASE13 and SPARC_WDISP19 to more
appropriate places.
(bfd_perform_relocation): Whitespace changes, more comments.

31 years ago(sparc_reloc_map): Remove duplicate WDISP19 entry.
Ken Raeburn [Mon, 12 Jul 1993 14:39:40 +0000 (14:39 +0000)]
(sparc_reloc_map): Remove duplicate WDISP19 entry.

31 years agoClean v9 stuff from reloc.c and bfd-in2.h also.
Ken Raeburn [Mon, 12 Jul 1993 14:37:44 +0000 (14:37 +0000)]
Clean v9 stuff from reloc.c and bfd-in2.h also.

31 years ago * config/tc-mips.c (mips_ip): Don't warn on 'i' or 'j' mismatch if
Ian Lance Taylor [Mon, 12 Jul 1993 14:24:20 +0000 (14:24 +0000)]
* config/tc-mips.c (mips_ip): Don't warn on 'i' or 'j' mismatch if
there is another alternative for the instruction.

31 years ago * symtab.c (decode_line_1): Use end of block to figure out whether
Jim Kingdon [Mon, 12 Jul 1993 03:42:35 +0000 (03:42 +0000)]
* symtab.c (decode_line_1): Use end of block to figure out whether
val.end is in the same function, not minimal symbols.

* source.c (line_info): Add a few more wrap_here's.

* i386-tdep.c (i386_follow_jump): Do byteswapping where needed and
don't make assumptions about sizes of host data types.

* blockframe.c, symtab.h (find_pc_partial_function): New arg endaddr.
* infrun.c, breakpoint.c, printcmd.c: Change callers.
* printcmd.c (containing_function_bounds): Remove.
* printcmd.c (disassemble_command): Use find_pc_partial_function,
not containing_function_bounds.
* infcmd.c (step_1): Use find_pc_partial_function rather than
trying to roll our own.  Move check for a pc between SIGTRAMP_START and
SIGTRAMP_END in find_pc_partial_function, not step_1.

31 years ago * sparc-tdep.c (sparc_frame_chain, frame_saved_pc):
Jim Kingdon [Mon, 12 Jul 1993 00:45:02 +0000 (00:45 +0000)]
* sparc-tdep.c (sparc_frame_chain, frame_saved_pc):
Keep unswapped value in array of char, not REGISTER_TYPE.
Use REGISTER_RAW_SIZE not sizeof (REGISTER_TYPE).
(sparc_extract_struct_value_address): Use TARGET_PTR_BIT not
sizeof (CORE_ADDR).

31 years agoAdd v9 sanitized entry for sparc-tdep.c.
David Edelsohn [Mon, 12 Jul 1993 00:13:50 +0000 (00:13 +0000)]
Add v9 sanitized entry for sparc-tdep.c.

31 years agoAdd v9 sanitization support.
David Edelsohn [Mon, 12 Jul 1993 00:08:42 +0000 (00:08 +0000)]
Add v9 sanitization support.

31 years ago* m68k.h: Define MC68KBCSMAGIC.
Jim Kingdon [Sun, 11 Jul 1993 23:41:01 +0000 (23:41 +0000)]
* m68k.h: Define MC68KBCSMAGIC.

31 years agoadd dpx/2 support
Jim Kingdon [Sun, 11 Jul 1993 23:40:10 +0000 (23:40 +0000)]
add dpx/2 support

31 years ago * configure.in (m68*-bull-sysv*): added support for Bull dpx2.
Jim Kingdon [Sun, 11 Jul 1993 23:29:31 +0000 (23:29 +0000)]
* configure.in (m68*-bull-sysv*): added support for Bull dpx2.
* config/m68k/{t,x,n}m-dpx2.h, dpx2-nat.c: New files.
* config/m68k/dpx2.m{h,t}: New files.

31 years agoadd file
Jim Kingdon [Sun, 11 Jul 1993 23:24:49 +0000 (23:24 +0000)]
add file

31 years ago * elfcode.h: Use memset not bzero.
Jim Kingdon [Sun, 11 Jul 1993 23:23:20 +0000 (23:23 +0000)]
* elfcode.h: Use memset not bzero.
* trad-core.c: Don't include <sys/file.h>.
* i386linux.h: Include <sys/file.h>.
* coff-m68k-un.c: new file to handle names with underscores on
svr3 machines.
* coff-m68k.c (m68k_rtype2howto): added #ifdef ONLY_DECLARE_RELOCS
to not duplicate the function in the executable.
(TARGET_SYM, TARGET_NAME, NAMES_HAVE_UNDERSCORE): new macros needed
by coff-m68k-un.c.
* coffcode.h (MC68KBCSMAGIC): case added.
* targets.c: Add m68kcoffun_vec.
* configure.host: added support for Bull dpx/2.
* config/dpx2.mh, hosts/dpx2.h: new files.
* Makefile.in: added target coff-m68k-un.

31 years agonew for dpx2
Jim Kingdon [Sun, 11 Jul 1993 22:58:00 +0000 (22:58 +0000)]
new for dpx2

31 years agonew for dpx2
Jim Kingdon [Sun, 11 Jul 1993 22:44:45 +0000 (22:44 +0000)]
new for dpx2

31 years agoconfig/sparc/tm-sparc.h (PRINT_REGISTER_HOOK): Fix typo, add
David Edelsohn [Sun, 11 Jul 1993 19:36:38 +0000 (19:36 +0000)]
config/sparc/tm-sparc.h (PRINT_REGISTER_HOOK): Fix typo, add
more parens around macro arg.