external/binutils.git
31 years ago * frame.h, symtab.h, findvar.c (read_var_value): Change basereg
Jim Kingdon [Tue, 24 Aug 1993 21:38:24 +0000 (21:38 +0000)]
* frame.h, symtab.h, findvar.c (read_var_value):  Change basereg
support to use LOC_BASEREG rather than SYMBOL_BASEREG_VALID.
* dwarfread.c: Use LOC_BASEREG where appropriate.
* Various: Support LOC_BASEREG and LOC_BASEREG_ARG.

31 years ago* dbxread.c (end_psymtab): Clean up comment.
Jim Kingdon [Tue, 24 Aug 1993 21:13:37 +0000 (21:13 +0000)]
* dbxread.c (end_psymtab): Clean up comment.

31 years ago * coffread.c (init_lineno, init_stringtab): Don't check whether
Jim Kingdon [Tue, 24 Aug 1993 18:59:50 +0000 (18:59 +0000)]
* coffread.c (init_lineno, init_stringtab): Don't check whether
xmalloc returned NULL.

31 years ago* gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
Jim Kingdon [Tue, 24 Aug 1993 16:46:53 +0000 (16:46 +0000)]
* gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.

31 years ago* gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
Jim Kingdon [Tue, 24 Aug 1993 16:26:06 +0000 (16:26 +0000)]
* gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.

31 years ago* config/vax/xm-vaxult.h: Define NO_PTRACE_H.
Jim Kingdon [Tue, 24 Aug 1993 15:23:23 +0000 (15:23 +0000)]
* config/vax/xm-vaxult.h: Define NO_PTRACE_H.

31 years agoundo last change
Jim Kingdon [Tue, 24 Aug 1993 15:07:05 +0000 (15:07 +0000)]
undo last change

31 years ago* configure.in: vax-*-ultrix3* is like vax-*-ultrix2*.
Jim Kingdon [Tue, 24 Aug 1993 14:35:54 +0000 (14:35 +0000)]
* configure.in: vax-*-ultrix3* is like vax-*-ultrix2*.

31 years ago * target.c, target.h: Add "set remotedebug" command.
Jim Kingdon [Tue, 24 Aug 1993 06:55:35 +0000 (06:55 +0000)]
* target.c, target.h: Add "set remotedebug" command.
* remote-bug.c, remote.c, remote-mips.c: Remove "set remotedebug" and
"set m88ksnoop" options and use generic "set remotedebug" instead.
* NEWS: Describe this change.

31 years ago * target.c, target.h: Add "set remotedebug" command.
Jim Kingdon [Tue, 24 Aug 1993 06:47:03 +0000 (06:47 +0000)]
* target.c, target.h: Add "set remotedebug" command.

* remote-bug.c, remote.c, remote-mips.c: Remove "set remotedebug" and
"set m88ksnoop" options and use generic "set remotedebug" instead.

31 years ago * buildsym.h: Remove declaration of dbxread.c functions.
Jim Kingdon [Tue, 24 Aug 1993 01:43:59 +0000 (01:43 +0000)]
* buildsym.h: Remove declaration of dbxread.c functions.
* stabsread.h: Group together dbxread.c functions.
Move elfstab_build_psymtabs here from symfile.h.
Declare pastab_build_psymtabs.
* elfread.c, paread.c: Include stabsread.h (for stabsread_new_init
declaration, etc).

31 years ago * snapshots.readme: Update policy for daily full snapshots and
Fred Fish [Tue, 24 Aug 1993 01:35:33 +0000 (01:35 +0000)]
* snapshots.readme:  Update policy for daily full snapshots and
daily diffs.  General reformatting of paragraphs.

31 years ago* remote-bug.c: rename quiet to bug88k_snoop.
K. Richard Pixley [Tue, 24 Aug 1993 00:25:16 +0000 (00:25 +0000)]
* remote-bug.c: rename quiet to bug88k_snoop.
(double_scan, multi_scan): generalize double_scan into a scan
for multiple patterns.  Rename to multi_scan.
(bug_wait, bug_write_inferior_memory): adapt to use the new
multi_scan in order to catch and represent target bus errors.
(bug_scan): currently unused, so comment out.
(bug_quiet): removed.  Replaced with a standard user settable boolean.

31 years agoremove include of sys/dir.h. Appears unnecessary and isn't available
K. Richard Pixley [Tue, 24 Aug 1993 00:18:04 +0000 (00:18 +0000)]
remove include of sys/dir.h.  Appears unnecessary and isn't available
on solaris.

