platform/upstream/binutils.git
30 years ago * config/sparc/tm-sun4sol2.h (IN_SIGTRAMP, SIGCONTEXT_PC_OFFSET):
Peter Schauer [Sat, 22 Jan 1994 09:41:47 +0000 (09:41 +0000)]
* config/sparc/tm-sun4sol2.h (IN_SIGTRAMP, SIGCONTEXT_PC_OFFSET):
Define for Solaris2.

30 years ago * sparc-tdep.c (frame_saved_pc): Get the pc from the saved pc
Peter Schauer [Sat, 22 Jan 1994 09:40:17 +0000 (09:40 +0000)]
* sparc-tdep.c (frame_saved_pc):  Get the pc from the saved pc
in the sigcontext if it is a signal trampoline frame.
* config/sparc/tm-sun4sol2.h (IN_SIGTRAMP, SIGCONTEXT_PC_OFFSET):
Define for Solaris2.

30 years ago * sparc-tdep.c, lynx-nat.c, config/sparc/tm-sparc.h,
Stu Grossman [Sat, 22 Jan 1994 08:42:14 +0000 (08:42 +0000)]
* sparc-tdep.c, lynx-nat.c, config/sparc/tm-sparc.h,
config/sparc/tm-sparclynx.h:  Move defs of FRAME_SAVED_I0/L0 to
tm-sparc.h so they can be overridden if necessary.

30 years ago * objdump.c (list_matching_formats): If the file format is ambiguous,
David MacKenzie [Sat, 22 Jan 1994 05:11:40 +0000 (05:11 +0000)]
* objdump.c (list_matching_formats): If the file format is ambiguous,
print the matching names so the user can choose one.
(display_bfd): Call it.
(display_file): Call it.

30 years ago * targets.c: Add a vector of matching format names.
David MacKenzie [Sat, 22 Jan 1994 04:28:17 +0000 (04:28 +0000)]
* targets.c: Add a vector of matching format names.
* format.c (bfd_matching_formats): New function to return it.
(bfd_check_format): Set it.
* bfd-in2.h: Regenerated.

30 years ago * bfd-in.h: Remove decls of bfd_ec type and error printing functions.
David MacKenzie [Sat, 22 Jan 1994 02:18:02 +0000 (02:18 +0000)]
* bfd-in.h: Remove decls of bfd_ec type and error printing functions.
Remove decl of type symclass; wasn't used.
* bfd.c: Document error handling, including code fragments
containing the error decls that were in bfd-in.h.
Remove DEFUNs.
* bfd-in2.h: Regenerated.

30 years ago * chardefs.h, tilde.c: Just declare strrchr rather than trying to
Jim Kingdon [Sat, 22 Jan 1994 02:06:58 +0000 (02:06 +0000)]
* chardefs.h, tilde.c: Just declare strrchr rather than trying to
include a system header.

30 years ago * lynx-nat.c: Add Sparc support.
Stu Grossman [Sat, 22 Jan 1994 01:58:55 +0000 (01:58 +0000)]
* lynx-nat.c:  Add Sparc support.
* sparcly-nat.c:  Remove.  It's useless.
* config/sparc/nm-sparclynx.h:  Rewrite.
* config/sparc/sparclynx.mh (NATDEPFILES):  Replace sparcly-nat.o
with lynx-nat.o
* config/sparc/tm-sparclynx.h:  Rewrite.

30 years ago * configure: Completely rewrite option processing. Take
Stu Grossman [Sat, 22 Jan 1994 01:41:21 +0000 (01:41 +0000)]
* configure:  Completely rewrite option processing.  Take
advantage of pattern-matching to avoid invoking test frequently.
Also clean up host and target defaulting logic.

30 years ago * objdump.c (disassemble_data): Support bfd_arch_rs6000.
Ian Lance Taylor [Sat, 22 Jan 1994 00:19:02 +0000 (00:19 +0000)]
* objdump.c (disassemble_data): Support bfd_arch_rs6000.

30 years ago * rs6000-pinsn.c: Use the new disassembler in the opcodes
Ian Lance Taylor [Sat, 22 Jan 1994 00:16:18 +0000 (00:16 +0000)]
* rs6000-pinsn.c: Use the new disassembler in the opcodes
directory.  Old code was discarded, since the new opcode table has
a different format.

30 years ago * ppc.h: New file. Header file for PowerPC opcode table.
Ian Lance Taylor [Sat, 22 Jan 1994 00:15:29 +0000 (00:15 +0000)]
* ppc.h: New file.  Header file for PowerPC opcode table.