31 years ago * config/m88k/{delta88v4.mt,delta88v4.mh}: New files
Jim Kingdon [Mon, 23 Aug 1993 21:14:31 +0000 (21:14 +0000)]
* config/m88k/{delta88v4.mt,delta88v4.mh}: New files
* config/m88k/delta88.mh: Fix comment.
* config/m88k/tm-delta88.h: Remove unused BCS define.
* config/m88k/{tm-delta88v4.h,xm-delta88v4.h,nm-delta88v4.h}:
New files.
* configure.in: Recognize m88*-motorola-sysv4*.
* m88k-nat.c: Always include sys/types.h; don't depend on USG.

31 years agoadd ChangeLog entry for sef change to aoutx.h
Jim Kingdon [Mon, 23 Aug 1993 20:29:54 +0000 (20:29 +0000)]
add ChangeLog entry for sef change to aoutx.h

31 years ago * mipsread.c (parse_symbol, parse_type, cross_ref): Pass name of symbol
Peter Schauer [Mon, 23 Aug 1993 20:01:20 +0000 (20:01 +0000)]
* mipsread.c (parse_symbol, parse_type, cross_ref):  Pass name of symbol
as an argument and use it in complaints.
* symmisc.c (dump_psymtab):  Dump filenames of dependencies.

31 years agoremove netbsd386.mt; the file was checked in by sef but isn't used
Jim Kingdon [Mon, 23 Aug 1993 19:51:08 +0000 (19:51 +0000)]
remove netbsd386.mt; the file was checked in by sef but isn't used

31 years agonuke chill stuff from Makefile
David D. Zuhn [Mon, 23 Aug 1993 19:46:22 +0000 (19:46 +0000)]
nuke chill stuff from Makefile

31 years agoWrite ChangeLog entry for sef changes.
Jim Kingdon [Mon, 23 Aug 1993 19:46:03 +0000 (19:46 +0000)]
Write ChangeLog entry for sef changes.

Remove dbxread.c change; I handle this in BFD by making the name start
with "a.out".

31 years agoconfig.sub also has v9 code
David D. Zuhn [Mon, 23 Aug 1993 19:41:49 +0000 (19:41 +0000)]
config.sub also has v9 code

31 years agoremove Sanitize markers
David D. Zuhn [Mon, 23 Aug 1993 19:39:56 +0000 (19:39 +0000)]
remove Sanitize markers

31 years agoWrite (half-assed) ChangeLog entry for sef changes.
Jim Kingdon [Mon, 23 Aug 1993 19:35:33 +0000 (19:35 +0000)]
Write (half-assed) ChangeLog entry for sef changes.

Change name of target from netbsd-386 to a.out-netbsd-386 so that GDB
can recognize it as an a.out variant.

31 years agoRemove unused file netbsd386.mt
Jim Kingdon [Mon, 23 Aug 1993 19:28:09 +0000 (19:28 +0000)]
Remove unused file netbsd386.mt

31 years agonew for svr4 on delta 88k
Jim Kingdon [Mon, 23 Aug 1993 18:29:21 +0000 (18:29 +0000)]
new for svr4 on delta 88k

31 years ago * config/tc-mips.c (set_at): Added unsignedp argument. Use
Ian Lance Taylor [Mon, 23 Aug 1993 17:04:49 +0000 (17:04 +0000)]
* config/tc-mips.c (set_at): Added unsignedp argument.  Use
load_register.
(set_at_unsigned): Removed; changed callers to use set_at.
(load_register): Removed unused ip argument.  Changed callers.
(append_insn): Don't swap branch and branch likely.
(macro_build): Handle 'u'.
(load_register): Handle 64 bit constants.
(macro): Added M_DABS, removed M_ABSU.  Numerous changes to
support 64 bit constants.
(mips_ip): Use hex constants in range checks for clarity.
(md_number_to_chars): Support 8 byte values.

31 years ago * mips-opc.c ("absu"): Removed.
Ian Lance Taylor [Mon, 23 Aug 1993 17:02:50 +0000 (17:02 +0000)]
* mips-opc.c ("absu"): Removed.
("dabs"): Added.

31 years ago * mips.h (M_ABSU): Removed (absolute value of unsigned number??).
Ian Lance Taylor [Mon, 23 Aug 1993 17:02:38 +0000 (17:02 +0000)]
* mips.h (M_ABSU): Removed (absolute value of unsigned number??).
(M_DABS): Added.

31 years agoAdded support for netbsd386 (almost-but-not-quite 386bsd).
Sean Eric Fagan [Mon, 23 Aug 1993 07:46:47 +0000 (07:46 +0000)]
Added support for netbsd386 (almost-but-not-quite 386bsd).

31 years agoAdd support for netbsd386 (almost-but-not-quite 386bsd).
Sean Eric Fagan [Mon, 23 Aug 1993 07:45:32 +0000 (07:45 +0000)]
Add support for netbsd386 (almost-but-not-quite 386bsd).

31 years agoDon't let netbsd386.c get sanitized out.
Sean Eric Fagan [Mon, 23 Aug 1993 07:43:25 +0000 (07:43 +0000)]
Don't let netbsd386.c get sanitized out.

31 years ago * stabs.texinfo (XCOFF-differences): Remove references to
Jim Kingdon [Sun, 22 Aug 1993 19:53:21 +0000 (19:53 +0000)]
* stabs.texinfo (XCOFF-differences): Remove references to
non-existent types N_DECL and N_RPSYM.

* stabs.texinfo (String Field): Say that type attributes bug is
fixed in GDB 4.10, since it is.

* stabs.texinfo: Clean up djm cleanups, and more cleanups of my own.

31 years agomore formatting cleanups
David MacKenzie [Sat, 21 Aug 1993 05:09:09 +0000 (05:09 +0000)]
more formatting cleanups

31 years agoformatting cleanups
David MacKenzie [Sat, 21 Aug 1993 04:32:28 +0000 (04:32 +0000)]
formatting cleanups

31 years ago* remote-nindy.c: Remove unused include of sys/ioctl.h.
Jim Kingdon [Sat, 21 Aug 1993 03:26:21 +0000 (03:26 +0000)]
* remote-nindy.c: Remove unused include of sys/ioctl.h.

31 years ago* config.guess: Deal with OSF/1 1.3 on alpha.
Jim Kingdon [Sat, 21 Aug 1993 02:56:06 +0000 (02:56 +0000)]
* config.guess: Deal with OSF/1 1.3 on alpha.

31 years agoRearrange comments regarding Things-to-los
Jim Kingdon [Sat, 21 Aug 1993 02:55:03 +0000 (02:55 +0000)]
Rearrange comments regarding Things-to-los

31 years ago* frame.h, symtab.h: Revise comments regarding baseregs.
Jim Kingdon [Sat, 21 Aug 1993 02:54:33 +0000 (02:54 +0000)]
* frame.h, symtab.h: Revise comments regarding baseregs.

31 years ago * stabs.texinfo: When explaining the n_type of a stab, standardize
Jim Kingdon [Sat, 21 Aug 1993 02:14:30 +0000 (02:14 +0000)]
* stabs.texinfo: When explaining the n_type of a stab, standardize
how we do it ('#' as a comment indicator, "36 is N_FUN" as text,
no tabs, use @r).
(Global Variables): Clean up.

31 years agoa4rc.sed is distributable.
Roland Pesch [Sat, 21 Aug 1993 01:34:13 +0000 (01:34 +0000)]
a4rc.sed is distributable.

31 years agoAdd comments about files in Things-to-lose
Jim Kingdon [Sat, 21 Aug 1993 01:10:17 +0000 (01:10 +0000)]
Add comments about files in Things-to-lose

31 years ago * config/m88k-elf.mt: New file.
Jim Kingdon [Sat, 21 Aug 1993 00:52:58 +0000 (00:52 +0000)]
* config/m88k-elf.mt: New file.
* config.bfd: Use it for m88*-*-sysv4*.

31 years agocomments for tc-m88k.h change
K. Richard Pixley [Fri, 20 Aug 1993 23:52:35 +0000 (23:52 +0000)]
comments for tc-m88k.h change

31 years agoupdated copyrights, declare TC_CONS_RELOC
K. Richard Pixley [Fri, 20 Aug 1993 23:52:10 +0000 (23:52 +0000)]
updated copyrights, declare TC_CONS_RELOC

31 years ago* elfcode.h (elf_build_phdrs): Unused function deleted.
Ken Raeburn [Fri, 20 Aug 1993 22:21:49 +0000 (22:21 +0000)]
* elfcode.h (elf_build_phdrs): Unused function deleted.
(bfd_shdr_from_section): Ditto.
(write_relocs): Don't change section contents for addend.
(elf_locate_sh): Return type is now always elf_internal_shdr, since the other
types were really aliases for this type anyways.  Don't compile this function,
since it is static and doesn't appear to be used in this file.
(sym_is_global): Return non-zero for weak symbols.  Abort if sec ptr is null.
(swap_out_syms): Reorder tests so function symbols can be weak.
(elf_slurp_symbol_table): Don't use BSF_EXPORT.
(elf_slurp_reloca_table): Make RELOC_PROCESSING section smaller by
extracting out some common code.  Abort if BFD section symbol has null name.
(elf_slurp_reloc_table): Translate ELF section symbols into BFD section
symbols.  Don't read section contents to fill in addend field.