30 years ago * dis-asm.h (print_insn_big_powerpc, print_insn_little_powerpc,
Ian Lance Taylor [Sat, 22 Jan 1994 00:15:04 +0000 (00:15 +0000)]
* dis-asm.h (print_insn_big_powerpc, print_insn_little_powerpc,
print_insn_rs6000): Declare.

30 years agoNew header file for PowerPC opcode table.
Ian Lance Taylor [Sat, 22 Jan 1994 00:13:02 +0000 (00:13 +0000)]
New header file for PowerPC opcode table.

30 years agoAdded ppc-opc.c and ppc-dis.c.
Ian Lance Taylor [Sat, 22 Jan 1994 00:11:37 +0000 (00:11 +0000)]
Added ppc-opc.c and ppc-dis.c.

30 years ago * ppc-opc.c: New file. Opcode table for PowerPC, including
Ian Lance Taylor [Sat, 22 Jan 1994 00:04:49 +0000 (00:04 +0000)]
* ppc-opc.c: New file.  Opcode table for PowerPC, including
opcodes for POWER (RS/6000).
* ppc-dis.c: New file.  PowerPC and Power (RS/6000) disassembler.
* Makefile.in (ALL_MACHINES): Add ppc-dis.o and ppc-opc.o.
(CFILES): Add ppc-dis.c.
(ppc-dis.o, ppc-opc.o): New targets.
* configure.in: Build ppc-dis.o and ppc-opc.o for bfd_rs6000_arch.

30 years agoPowerPC opcode table and disassembler.
Ian Lance Taylor [Sat, 22 Jan 1994 00:01:27 +0000 (00:01 +0000)]
PowerPC opcode table and disassembler.

30 years agoFix accidental deletion of attribution for kingdon change.
Jim Kingdon [Fri, 21 Jan 1994 23:59:26 +0000 (23:59 +0000)]
Fix accidental deletion of attribution for kingdon change.

30 years agoRestore Jim's last change entry header.
David MacKenzie [Fri, 21 Jan 1994 23:56:44 +0000 (23:56 +0000)]
Restore Jim's last change entry header.

30 years ago * bfd.c: Remove error strings for errors removed below.
David MacKenzie [Fri, 21 Jan 1994 23:48:55 +0000 (23:48 +0000)]
* bfd.c: Remove error strings for errors removed below.

30 years ago * Makefile.in (distclean, realclean): Expand local-distclean
Fred Fish [Fri, 21 Jan 1994 22:53:18 +0000 (22:53 +0000)]
* Makefile.in (distclean, realclean):  Expand local-distclean
inline after doing recursion.  You can't recurse after removing
Makefile.  Make them depend on local-clean.
* Makefile.in (local-distclean):  Remove now superfluous target.

30 years agoAdd ChangeLog entry for sef change.
Jim Kingdon [Fri, 21 Jan 1994 22:52:45 +0000 (22:52 +0000)]
Add ChangeLog entry for sef change.

30 years ago * Makefile.in (realclean): Remove info files per make-stds.texi.
Fred Fish [Fri, 21 Jan 1994 22:31:50 +0000 (22:31 +0000)]
* Makefile.in (realclean):  Remove info files per make-stds.texi.

30 years agoThe sparc (and possibly other?) NLM format requires a different way to
Sean Eric Fagan [Fri, 21 Jan 1994 19:52:10 +0000 (19:52 +0000)]
The sparc (and possibly other?) NLM format requires a different way to
write exports, so add a write_export field to the backend data (and set it
to NULL for everything but the sparc).

30 years ago * sunos.c (MY(read_dynamic_relocs)): Compare info->dynrel with NULL,
Jim Kingdon [Fri, 21 Jan 1994 19:14:33 +0000 (19:14 +0000)]
* sunos.c (MY(read_dynamic_relocs)): Compare info->dynrel with NULL,
not (struct external_nlist *) NULL.  info->dynrel is a PTR, not
a struct external_nlist *.

30 years ago * dbxread.c (end_psymtab): Only patch psymtab textlow and texthigh
Jim Kingdon [Fri, 21 Jan 1994 17:53:57 +0000 (17:53 +0000)]
* dbxread.c (end_psymtab): Only patch psymtab textlow and texthigh
if N_SO_ADDRESS_MAYBE_MISSING is defined.
* config/sparc/tm-sun4sol2.h: Define it.

30 years ago * aoutx.h (translate_to_native_sym_flags), bfd-in.h (bfd_ec),
David MacKenzie [Fri, 21 Jan 1994 17:50:37 +0000 (17:50 +0000)]
* aoutx.h (translate_to_native_sym_flags), bfd-in.h (bfd_ec),
oasys.c (oasys_write_sections): Rename
bfd_error_nonrepresentable_section to nonrepresentable_section.
None of the other bfd error names start with "bfd_error".
Remove errors symbol_not_found and no_relocation_info, which seem
to be unused.
* bfd-in2.h: Regenerated.

30 years agoThu Jan 20 15:04:24 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
Jim Kingdon [Fri, 21 Jan 1994 17:43:32 +0000 (17:43 +0000)]
Thu Jan 20 15:04:24 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)