* Merged from OSF:

Tue Jun 15 14:38:32 1993  Michael Meissner  (meissner@osf.org)

* libelf.h (struct Elf_Sym_Extra): New structure to contain ELF
specific information for a symbol.  Put in elf_sym_num, which
gives the external symbol number in the elf object file, since
local symbols must come before global symbols.
(elf_sym_extra): New macro.
(elf_symtab_map): Delete, in favor of using Elf_Sym_Extra.
* elfcode.h (elf_map_symbols): Use Elf_Sym_Extra to map internal
symbol number to external number.  Store the address of the
Elf_Sym_Extra field for the symbol in the udata field.
(elf_write_object_contents): Use Elf_Sym_Extra to map out symbols.

Sun Jun 20 16:30:11 1993  Michael Meissner  (meissner@osf.org)

* elfcode.h (elf_obj_tdata): Add field to count the size of the
array of pointers to section symbols.
(elf_map_symbols): Bump the max index of the section symbols so
that we don't overwrite memory.  Store the max index into the
elf_obj_tdata field.

Sat Jun 19 10:12:27 1993  Michael Meissner  (meissner@osf.org)

* elfcode.h (elf_obj_tdata): Add pointer to an array of pointers
to the section symbols we created.  Remove unused field internal_syms.
(elf_map_symbols): Fill in array of pointers to section symbols.  Only create
section symbols for sections that have SEC_ALLOC set, and have non-zero size.
(elf_symbol_from_bfd_symbol): If udata is NULL, and this is a section symbol,
look up the section in the list of section symbols, and set the udata pointer
appropriately.  Otherwise, if udata is still NULL, fail an assertion, and use
0, instead of dropping core.

31 years ago * mipsread.c (parse_partial_symbols, psymtab_to_symtab_1):
Peter Schauer [Fri, 20 Aug 1993 22:10:15 +0000 (22:10 +0000)]
* mipsread.c (parse_partial_symbols, psymtab_to_symtab_1):
Set language for psymtab and symtab.
* mipsread.c (new_symbol):  Set language and initialize demangled
name for symbol.
* symmisc.c (print_symbol):  Use SYMBOL_SOURCE_NAME when printing
the symbol type.
* symtab.c (decode_line_1):  Inhibit coredumps with cfront executables.

31 years ago * Move KERNEL_U_ADDR from xm-hp300bsd.h to nm-hp300bsd.h and make
Jim Kingdon [Fri, 20 Aug 1993 21:59:05 +0000 (21:59 +0000)]
* Move KERNEL_U_ADDR from xm-hp300bsd.h to nm-hp300bsd.h and make
it conditionalized on 4.3 vs. 4.4.
* config/m68k/nm-hp300bsd.h: Move REGISTER_U_ADDR out of 4.3 and
4.4 sections; it was identical and now works for 4.4.

31 years ago* elf32-i386.c (elf_howto_table): All partial_inplace fields should be "true".
Ken Raeburn [Fri, 20 Aug 1993 21:18:56 +0000 (21:18 +0000)]
* elf32-i386.c (elf_howto_table): All partial_inplace fields should be "true".

31 years agoremove univel from unixware build config name
David D. Zuhn [Fri, 20 Aug 1993 21:14:17 +0000 (21:14 +0000)]
remove univel from unixware build config name

31 years ago* mips-tdep.c (is_delayed): Use INSN*BRANCH* not ANY_DELAY.
Jim Kingdon [Fri, 20 Aug 1993 19:26:21 +0000 (19:26 +0000)]
* mips-tdep.c (is_delayed): Use INSN*BRANCH* not ANY_DELAY.

31 years ago * config.bfd (mips-*-elfl*, mips-*-elf*): New targets, using
Ian Lance Taylor [Fri, 20 Aug 1993 19:19:51 +0000 (19:19 +0000)]
* config.bfd (mips-*-elfl*, mips-*-elf*): New targets, using
mipslelf and mipsbelf respectively.
* config/mipslelf.mt, config/mipsbelf.mt: New files.
* elf32-mips.c: Added some reloc information.
* configure.in: Fixed error message.