* printcmd.c (print_address_symbolic):  Unconditionally use msymbol
if we did not find a symbol.

30 years ago * infptrace.c (child_xfer_memory): Only use if CHILD_XFER_MEMORY
Jeff Law [Fri, 21 Jan 1994 16:23:36 +0000 (16:23 +0000)]
* infptrace.c (child_xfer_memory): Only use if CHILD_XFER_MEMORY
is not defined.

* hppab-nat.c (call_ptrace): Delete redundant function.
(kill_inferior, attach, detach, child_resume): Likewise.
(child_xfer_memory): Likewise.

* hppah-nat.c (call_ptrace): Delete redundant function.
(kill_inferior, attach, detach, child_resume): Likewise.

* config/pa/hppabsd.mh (NATDEPFILES): Add infptrace.o.

* config/pa/hppahpux.mh (NATDEPFILES): Add infptrace.o.

* config/pa/nm-hppab.h (FETCH_INFERIOR_REGISTERS): Define.

* config/pa/nm-hppah.h (FETCH_INFERIOR_REGISTERS): define.
(CHILD_XFER_MEMORY): Define.
(PT_*): Define so that generic infptrace.c code can be used.

30 years ago * infptrace.c (child_xfer_memory): Only use if CHILD_XFER_MEMORY
Jeff Law [Fri, 21 Jan 1994 16:22:51 +0000 (16:22 +0000)]
* infptrace.c (child_xfer_memory): Only use if CHILD_XFER_MEMORY
is not defined.

* hppab-nat.c (call_ptrace): Delete redundant function.
(kill_inferior, attach, detach, child_resume): Likewise.
(child_xfer_memory): Likewise.

* hppah-nat.c (call_ptrace): Delete redundant function.
(kill_inferior, attach, detach, child_resume): Likewise.

* config/pa/hppabsd.mh (NATDEPFILES): Add infptrace.o.

* config/pa/hppahpux.mh (NATDEPFILES): Add infptrace.o.

* config/pa/nm-hppab.h (FETCH_INFERIOR_REGISTERS): Define.

* config/pa/nm-hppah.h (FETCH_INFERIOR_REGISTERS): Define.
(CHILD_XFER_MEMORY): Define.
(PT_*): Define so that generic infptrace.c code can be used.

30 years ago * xcoffread.c (xcoff_symfile_read): Make second parameter a
Jim Kingdon [Fri, 21 Jan 1994 14:44:29 +0000 (14:44 +0000)]
* xcoffread.c (xcoff_symfile_read): Make second parameter a
struct section_offsets *, not a (nonexistent) struct section_offset *.

30 years ago * xcoffread.c (read_xcoff_symtab): Make main_aux just a union
Jim Kingdon [Fri, 21 Jan 1994 14:38:58 +0000 (14:38 +0000)]
* xcoffread.c (read_xcoff_symtab): Make main_aux just a union
internal_xcoff_symtab, not an array of one of them.  Change lots of
"main_aux" to "&main_aux" and so on.

30 years ago * coffread.c, xcoffread.c: Include <coff/internal.h>
Jim Kingdon [Fri, 21 Jan 1994 14:26:20 +0000 (14:26 +0000)]
* coffread.c, xcoffread.c: Include <coff/internal.h>
before "symfile.h".

30 years ago * bfd.c (bfd_get_gp_size): Added support for ELF.
Ian Lance Taylor [Fri, 21 Jan 1994 06:30:40 +0000 (06:30 +0000)]
* bfd.c (bfd_get_gp_size): Added support for ELF.

30 years ago * syms.c (BSF_DYNAMIC): New symbol flag.
Ian Lance Taylor [Fri, 21 Jan 1994 06:29:21 +0000 (06:29 +0000)]
* syms.c (BSF_DYNAMIC): New symbol flag.
(bfd_print_symbol_vandf): Print it.
* bfd-in2.h: Rebuilt.
* libaout.h (struct aout_backend_data): New read_dynamic_symbols
and read_dynamic_relocs fields.
(struct aoutdata): New dynamic_info field.
(obj_aout_dynamic_info): New accessor macro.
* sunos.c (struct sunos_dynamic_info): New structure.
(sunos_read_dynamic_info, MY(read_dynamic_symbols),
MY(read_dynamic_relocs)): New functions to read dynamic symbols
and relocs.
* aoutx.h (NAME(aout,some_aout_object_p)): If the object is
dynamically linked, set SEC_RELOC for both the .text and .data
sections.
(translate_from_native_sym_flags): Don't set BSF_LOCAL for an
undefined symbol.
(translate_symbol_table): New function, split out of
slurp_symbol_table; set the BSF_DYNAMIC flag appropriately.
(NAME(aout,slurp_symbol_table)): Read dynamic symbols, if any.
(NAME(aout,slurp_reloc_table)): Read dynamic relocs, if any.
(NAME(aout,get_reloc_upper_bound)): Include dynamic reloc count in
return value.
* aoutf1.h (NAME(aout,sunos4_write_object_contents)): Don't write
out dynamic symbols or relocs against reloc symbols, since they
are already in the .text section and we wouldn't know where to
write them anyhow.
(sunos4_aout_backend): Initialize read_dynamic_symbols and
read_dynamic_relocs fields.
* aout-target.h (MY(backend_data)): Initialize
read_dynamic_symbols and read_dynamic_relocs fields.

30 years ago * ldlang.c (new_afile): Initialize loaded field to false.
Ian Lance Taylor [Fri, 21 Jan 1994 05:47:18 +0000 (05:47 +0000)]
* ldlang.c (new_afile): Initialize loaded field to false.
(lookup_name): If file was already loaded, don't call the
add_symbols entry point again.

30 years ago* hosts/alphaosf.h (uint64e_type, uint64_type, int64_type): Delete typedefs,
Ken Raeburn [Fri, 21 Jan 1994 02:00:05 +0000 (02:00 +0000)]
* hosts/alphaosf.h (uint64e_type, uint64_type, int64_type): Delete typedefs,
since HOST_64_BIT will take care of defining them in bfd.h.

30 years agoFix gas_version.
Rob Savoye [Fri, 21 Jan 1994 00:35:57 +0000 (00:35 +0000)]
Fix gas_version.

30 years ago* coffread.c (coff_getfilename): Make it not static.
Jim Kingdon [Fri, 21 Jan 1994 00:34:07 +0000 (00:34 +0000)]
* coffread.c (coff_getfilename): Make it not static.

30 years ago * gas/all/gas.exp, lib/gas-defs.exp, sun4/addend.exp,
Rob Savoye [Thu, 20 Jan 1994 23:47:09 +0000 (23:47 +0000)]
* gas/all/gas.exp, lib/gas-defs.exp, sun4/addend.exp,
sparc-solaris/addend.exp: Tweaked to fix a few bugs and to run
well under either version of expect

30 years agoTweak to run under either version of expect. Add a hack-around for a
Rob Savoye [Thu, 20 Jan 1994 23:44:10 +0000 (23:44 +0000)]
Tweak to run under either version of expect. Add a hack-around for a
dejagnu 1.1.1 (only) bug.

30 years agoTweak to work with either version of expect. Use the verbose function, fix
Rob Savoye [Thu, 20 Jan 1994 23:30:51 +0000 (23:30 +0000)]
Tweak to work with either version of expect. Use the verbose function, fix
gas_version.

30 years agoTweaked to run under either version of expect.
Rob Savoye [Thu, 20 Jan 1994 23:10:41 +0000 (23:10 +0000)]
Tweaked to run under either version of expect.

30 years ago * xcoffread.c (read_xcoff_symtab): complain() not abort().
Jim Kingdon [Thu, 20 Jan 1994 22:38:03 +0000 (22:38 +0000)]
* xcoffread.c (read_xcoff_symtab): complain() not abort().

* xcoffread.c (struct coff_symbol): Rename c_nsyms to c_naux (removes
a completely gratuitous difference between xcoffread.c and coffread.c).

30 years ago* expr.c (operand): For floating point operand with unusual fp char from
Ken Raeburn [Thu, 20 Jan 1994 18:26:17 +0000 (18:26 +0000)]
* expr.c (operand): For floating point operand with unusual fp char from
FLT_CHARS, preserve the character.  Patch from Lisa Repka.

30 years ago * config/tc-mips.c (md_pseudo_table): Add all data allocation
Ian Lance Taylor [Thu, 20 Jan 1994 04:18:14 +0000 (04:18 +0000)]
* config/tc-mips.c (md_pseudo_table): Add all data allocation
pseudo-ops: .hword, .int, .long, .octa, .quad, .short, .single.

30 years agoupdated with alpha changes
Ken Raeburn [Thu, 20 Jan 1994 00:07:58 +0000 (00:07 +0000)]
updated with alpha changes