31 years agominor doc tweaks
Ken Raeburn [Fri, 20 Aug 1993 19:10:58 +0000 (19:10 +0000)]
minor doc tweaks

31 years ago* printcmd.c (MAKEVA_END): Update this version to use "aligner".
Jim Kingdon [Fri, 20 Aug 1993 19:09:12 +0000 (19:09 +0000)]
* printcmd.c (MAKEVA_END): Update this version to use "aligner".

31 years ago * ecoff.c (ECOFF_LONG_SIZE): Removed. Just use constants.
Ian Lance Taylor [Fri, 20 Aug 1993 16:21:45 +0000 (16:21 +0000)]
* ecoff.c (ECOFF_LONG_SIZE): Removed.  Just use constants.

31 years ago * config/tc-mips.c (mips_isa): New static variable.
Ian Lance Taylor [Fri, 20 Aug 1993 15:45:50 +0000 (15:45 +0000)]
* config/tc-mips.c (mips_isa): New static variable.
(md_begin): Initialize mips_isa based on TARGET_CPU.  Don't sanity
check macros.  Set text alignment and GP size here.
(md_assemble): Don't set text alignment and GP size here.
(append_insn): Don't insert NOPs for load delays if mips_isa >= 2.
Use the right mask and shift for WRITE_FPR_T and WRITE_FPR_S.  Add
a NOP after a branch likely.
(mips_emit_delays): Don't insert NOPS for load delays if mips_isa
>= 2.
(macro): Support r6000 and r4000 macros.
(mips_ip): Check insn ISA level against mips_isa before using it.
Added 'x' case for ignored register.
(md_parse_option): Handle -mipsN and -mcpu=XX.

31 years ago * mips-opc.c: Added r6000 and r4000 instructions and macros.
Ian Lance Taylor [Fri, 20 Aug 1993 15:40:51 +0000 (15:40 +0000)]
* mips-opc.c: Added r6000 and r4000 instructions and macros.
Changed hazard information to distinguish between memory load
delays and coprocessor load delays.

31 years ago * mips.h (INSN_*): Changed values. Removed unused definitions.
Ian Lance Taylor [Fri, 20 Aug 1993 15:40:00 +0000 (15:40 +0000)]
* mips.h (INSN_*): Changed values.  Removed unused definitions.
Added INSN_COND_BRANCH_LIKELY, INSN_ISA2 and INSN_ISA3.  Split
INSN_LOAD_DELAY into INSN_LOAD_MEMORY_DELAY and
INSN_LOAD_COPROC_DELAY.  Split INSN_COPROC_DELAY into
INSN_COPROC_MOVE_DELAY and INSN_COPROC_MEMORY_DELAY.
(M_*): Added new values for r6000 and r4000 macros.
(ANY_DELAY): Removed.

31 years agotc-i386, tc-sparc, obj-elf, tc.h changes
Ken Raeburn [Fri, 20 Aug 1993 05:29:56 +0000 (05:29 +0000)]
tc-i386, tc-sparc, obj-elf, tc.h changes

31 years ago* tc-sparc.c (s_local): Function moved and renamed...
Ken Raeburn [Fri, 20 Aug 1993 05:29:24 +0000 (05:29 +0000)]
* tc-sparc.c (s_local): Function moved and renamed...
* obj-elf.c (obj_elf_local): ...to here.
* tc-sparc.c (md_pseudo_table), obj-elf.c (obj_pseudo_table): Move handling of ".local".

31 years ago * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
Peter Schauer [Fri, 20 Aug 1993 05:13:13 +0000 (05:13 +0000)]
* gdb.t15/funcargs.exp:  Allow arguments for main in backtraces
as vax gdb will display them.

31 years ago * config/vax/tm-vax.h (BELIEVE_PCC_PROMOTION): Define.
Peter Schauer [Fri, 20 Aug 1993 05:12:14 +0000 (05:12 +0000)]
* config/vax/tm-vax.h (BELIEVE_PCC_PROMOTION):  Define.
* mipsread.c (parse_symbol, parse_type, cross_ref):  Handle corrupt
file indirect entries with complaints instead of core dumps. Remove
complaint for stTypedef within aggregates.

31 years ago * config/vax/tm-vax.h (BELIEVE_PCC_PROMOTION): Define.
Peter Schauer [Fri, 20 Aug 1993 05:10:48 +0000 (05:10 +0000)]
* config/vax/tm-vax.h (BELIEVE_PCC_PROMOTION):  Define.

31 years ago * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
Jim Kingdon [Fri, 20 Aug 1993 01:10:51 +0000 (01:10 +0000)]
* gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
optimizers.

31 years ago * scope.exp: Change "bad value for localval" messages so each one
Jim Kingdon [Fri, 20 Aug 1993 00:42:19 +0000 (00:42 +0000)]
* scope.exp: Change "bad value for localval" messages so each one
is unique.

31 years agofix install.sh on DECstation; handle lack of c++ on h8[35]00 for libio
David D. Zuhn [Fri, 20 Aug 1993 00:37:33 +0000 (00:37 +0000)]
fix install.sh on DECstation; handle lack of c++ on h8[35]00 for libio

31 years ago * config/unix-gdb.exp (gdb_exit): Move info on this vs.
Jim Kingdon [Thu, 19 Aug 1993 23:57:21 +0000 (23:57 +0000)]
* config/unix-gdb.exp (gdb_exit): Move info on this vs.
lib/gdb.exp (gdb_exit) from ChangeLog to comments.

31 years ago * coffread.c (process_coff_symbol): Ignore tagnames like .0fake.
Jim Kingdon [Thu, 19 Aug 1993 23:33:59 +0000 (23:33 +0000)]
* coffread.c (process_coff_symbol): Ignore tagnames like .0fake.

* coffread.c (coff_read_enum_type): #if 0 out code which changes
enum {FALSE, TRUE} into boolean.

31 years ago* gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
Jim Kingdon [Thu, 19 Aug 1993 23:22:12 +0000 (23:22 +0000)]
* gdb.t06/signals.exp: Skip the whole file with xfail for delta68.

31 years ago * config/m68k/delta68.m{t,h}: Use nm-delta68.h, etc. not
Jim Kingdon [Thu, 19 Aug 1993 23:18:03 +0000 (23:18 +0000)]
* config/m68k/delta68.m{t,h}: Use nm-delta68.h, etc. not
non-existent files nm-delta.h, etc.
* config/m68k/tm-delta68.h: Define CANNOT_STORE_REGISTER.
* delta68-nat.c: Add "[0]" in offsetof argument.
* delta68-nat.c (_initialize_kernel_u_addr): Don't try to set up
nl with initializer, just assign to it.  Check n_scnum field on
return.