30 years ago(alpha_howto_table): Construct 64-bit negative one values in case of
Ken Raeburn [Wed, 19 Jan 1994 23:52:47 +0000 (23:52 +0000)]
(alpha_howto_table): Construct 64-bit negative one values in case of
compilation on a 32-bit machine.  Fix pcrel fields of some reloc types.
(alpha_bfd_reloc_type_lookup): Handle more relocation types.

30 years ago(enum bfd_reloc_code_real): Add some Alpha relocation types. Reorganized some
Ken Raeburn [Wed, 19 Jan 1994 23:51:41 +0000 (23:51 +0000)]
(enum bfd_reloc_code_real): Add some Alpha relocation types.  Reorganized some
of the existing ones.

30 years ago(sprintf_vma, fprintf_vma): New macros.
Ken Raeburn [Wed, 19 Jan 1994 22:35:48 +0000 (22:35 +0000)]
(sprintf_vma, fprintf_vma): New macros.
(uint64_typeHIGH, uint64_typeLOW): Comment with HOST_64_BIT so they get copied
to bfd.h.

30 years ago(uint64_typeHIGH, uint64_typeLOW): Supply default definitions when not defined,
Ken Raeburn [Wed, 19 Jan 1994 22:32:32 +0000 (22:32 +0000)]
(uint64_typeHIGH, uint64_typeLOW): Supply default definitions when not defined,
regardless of whether uint64_type is a defined macro or not.

(fprintf_vma, sprintf_vma): Define only if fprintf_vma is not already defined.

30 years ago * ld.texinfo: Clarify what -T option does.
David MacKenzie [Wed, 19 Jan 1994 21:58:31 +0000 (21:58 +0000)]
* ld.texinfo: Clarify what -T option does.

30 years ago * infrun.c (wait_for_inferior): Don't set frame for
Jim Kingdon [Wed, 19 Jan 1994 21:14:40 +0000 (21:14 +0000)]
* infrun.c (wait_for_inferior): Don't set frame for
step_resume_breakpoint for IN_SIGTRAMP cases.

* infrun.c (wait_for_inferior), breakpoint.h (struct bpstat_what),
breakpoint.c (bpstat_what): Move step_resume from its own field of
the struct bpstat_what into the main_action.  Make it override
other breakpoints.  This is a conservative change in the sense
that before the step resume breakpoint was a breakpoint.c
breakpoint, hitting the step resume breakpoint overrode even
calling bpstat_stop_status.

30 years ago * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
Peter Schauer [Wed, 19 Jan 1994 20:46:28 +0000 (20:46 +0000)]
* gdb.t06/signals.exp:  Handle blocked SIGTRAP on sun3 for bash
versions prior to 1.13.5.

30 years ago * infrun.c (normal_stop): Set stop_pc after popping the dummy frame
Peter Schauer [Wed, 19 Jan 1994 20:45:30 +0000 (20:45 +0000)]
* infrun.c (normal_stop):  Set stop_pc after popping the dummy frame
in case execution was stopped in the called function.
* stack.c (print_frame_info, frame_info):  If backtracing through
a call dummy, handle the starting source line number on a line
boundary like backtracing through sigtramp.
* sparc-tdep.c (sparc_frame_find_saved_regs):  Get frame address
for call dummy frame right.  Remove old test for dummy frame,
it has been unused at least since gdb-3.5.
* sparc-tdep.c (sparc_push_dummy_frame):  Set return address register
of the dummy frame.

30 years ago * stabs.texinfo (Non-Stab Symbol Types): Mention N_SET* | N_EXT.
David MacKenzie [Wed, 19 Jan 1994 14:43:04 +0000 (14:43 +0000)]
* stabs.texinfo (Non-Stab Symbol Types): Mention N_SET* | N_EXT.

30 years ago * aoutx.h (translate_to_native_sym_flags): Set the type of a
Ian Lance Taylor [Wed, 19 Jan 1994 05:05:27 +0000 (05:05 +0000)]
* aoutx.h (translate_to_native_sym_flags): Set the type of a
BSF_WARNING symbol to N_WARNING.

30 years agoSmuggle N_WARNING symbols into BFD in obj_aout_frob_symbol.
Ian Lance Taylor [Wed, 19 Jan 1994 05:02:24 +0000 (05:02 +0000)]
Smuggle N_WARNING symbols into BFD in obj_aout_frob_symbol.

30 years agoResolve warning symbols like indirect symbols.
Ian Lance Taylor [Wed, 19 Jan 1994 04:48:37 +0000 (04:48 +0000)]
Resolve warning symbols like indirect symbols.

30 years ago * gdb.t00/default.exp (show prompt): In FAIL case, only match if
Jim Kingdon [Wed, 19 Jan 1994 01:14:11 +0000 (01:14 +0000)]
* gdb.t00/default.exp (show prompt): In FAIL case, only match if
the prompt is at the start of a line.

30 years agoGet implicit val . right.
Steve Chamberlain [Wed, 19 Jan 1994 00:26:59 +0000 (00:26 +0000)]
Get implicit val . right.

30 years ago * scripttempl/m88kbcs.sc: Don't use CREATE_OBJECT_SYMBOLS, that's
Steve Chamberlain [Wed, 19 Jan 1994 00:21:59 +0000 (00:21 +0000)]
* scripttempl/m88kbcs.sc: Don't use CREATE_OBJECT_SYMBOLS, that's
for a.out.

30 years ago * config/tc-hppa.c: Disable multiple $CODE$ subspace code. It
Jeff Law [Wed, 19 Jan 1994 00:21:16 +0000 (00:21 +0000)]
    * config/tc-hppa.c: Disable multiple $CODE$ subspace code.  It
        confuses GDB for some unknown reason.
        * cofnig/obj-som.c: Likewise.

30 years ago * config/obj-coffbfd.c (obj_coff_endef): For C_EFCN, C_BLOCK and
Steve Chamberlain [Wed, 19 Jan 1994 00:16:03 +0000 (00:16 +0000)]
* config/obj-coffbfd.c (obj_coff_endef): For C_EFCN, C_BLOCK and
C_FCN assume .val has been set to .

30 years ago* literal.c (add_to_literal_pool): Handle duplicates of values already written
Ken Raeburn [Wed, 19 Jan 1994 00:08:50 +0000 (00:08 +0000)]
* literal.c (add_to_literal_pool): Handle duplicates of values already written
to literal pool.

30 years ago * config/obj-aout.c (obj_aout_frob_symbol): Try to get symbols
Ian Lance Taylor [Tue, 18 Jan 1994 22:27:26 +0000 (22:27 +0000)]
* config/obj-aout.c (obj_aout_frob_symbol): Try to get symbols
with explicitly marked stabs through BFD: if a symbol marked
N_UNDF | N_EXT is in the absolute section, move it to the
undefined section; move a symbol marked N_INDR into
bfd_ind_section and set the BSF_INDIRECT flag.

30 years ago * aoutx.h (aout_link_add_symbols): Increment sym_hash as well as p
Ian Lance Taylor [Tue, 18 Jan 1994 21:46:46 +0000 (21:46 +0000)]
* aoutx.h (aout_link_add_symbols): Increment sym_hash as well as p
for an indirect or warning symbol.
(aout_link_write_symbols): Update sym_hash with the target of an
indirect symbol.  If an indirect symbol is defined, output the
calculated value and don't output the target symbol.

30 years ago* infcmd.c (signal_command): Accept 0 as legitimate signal number.
Jim Kingdon [Tue, 18 Jan 1994 21:20:28 +0000 (21:20 +0000)]
* infcmd.c (signal_command): Accept 0 as legitimate signal number.

30 years agoComment fix.
Ian Lance Taylor [Tue, 18 Jan 1994 20:51:15 +0000 (20:51 +0000)]
Comment fix.

30 years ago * infrun.c (signals_info), target.c (target_signal_from_name):
Jim Kingdon [Tue, 18 Jan 1994 19:13:38 +0000 (19:13 +0000)]
* infrun.c (signals_info), target.c (target_signal_from_name):
Use ugly casts to avoid enumvar < enumvar or enumvar++.

30 years ago * aoutx.h (translate_from_native_sym_flags): Give warning symbols
David MacKenzie [Tue, 18 Jan 1994 12:05:32 +0000 (12:05 +0000)]
* aoutx.h (translate_from_native_sym_flags): Give warning symbols
an (unused) nonzero section value, needed for check below.

30 years ago* Makefile.in: Replace all occurrances of "rootme" with "r" and "$${rootme}"
Ken Raeburn [Tue, 18 Jan 1994 05:24:14 +0000 (05:24 +0000)]
* Makefile.in: Replace all occurrances of "rootme" with "r" and "$${rootme}"
with "$$r", to increase the likelihood that the do-* commands (plus user
environment) will fit SCO limits.

30 years ago * ser-unix.c (hardwire_noflush_set_tty_state): Don't muck with ICANON.
Jim Kingdon [Tue, 18 Jan 1994 04:29:34 +0000 (04:29 +0000)]
* ser-unix.c (hardwire_noflush_set_tty_state): Don't muck with ICANON.
* inflow.c (terminal_ours_1): When discussing how to deal with the
tty state, make note of query() as well as readline.