31 years ago * Makefile.in (BFD_LIBS, ALL_MACHINES, BFD32_BACKENDS, BFD64_BACKENDS,
David MacKenzie [Thu, 19 Aug 1993 21:07:50 +0000 (21:07 +0000)]
* Makefile.in (BFD_LIBS, ALL_MACHINES, BFD32_BACKENDS, BFD64_BACKENDS,
OPTIONAL_BACKENDS): Alphabetize entries and add a few missing ones.
* archures.c: Alphabetize decls.

31 years agoadd more missing vectors
David MacKenzie [Thu, 19 Aug 1993 19:45:23 +0000 (19:45 +0000)]
add more missing vectors

31 years agotargets.c (target_vector): Remove hp300bsd_vec due to clash with sunos_big_vec.
David MacKenzie [Thu, 19 Aug 1993 19:11:30 +0000 (19:11 +0000)]
targets.c (target_vector): Remove hp300bsd_vec due to clash with sunos_big_vec.

31 years agoThu Aug 19 09:45:51 1993 David J. Mackenzie (djm@thepub.cygnus.com)
David MacKenzie [Thu, 19 Aug 1993 18:21:58 +0000 (18:21 +0000)]
Thu Aug 19 09:45:51 1993  David J. Mackenzie  (djm@thepub.cygnus.com)

* configure.in, targets.c: Add missing vectors to the tables.
* targets.c (target_vector) [!SELECT_VECS]: Add DEFAULT_VECTOR.

31 years ago* tc-i386.h (NO_RELOC) [BFD_ASSEMBLER]: Define as BFD_RELOC_NONE.
Ken Raeburn [Thu, 19 Aug 1993 17:45:03 +0000 (17:45 +0000)]
* tc-i386.h (NO_RELOC) [BFD_ASSEMBLER]: Define as BFD_RELOC_NONE.
(md_parse_option): New macro, converted from function.

* tc-i386.c (md_parse_option): Function deleted.
(comment_chars) [OBJ_ELF]: Include "/".
(line_comment_chars) [OBJ_ELF || TE_I386AIX]: Don't include "/".
(md_assemble): Cast 0xe9 to char explicitly, to avoid compiler warning.
(md_assemble, md_estimate_size_before_relax, md_create_long_jump): Call reloc
for fix_new type, or use correct enumerator, instead of always using NO_RELOC.
(i386_operand): Change "ifndef I386COFF" to "ifdef OBJ_AOUT" for
tests for valid section.
(md_convert_frag) [BFD_ASSEMBLER]: Compensate for frag start address.
(md_apply_fix_1) [BFD_ASSEMBLER]: For pc-relative reloc with
symbol, compensate for location of reloc.
(reloc, BFD_RELOC_32, BFD_RELOC_32_PCREL) [!BFD_ASSEMBLER]: Define to return
zero.

31 years agoreflect new changes in matrix
David D. Zuhn [Thu, 19 Aug 1993 02:46:32 +0000 (02:46 +0000)]
reflect new changes in matrix

31 years agokeep i386-linux.h
David D. Zuhn [Wed, 18 Aug 1993 22:54:11 +0000 (22:54 +0000)]
keep i386-linux.h

31 years agoremove rcs cruft
David D. Zuhn [Wed, 18 Aug 1993 22:50:08 +0000 (22:50 +0000)]
remove rcs cruft

31 years ago* defs.h: Try to clarify comment about ADDR_BITS_REMOVE.
Jim Kingdon [Wed, 18 Aug 1993 22:23:45 +0000 (22:23 +0000)]
* defs.h: Try to clarify comment about ADDR_BITS_REMOVE.

31 years agoadd libio
David D. Zuhn [Wed, 18 Aug 1993 21:26:16 +0000 (21:26 +0000)]
add libio

31 years agoobj-elf, write, symbols, read changes
Ken Raeburn [Wed, 18 Aug 1993 21:21:23 +0000 (21:21 +0000)]
obj-elf, write, symbols, read changes

31 years agoUndef NO_RELOC before including aout/aout64.h.
Ken Raeburn [Wed, 18 Aug 1993 21:09:23 +0000 (21:09 +0000)]
Undef NO_RELOC before including aout/aout64.h.
(obj_elf_weak): New function.
(obj_pseudo_table): Handle ".weak".
(obj_elf_section): If section directive includes a string, ignore
it for now.  Accept "progbits" flag.
(obj_elf_type): Accept `@' before flag name.

31 years ago(potable): Treat "string" like "asciz".
Ken Raeburn [Wed, 18 Aug 1993 20:53:03 +0000 (20:53 +0000)]
(potable): Treat "string" like "asciz".

31 years agoupdated to-do list
Ken Raeburn [Wed, 18 Aug 1993 20:45:18 +0000 (20:45 +0000)]
updated to-do list

31 years ago * printcmd.c (print_address), values.c (value_as_pointer): Don't
Jim Kingdon [Wed, 18 Aug 1993 20:31:12 +0000 (20:31 +0000)]
* printcmd.c (print_address), values.c (value_as_pointer): Don't
use ADDR_BITS_REMOVE.

31 years ago * config/tc-mips.c (append_insn): Don't swap branch instructions
Ian Lance Taylor [Wed, 18 Aug 1993 19:45:17 +0000 (19:45 +0000)]
* config/tc-mips.c (append_insn): Don't swap branch instructions
if .set nobopt or .set volatile.
(gp_reference): .lit8 and .lit4 are accessed via the GP register.
(macro): Added cases M_LI_S, M_LI_SS.  Fixed M_LI_D and M_LI_DD.
(mips_ip): Added cases 'F', 'L', 'f', 'l' for floating point.
* config/obj-ecoff.c: Renamed some variables to avoid shadow
warnings.

31 years ago * mips-opc.c: li.d uses "T,L", not "S,F". Added li.s.
Ian Lance Taylor [Wed, 18 Aug 1993 19:40:37 +0000 (19:40 +0000)]
* mips-opc.c: li.d uses "T,L", not "S,F".  Added li.s.

31 years ago * mips.h: Added M_LI_S and M_LI_SS.
Ian Lance Taylor [Wed, 18 Aug 1993 19:39:33 +0000 (19:39 +0000)]
* mips.h: Added M_LI_S and M_LI_SS.

31 years ago * blockframe.c (block_innermost_frame): Uncomment.
Jim Kingdon [Wed, 18 Aug 1993 19:33:39 +0000 (19:33 +0000)]
* blockframe.c (block_innermost_frame): Uncomment.
Return NULL if passed NULL.
* frame.h: Declare it.
* expression.h (union exp_element): Add field block.
* parse.c (write_exp_elt_block): New function.
* expression.h (OP_VAR_VALUE): Now takes additional struct block *.
* *-exp.y: Write block for OP_VAR_VALUE.
* eval.c, expprint.c, parse.c: Deal with block for OP_VAR_VALUE.
* valops.c, value.h (value_of_variable), callers:
Add second argument, for block.

31 years ago * main.c (gdb_readline): If we read some characters followed by EOF,
Jim Kingdon [Wed, 18 Aug 1993 17:10:55 +0000 (17:10 +0000)]
* main.c (gdb_readline): If we read some characters followed by EOF,
return them rather than returning NULL.

31 years ago * hosts/i386{mach3,osf1mk}.h: New files, for Mach hosting.
Jim Kingdon [Wed, 18 Aug 1993 05:10:45 +0000 (05:10 +0000)]
* hosts/i386{mach3,osf1mk}.h: New files, for Mach hosting.
* hosts/i386mach.h: removed, replaced by i386osf1mk.h.
* config/i386mach3.mt, i386mach3.c: New files, for Mach a.out format.
* Makefile.in, configure.host, config.bfd: Corresponding changes.
* hosts/decstation.h: Include <sys/param.h> not <machine/param.h>.

31 years ago * hppab-nat.c hppah-nat.c infptrace.c (child_resume): Pass in pid as
Jim Kingdon [Wed, 18 Aug 1993 02:33:00 +0000 (02:33 +0000)]
* hppab-nat.c hppah-nat.c infptrace.c (child_resume):  Pass in pid as
argument, instead of using inferior_pid.

31 years ago * Makefile.in: Add support for new libio.
Per Bothner [Wed, 18 Aug 1993 02:04:05 +0000 (02:04 +0000)]
* Makefile.in:  Add support for new libio.

31 years agoNew directory
Per Bothner [Wed, 18 Aug 1993 01:24:15 +0000 (01:24 +0000)]
New directory

31 years ago * hosts/i386{mach3,osf1mk}.h: New files, for Mach hosting.
Jim Kingdon [Wed, 18 Aug 1993 00:54:48 +0000 (00:54 +0000)]
* hosts/i386{mach3,osf1mk}.h: New files, for Mach hosting.
* hosts/i386mach.h: removed, replaced by i386osf1mk.h.
* config/i386mach3.mt, i386mach3.c: New files, for Mach a.out format.
* Makefile.in, configure.host, config.bfd: Corresponding changes.
* hosts/decstation.h: Include <sys/param.h> not <machine/param.h>.

31 years agoreplaced by i386mach3.h
Jim Kingdon [Tue, 17 Aug 1993 23:11:08 +0000 (23:11 +0000)]
replaced by i386mach3.h

31 years agonew for mach
Jim Kingdon [Tue, 17 Aug 1993 22:50:20 +0000 (22:50 +0000)]
new for mach

31 years ago* mips-tdep.c: Remove unused #ifndef NUMERIC_REG_NAMES and add comment.
Jim Kingdon [Tue, 17 Aug 1993 22:37:25 +0000 (22:37 +0000)]
* mips-tdep.c: Remove unused #ifndef NUMERIC_REG_NAMES and add comment.

31 years ago * coffgen.c (coff_section_symbol): If section's output_section is
Ian Lance Taylor [Tue, 17 Aug 1993 22:30:24 +0000 (22:30 +0000)]
* coffgen.c (coff_section_symbol): If section's output_section is
not yet set, point to itself.  This is needed because this is
called on the output file, not the input file.

31 years ago * config/m88k/tm-m88k.h: Fix typo in comment.
K. Richard Pixley [Tue, 17 Aug 1993 22:21:50 +0000 (22:21 +0000)]
* config/m88k/tm-m88k.h: Fix typo in comment.
  (FP_REGNUM): define in terms of SP_REGNUM
  rather than by absolute number.  Also clearly comment that this
  is a convenient lie in order to decrease future confusion.
  (ACTUAL_FP_REGNUM): new macro for FP.
  (FRAME_CHAIN_VALID): removed.  Standard default works fine.
* m88k-tdep.c (frame_chain_valid): redundant, so removed.
  (NEXT_PROLOGUE_INSN): removed unused fourth arg, fixed all
  callers.
  (read_next_frame_reg): declare static.
  (examine_prologue): removed unused variabel insn2, rename insn1
  to insn, rewrote comment about finding fp, sp, etc. set frame_fp
  based on ACTUAL_FP_REGNUM rather than FP_REGNUM which is
  actually a scammed alias for SP_REGNUM on m88k.

31 years agofixed typo in comment
K. Richard Pixley [Tue, 17 Aug 1993 22:11:32 +0000 (22:11 +0000)]
fixed typo in comment