30 years ago * hppa.h: More minor template fixes for sfu and copr (to allow
Jeff Law [Tue, 18 Jan 1994 04:16:35 +0000 (04:16 +0000)]
    * hppa.h: More minor template fixes for sfu and copr (to allow
        for easier disassembly).

30 years ago * infrun.c (_initialize_infrun): Add TARGET_SIGNAL_POLL to list of
Jim Kingdon [Tue, 18 Jan 1994 04:14:34 +0000 (04:14 +0000)]
* infrun.c (_initialize_infrun): Add TARGET_SIGNAL_POLL to list of
signals for which stop and print are cleared by default.

30 years ago * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
Jeff Law [Tue, 18 Jan 1994 04:08:30 +0000 (04:08 +0000)]
    * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
        Enable "diag" instruction.  Delete copr from fpu_misc_tests, it's
        in the copr tests now.
        * gdb.disasm/hppa.exp: Run new sfu and copr tests.  Do not expect
        copr in the fpu_misc tests anymore.  fpu_misc tests are no longer
        expected to fail.

30 years ago * hppa-dis.c (print_insn_hppa): Handle 'N' in assembler template.
Jeff Law [Tue, 18 Jan 1994 04:06:52 +0000 (04:06 +0000)]
    * hppa-dis.c (print_insn_hppa): Handle 'N' in assembler template.
        No space before 'u', 'f', or 'N'.

30 years ago * config/pa/tm-hppa.h (unwind_table_entry): Use one of the
Jeff Law [Tue, 18 Jan 1994 04:04:36 +0000 (04:04 +0000)]
    * config/pa/tm-hppa.h (unwind_table_entry): Use one of the
        reserved fields to hold a stub unwind entry type.  Fix typo.
        (stub_unwind_entry): New structure for raw stub unwind entries.
        (stub_unwind_types): The types of stubs we may encounter.
        (UNWIND_ENTRY_SIZE, STUB_UNWIND_ENTRY_SIZE): New defines.
        * hppa-tdep.c (rp_saved): Use additional information provided
        by linker stub unwind descriptors.
        (frameless_function_invocation): Likewise.
        (frame_chain_valid): Likewise.
        * paread.c (compare_unwind_entries): New function for sorting
        unwind table entries.
        (read_unwind_info): Rewrite to remove dependency on host endianness.
        Read in data from the $UNWIND_END$ subspace which contains linker
        stub unwind descriptors.  Merge that data into the basic unwind
        table.

30 years ago * hppab-nat.c (_initialize_kernel_u_addr): Delete unwanted functions.
Jeff Law [Tue, 18 Jan 1994 04:02:06 +0000 (04:02 +0000)]
    * hppab-nat.c (_initialize_kernel_u_addr): Delete unwanted functions.

30 years ago * xcoffread.c (read_xcoff_symtab, case C_FILE): Accept the name
Jim Kingdon [Tue, 18 Jan 1994 03:42:30 +0000 (03:42 +0000)]
* xcoffread.c (read_xcoff_symtab, case C_FILE): Accept the name
from either the symbol name or the auxent.
* coffread.c, symfile.h (coff_getfilename): Renamed from getfilename,
no longer static.

30 years agoWrite ChangeLog entries for Rob changes.
Jim Kingdon [Tue, 18 Jan 1994 03:29:53 +0000 (03:29 +0000)]
Write ChangeLog entries for Rob changes.

Revert Rob changes which consisted of un-doing (accidentally,
presumably) the changes which have happened since 4.12 branched off.

In lib/gdb.exp remove the comment which went with the "catch" which
Rob removed.

30 years agoApply patches from gdb 4.12 testing.
Rob Savoye [Mon, 17 Jan 1994 23:28:29 +0000 (23:28 +0000)]
Apply patches from gdb 4.12 testing.

30 years agoAdd patches from gdb 4.12 testing.
Rob Savoye [Mon, 17 Jan 1994 23:27:07 +0000 (23:27 +0000)]
Add patches from gdb 4.12 testing.

30 years ago * aoutx.h (translate_from_native_sym_flags,
David MacKenzie [Mon, 17 Jan 1994 23:21:07 +0000 (23:21 +0000)]
* aoutx.h (translate_from_native_sym_flags,
aout_link_add_symbols): Treat N_SET[ABDT] | N_EXT like
N_SET[ABDT].

30 years agoMon Jan 17 13:57:25 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Mon, 17 Jan 1994 22:03:42 +0000 (22:03 +0000)]
Mon Jan 17 13:57:25 1994  Stan Shebs  (shebs@andros.cygnus.com)

* objdump.c (stab_name): Allocate dynamically.
(stab_print): Use pointers to strings instead of char arrays.
(dump_stabs): Change alloc and init of arrays appropriately.
(dump_stabs_1): Always decide whether to print stab_name or
the stab's type number, if unnamed.

30 years ago* binutils.all/objdump.exp: Trim list of format names expected, and accept any
Ken Raeburn [Mon, 17 Jan 1994 21:58:53 +0000 (21:58 +0000)]
* binutils.all/objdump.exp: Trim list of format names expected, and accept any
known CPU type.

30 years ago * Makefile.in (ALLPARAM): Change irix5.h to nm-irix5.h.
Fred Fish [Mon, 17 Jan 1994 21:36:29 +0000 (21:36 +0000)]
* Makefile.in (ALLPARAM):  Change irix5.h to nm-irix5.h.

30 years ago * ecoff.h (ecoff_set_gp_prolog_size): Declare.
Ian Lance Taylor [Mon, 17 Jan 1994 20:44:33 +0000 (20:44 +0000)]
* ecoff.h (ecoff_set_gp_prolog_size): Declare.
* ecoff.c (ecoff_set_gp_prolog_size): Return type is void.

30 years agoComment and whitespace changes.
Ian Lance Taylor [Mon, 17 Jan 1994 20:39:26 +0000 (20:39 +0000)]
Comment and whitespace changes.

30 years ago* readline.c (doing_an_undo): Delete second declaration, since it confuses the
Ken Raeburn [Mon, 17 Jan 1994 17:45:27 +0000 (17:45 +0000)]
* readline.c (doing_an_undo): Delete second declaration, since it confuses the
alpha-osf1 native compiler.

30 years ago * README: Update notes for alpha port.
Peter Schauer [Mon, 17 Jan 1994 17:18:18 +0000 (17:18 +0000)]
* README:  Update notes for alpha port.

30 years ago * i960-tdep.c (i960_fault_to_signal): Return TARGET_SIGNAL_ILL
Jim Kingdon [Mon, 17 Jan 1994 16:18:17 +0000 (16:18 +0000)]
* i960-tdep.c (i960_fault_to_signal): Return TARGET_SIGNAL_ILL
for operation fault, constraint fault, and type fault.

30 years ago * config/tc-hppa.c (pa_ip): Explicitly check for comma before 'u'
Jeff Law [Mon, 17 Jan 1994 09:30:07 +0000 (09:30 +0000)]
    * config/tc-hppa.c (pa_ip): Explicitly check for comma before 'u'
        and 'f' template operand.

30 years ago * hppa.h: More minor template fixes for sfu and copr (to allow
Jeff Law [Mon, 17 Jan 1994 09:27:08 +0000 (09:27 +0000)]
    * hppa.h: More minor template fixes for sfu and copr (to allow
        for easier disassembly).

30 years ago * gas/hppa/basic/fp_misc.s: Delete copr instruction. It's tested
Jeff Law [Mon, 17 Jan 1994 08:25:42 +0000 (08:25 +0000)]
    * gas/hppa/basic/fp_misc.s: Delete copr instruction.  It's tested
        elsewhere now.
        * gas/hppa/basic/{copr, coprmem, spop}.s: New tests.
        * gas/hppa/basic/basic.exp: Run them.

30 years ago * config/tc-hppa.c (pa_ip): Handle 'N', 'O', 'o', '0', '1', 'u',
Jeff Law [Mon, 17 Jan 1994 08:19:56 +0000 (08:19 +0000)]
    * config/tc-hppa.c (pa_ip): Handle 'N', 'O', 'o', '0', '1', 'u',
        and '2' in copr and sfu instruction templates.

30 years agoIn the right ChangeLog now:
Jeff Law [Mon, 17 Jan 1994 08:15:03 +0000 (08:15 +0000)]
In the right ChangeLog now:
        * hppa.h: Fix templates for all the sfu and copr instructions.

30 years agoOpps. Put log into wrong ChangeLog.
Jeff Law [Mon, 17 Jan 1994 08:14:09 +0000 (08:14 +0000)]
Opps.  Put log into wrong ChangeLog.

30 years ago * opcode/hppa.h: Fix templates for all the sfu and copr
Jeff Law [Mon, 17 Jan 1994 08:13:30 +0000 (08:13 +0000)]
    * opcode/hppa.h: Fix templates for all the sfu and copr
        instructions.

30 years ago* Makefile.in (init.c): Add comment explaining formatting conventions.
Jim Kingdon [Mon, 17 Jan 1994 00:58:29 +0000 (00:58 +0000)]
* Makefile.in (init.c): Add comment explaining formatting conventions.