platform/upstream/binutils.git
29 years ago * hp-symtab.h: New file describing the debug symbols emitted
Jeff Law [Fri, 25 Nov 1994 07:32:51 +0000 (07:32 +0000)]
* hp-symtab.h: New file describing the debug symbols emitted
by the HP C compilers.
* hpux-symtab.h: Deleted.

NOTE: hpux-symtab.h was the HP copyrighted description and data structures
for the debug symbols emitted by the various HP compilers (C, C++, Fortran,
Cobol, Pascal, Modula-2, Cobol, etc).

hp-symtab.h is my rewritten version which only describes the debug symbols
used by the HP C compiler.  hp-symtab.h is intended to be copyrighted
by the FSF as part of GDB.

29 years agoremove sh3 stuff.
Steve Chamberlain [Fri, 25 Nov 1994 06:15:19 +0000 (06:15 +0000)]
remove sh3 stuff.

29 years ago*** empty log message ***
Michael Tiemann [Fri, 25 Nov 1994 02:28:15 +0000 (02:28 +0000)]
*** empty log message ***

29 years agoClean up bitrot (such as interfaces that have changed since these
Michael Tiemann [Fri, 25 Nov 1994 02:14:11 +0000 (02:14 +0000)]
Clean up bitrot (such as interfaces that have changed since these
patches were last used).

29 years ago*** empty log message ***
Michael Tiemann [Fri, 25 Nov 1994 00:25:34 +0000 (00:25 +0000)]
*** empty log message ***

29 years agoRename r16 files to rce, and fix some more .Sanitize typos.
Michael Tiemann [Fri, 25 Nov 1994 00:01:26 +0000 (00:01 +0000)]
Rename r16 files to rce, and fix some more .Sanitize typos.

29 years agoRecognize and sanitize r16 as a target.
Michael Tiemann [Thu, 24 Nov 1994 22:02:18 +0000 (22:02 +0000)]
Recognize and sanitize r16 as a target.

29 years ago*** empty log message ***
Michael Tiemann [Thu, 24 Nov 1994 21:48:21 +0000 (21:48 +0000)]
*** empty log message ***

29 years agoFix .Sanitize scrips so that r16 is truly scrubbed out.
Michael Tiemann [Thu, 24 Nov 1994 21:36:00 +0000 (21:36 +0000)]
Fix .Sanitize scrips so that r16 is truly scrubbed out.
Also, report errors if any traces of sanitize remain after sanitizing.

29 years agoSafely check in r16 targets for binutils.
Michael Tiemann [Thu, 24 Nov 1994 20:30:11 +0000 (20:30 +0000)]
Safely check in r16 targets for binutils.

29 years ago * blockframe.c (find_pc_partial_function): Inhibit mst_trampoline
Jeff Law [Thu, 24 Nov 1994 08:02:01 +0000 (08:02 +0000)]
* blockframe.c (find_pc_partial_function): Inhibit mst_trampoline
symbol special handling when INHIBIT_SUNSOLIB_TRANSFER_TABLE_HACK
is defined.
* infrun.c (IN_SOLIB_CALL_TRAMPOLINE): Renamed from
IN_SOLIB_TRAMPOLINE.  All callers changed.
(IN_SOLIB_RETURN_TRAMPOLINE): Provide default definition.
(wait_for_inferior): Handle single stepping through trampolines on
return paths from shared libraries.
* config/pa/tm-hppa.h (IN_SOLIB_CALL_TRAMPOLINE): Use
in_solib_call_trampoline.
(IN_SOLIB_RETURN_TRAMPOLINE): Use in_solib_return_trampoline.
(INHIBIT_SUNSOLIB_TRANSFER_TABLE_HACK): Define.
* hppa-tdep.c (in_solib_call_trampoline): New function.
(in_solib_return_trampoline): New function.

29 years ago * tm-h8300.h (REMOTE_BREAKPOINT): Define.
Steve Chamberlain [Thu, 24 Nov 1994 07:07:21 +0000 (07:07 +0000)]
* tm-h8300.h (REMOTE_BREAKPOINT): Define.
* h8300-tdep.c (h8300_pop_frame): Remove redundant call.

29 years ago * dis-asm.h (print_insn_shl): New prototype.
Steve Chamberlain [Thu, 24 Nov 1994 06:41:52 +0000 (06:41 +0000)]
* dis-asm.h (print_insn_shl): New prototype.

29 years ago * disasseble.c (disassebler): Cope with little endian SH.
Steve Chamberlain [Thu, 24 Nov 1994 06:37:05 +0000 (06:37 +0000)]
* disasseble.c (disassebler): Cope with little endian SH.

29 years ago * sh-opc.h (mov.l gbr): Get direction right.
Steve Chamberlain [Thu, 24 Nov 1994 06:36:28 +0000 (06:36 +0000)]
* sh-opc.h (mov.l gbr): Get direction right.
* sh-dis.c (print_insn_shx): New function.
(print_insn_shl, print_insn_sh): Call print_insn_shx to
print opcodes with right byte order.

29 years ago * Makefile.in: Add eshl.o.
Steve Chamberlain [Thu, 24 Nov 1994 06:06:23 +0000 (06:06 +0000)]
* Makefile.in: Add eshl.o.
* config/coff-sh.mt: Add shl emulation.

29 years ago * remote-e7000.c (HARD_BREAKPOINTS): Reenable.
Steve Chamberlain [Thu, 24 Nov 1994 05:59:34 +0000 (05:59 +0000)]
* remote-e7000.c (HARD_BREAKPOINTS): Reenable.
(BC_BREAKPOINTS): Disable.
* sh-tdep.c (print_insn): Cope with big and little endian machines.
* sh/sh.mt: Use libsim.a
* sh/tm-sh.h (TARGET_BYTE_ORDER_SELECTABLE): New
(BREAKPOINT): Changed to be byteorder independent.

29 years ago * interp.c ([wr][bwl]at): New functions.
Steve Chamberlain [Thu, 24 Nov 1994 05:33:47 +0000 (05:33 +0000)]
* interp.c ([wr][bwl]at): New functions.
(trap): Cope with both byte modes.

29 years ago * config/obj-coff.h (TARGET_FORMAT): Select between coff-shl and coff-sh.
Steve Chamberlain [Thu, 24 Nov 1994 03:42:15 +0000 (03:42 +0000)]
* config/obj-coff.h (TARGET_FORMAT): Select between coff-shl and coff-sh.
* config/sh.mh (TARG_CPU_DEPENDENTS): Get it right.
* config/tc-sh.c  (little): New function.
(md_parse_option): Notice new option.
(build_relax, build_Mytes, md_atof, md_convert_frag, md_apply_fix):
        Cope with little endian data.
* config/tc-sh.h (COFF_MAGIC, LISTING_HEADER): Endian dependent.

29 years ago * coff-sh.c (shlcoff_vec): New target vector.
Steve Chamberlain [Thu, 24 Nov 1994 03:33:48 +0000 (03:33 +0000)]
* coff-sh.c (shlcoff_vec): New target vector.
(no_archive): New function.
* coffcode.h (coff_set_arch_mach_hook, coff_set_flags): Handle
little endian SH.
* configure.in: Handle shl.
* targets.c (bfd_target_vector): Add shlcoff_vec.
* config/sh-coff.mt (SELECT_VECS): Handle shl_coff_vec.

29 years ago * Makefile.in (all-ispell): Depend on all-emacs19 instead of all-emacs.
Brendan Kehoe [Wed, 23 Nov 1994 18:30:23 +0000 (18:30 +0000)]
* Makefile.in (all-ispell): Depend on all-emacs19 instead of all-emacs.

29 years ago * config/tc-hppa.c (tc_gen_reloc, ELF variant): Revert last
Jeff Law [Wed, 23 Nov 1994 17:57:00 +0000 (17:57 +0000)]
* config/tc-hppa.c (tc_gen_reloc, ELF variant): Revert last
change.  The real bug was in bfd/elfcode.h and has been fixed.

29 years ago * gas/hppa/reloc/reloc.exp: Minor tweaks to match current PA ELF
Jeff Law [Wed, 23 Nov 1994 06:39:20 +0000 (06:39 +0000)]
* gas/hppa/reloc/reloc.exp: Minor tweaks to match current PA ELF
output.

29 years ago * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Do not add
Jeff Law [Wed, 23 Nov 1994 06:36:43 +0000 (06:36 +0000)]
* elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Do not add
input_section->vma to the relocation's offset.

29 years ago * config/tc-hppa.c (tc_gen_reloc, ELF variant): Add section->vma
Jeff Law [Wed, 23 Nov 1994 06:34:13 +0000 (06:34 +0000)]
* config/tc-hppa.c (tc_gen_reloc, ELF variant): Add section->vma
to the relocation's offset.

29 years ago Maintenance commands to report time and space usage.
Stan Shebs [Wed, 23 Nov 1994 03:27:40 +0000 (03:27 +0000)]
Maintenance commands to report time and space usage.
* main.c (display_time, display_space): New globals.
(main): Add argument --statistics to enable reporting, display
time and space after startup is done.
* maint.c (maintenance_time_display, maintenance_space_display):
New commands.
* top.c (command_loop): Display time and space after command
execution.

* top.c (pre_init_ui_hook): New global.
(gdb_init): If pre_init_ui_hook set, call before all other init.

29 years ago * Makefile.in (INSTALL_XFORM): Fix typo.
Steve Chamberlain [Tue, 22 Nov 1994 23:18:24 +0000 (23:18 +0000)]
* Makefile.in (INSTALL_XFORM): Fix typo.

29 years ago * a29k-tdep.c (examine_tag): Fix a bug in stack frame size.
Kung Hsu [Tue, 22 Nov 1994 18:31:18 +0000 (18:31 +0000)]
    * a29k-tdep.c (examine_tag): Fix a bug in stack frame size.

29 years ago* config/tc-alpha.c (s_alpha_set): Ignore the .set (no)move and
J.T. Conklin [Tue, 22 Nov 1994 18:29:07 +0000 (18:29 +0000)]
* config/tc-alpha.c (s_alpha_set): Ignore the .set (no)move and
  .set (no)volatile directives.

29 years ago * scripttempl/elf.sc: Fill .text section with NOPS. From Eric
Ian Lance Taylor [Tue, 22 Nov 1994 17:19:36 +0000 (17:19 +0000)]
* scripttempl/elf.sc: Fill .text section with NOPS.  From Eric
Youngdale <eric@aib.com>.

29 years ago* configure.in (*-*-netware*): Don't configure xiberty.
J.T. Conklin [Mon, 21 Nov 1994 19:16:38 +0000 (19:16 +0000)]
* configure.in (*-*-netware*): Don't configure xiberty.

29 years ago * srec.c (srec_get_reloc_upper_bound): Define.
Ian Lance Taylor [Mon, 21 Nov 1994 17:42:04 +0000 (17:42 +0000)]
* srec.c (srec_get_reloc_upper_bound): Define.
(srec_canonicalize_reloc): Define.
(srec_bfd_reloc_type_lookup): Define.
(srec_vec, symbolsrec_vec): Use BFD_JUMP_TABLE_RELOCS (srec).
PR 5975.

29 years agoUpdate note for hpux9 dynamic executable support.
Jeff Law [Sun, 20 Nov 1994 08:11:36 +0000 (08:11 +0000)]
Update note for hpux9 dynamic executable support.

29 years ago * symfile.c (deduce_language_from_filename): Treat .c++ as a
Peter Schauer [Sat, 19 Nov 1994 11:22:30 +0000 (11:22 +0000)]
* symfile.c (deduce_language_from_filename):  Treat .c++ as a
C++ extension.

* valops.c (destructor_name_p):  Do not compare the template
part for template classes.

29 years ago * configure.host (i[345]86-*-solaris*): Use solaris2 to
Peter Schauer [Sat, 19 Nov 1994 11:14:01 +0000 (11:14 +0000)]
* configure.host (i[345]86-*-solaris*):  Use solaris2 to
enable extraction of procfs info from core file for GDB.

29 years ago * defs.h, infcmd.c (reg_names): Don't declare as constant.
Stan Shebs [Fri, 18 Nov 1994 23:03:29 +0000 (23:03 +0000)]
* defs.h, infcmd.c (reg_names): Don't declare as constant.
* remote-mips.c (mips_open): Read and set the processor type.
* mips-tdep.c (mips_set_processor_type): Always return an int.

29 years ago* nlm/alpha.c (strtol): Removed, it is provided by NetWare C library.
J.T. Conklin [Fri, 18 Nov 1994 21:57:22 +0000 (21:57 +0000)]
* nlm/alpha.c (strtol): Removed, it is provided by NetWare C library.
* nlm/gdbserve.def (strtol): Added to import list.
* nlm/fake_aio.c: Removed file, no longer used.

29 years ago* Makefile.in (LD_FOR_TARGET, NLMCONV_FOR_TARGET): Removed.
J.T. Conklin [Fri, 18 Nov 1994 18:49:56 +0000 (18:49 +0000)]
* Makefile.in (LD_FOR_TARGET, NLMCONV_FOR_TARGET): Removed.

* nlm/Makefile.in (gdbserve.O): Link with ${CC_FOR_TARGET}.
  (LD_FOR_TARGET): Removed.

29 years agoThu Nov 17 15:37:19 1994 Mark W. Eichin <eichin@cygnus.com>
Ian Lance Taylor [Fri, 18 Nov 1994 16:00:41 +0000 (16:00 +0000)]
Thu Nov 17 15:37:19 1994  Mark W. Eichin  <eichin@cygnus.com>

* objcopy.c (add_strip_symbol): New function, adds a name to an
explicit list of symbols to strip.
(is_strip_symbol): New function, reports whether the name argument
is in the explicit list.
(filter_symbols): Check against is_strip_symbol above all.
(strip_main): Recognize -N option. If used, don't default to
strip_all.
(copy_main): Recognize -N option.
(strip_usage): Document -N and --strip-symbol options.
(copy_usage): Ditto.
* objcopy.1, strip.1, binutils.texi: Document -N and
--strip-symbol options.

29 years ago * monitor.[ch], w89k-rom.c, op50n-rom.c, idp-rom.c: Add support
Rob Savoye [Fri, 18 Nov 1994 06:38:23 +0000 (06:38 +0000)]
* monitor.[ch], w89k-rom.c, op50n-rom.c, idp-rom.c: Add support
for two variables used to control the load protocol and conversion
type.

29 years ago Support for different MIPS IDT processor models.
Stan Shebs [Fri, 18 Nov 1994 02:18:09 +0000 (02:18 +0000)]
Support for different MIPS IDT processor models.
* mips-tdep.c (mips_processor_type, tmp_mips_processor_type,
mips_generic_reg_names, mips_r3041_reg_names,
mips_r3051_reg_names, mips_r3081_reg_names,
mips_processor_type_table): New globals.
(mips_do_registers_info): Don't display register if name is empty.
(mips_set_processor_type_command): New command.
(mips_show_processor_type_command): New command.
(mips_set_processor_type): New function.
(mips_read_processor_type): New function.
* config/mips/tm-idt.h (DEFAULT_MIPS_TYPE): New macro.
* config/mips/tm-mips.h (DEFAULT_MIPS_TYPE): New macro.
(NUM_REGS): Increase to account for all CP0 registers.
(REGISTER_NAMES): Add empty names for CP0 registers.
(FIRST_EMBED_REGNUM, LAST_EMBED_REGNUM): Adjust.
(PRID_REGNUM): New macro.

29 years ago * ar.c (main): Don't call do_quick_append if any of the archive
Ian Lance Taylor [Thu, 17 Nov 1994 23:03:30 +0000 (23:03 +0000)]
* ar.c (main): Don't call do_quick_append if any of the archive
names are longer than 14 characters.
PR 5966.

29 years ago* reloc.c (bfd_reloc_code_type): Add new value BFD_RELOC_12_PCREL.
Ken Raeburn [Thu, 17 Nov 1994 22:46:22 +0000 (22:46 +0000)]
* reloc.c (bfd_reloc_code_type): Add new value BFD_RELOC_12_PCREL.
* bfd-in2.h, libbfd.h: Rebuilt.

29 years ago * bfd/elf32-hppa.c (elf32_hppa_bfd_final_link_relocated): Use the
Jeff Law [Thu, 17 Nov 1994 20:14:19 +0000 (20:14 +0000)]
    * bfd/elf32-hppa.c (elf32_hppa_bfd_final_link_relocated): Use the
        vma from the output_section containing $global$ when computing
        global_vlaue.

29 years ago * objcopy.c (main): Fix is_strip test. From
Ian Lance Taylor [Thu, 17 Nov 1994 20:12:51 +0000 (20:12 +0000)]
* objcopy.c (main): Fix is_strip test.  From
pirker@eiunix.tuwien.ac.at (Martin Pirker).

29 years ago Patches from pirker@eiunix.tuwien.ac.at (Martin Pirker).
Ian Lance Taylor [Thu, 17 Nov 1994 20:11:15 +0000 (20:11 +0000)]
Patches from pirker@eiunix.tuwien.ac.at (Martin Pirker).
* config/i386linux.mh: New file; set HOSTING_CRT0.
* genscripts.sh: Don't put ${libdir} in LIB_PATH if it is
/usr/lib, since that is already in LIB_PATH.

29 years ago * archive.c (_bfd_write_archive_contents): Round up the archive
Ian Lance Taylor [Thu, 17 Nov 1994 19:32:06 +0000 (19:32 +0000)]
* archive.c (_bfd_write_archive_contents): Round up the archive
header size of the extended name table to an even number.

29 years ago * README: Add warning about termcap in Ultrix and OSF/1.
Stan Shebs [Thu, 17 Nov 1994 00:50:40 +0000 (00:50 +0000)]
* README: Add warning about termcap in Ultrix and OSF/1.

29 years ago * Makefile.in: Fix the test for installing gdbtk.
Rob Savoye [Thu, 17 Nov 1994 00:22:24 +0000 (00:22 +0000)]
* Makefile.in: Fix the test for installing gdbtk.

29 years ago * scripttempl/hppaelf.sc (.text): Handle a use rdefined text start
Jeff Law [Wed, 16 Nov 1994 23:40:44 +0000 (23:40 +0000)]
* scripttempl/hppaelf.sc (.text): Handle a use rdefined text start
address.
(.data, .bss): If "-N", then place the data/bss just after the end
of the .text section rather than at the default 0x40000000.

29 years ago * hppa-tdep.c: Remove including sys/dir.h from a target file.
Rob Savoye [Wed, 16 Nov 1994 23:31:41 +0000 (23:31 +0000)]
    * hppa-tdep.c: Remove including sys/dir.h from a target file.

29 years ago* coff-sh.c: Deleted some code that was commented out or inside "#if 0".
Ken Raeburn [Wed, 16 Nov 1994 22:28:22 +0000 (22:28 +0000)]
* coff-sh.c: Deleted some code that was commented out or inside "#if 0".
(COFF_LONG_FILENAMES): Define.

* cpu-sh.c (arch_info_struct): Convert name to lowercase, for consistency with
other architectures.

29 years agofix swapped files; stop marking p2425a.s as xfail
Ken Raeburn [Wed, 16 Nov 1994 21:41:15 +0000 (21:41 +0000)]
fix swapped files; stop marking p2425a.s as xfail

29 years ago* config/powerpc/gdbserve.mt (TDEPFILES): Removed fake_aio.o
J.T. Conklin [Wed, 16 Nov 1994 19:11:53 +0000 (19:11 +0000)]
* config/powerpc/gdbserve.mt (TDEPFILES): Removed fake_aio.o

* nlm/gdbserve.c: Include <nwtypes.h> before other NetWare headers.
* nlm/alpha.c: Likewise.
* nlm/ppc.c: Likewise.

* nlm/ppc.c (strtol): Removed, it is provided by NetWare C Library.
  (StopBell): New function (stubbed out).

29 years ago * scripttempl/hppaelf.sc (.text): Place unwind descriptors in the
Jeff Law [Wed, 16 Nov 1994 17:06:20 +0000 (17:06 +0000)]
* scripttempl/hppaelf.sc (.text): Place unwind descriptors in the
text segment.

29 years ago * hppa-tdep.c (skip_trampoline_code): Handle shared library import
Jeff Law [Wed, 16 Nov 1994 07:21:06 +0000 (07:21 +0000)]
* hppa-tdep.c (skip_trampoline_code): Handle shared library import
trampolines.

29 years ago * gas/hppa/unsorted/align4.s: New test.
Jeff Law [Wed, 16 Nov 1994 06:18:20 +0000 (06:18 +0000)]
    * gas/hppa/unsorted/align4.s: New test.
        * gas/hppa/unsorted/unsorted.exp: Run it.

29 years ago * config/tc-hppa.c (pa_subspace): Make sure to always reset
Jeff Law [Wed, 16 Nov 1994 06:17:08 +0000 (06:17 +0000)]
* config/tc-hppa.c (pa_subspace): Make sure to always reset
current_subspace.
(pa_text, pa_data): Likewise.

29 years ago * config/tc-hppa.c (pa_align): New function. Aligns the current
Jeff Law [Wed, 16 Nov 1994 04:58:48 +0000 (04:58 +0000)]
* config/tc-hppa.c (pa_align): New function.  Aligns the current
offset within the current subspace along with updating the
alignment of the subspace itself.
(pa_subspace): Default alignment to one byte rathern than zero
bytes to avoid setting alignment to log2(0).
(md_pseudo_table): Use pa_alignment for .align.

29 years ago * c-exp.y (yylex): Fix a bug in template scanning.
Kung Hsu [Wed, 16 Nov 1994 00:21:16 +0000 (00:21 +0000)]
    * c-exp.y (yylex): Fix a bug in template scanning.

29 years ago * i386-stub.c, m68k-stub.c, sparc-stub.c, sparcl-stub.c: Mask out
Stan Shebs [Tue, 15 Nov 1994 22:29:48 +0000 (22:29 +0000)]
* i386-stub.c, m68k-stub.c, sparc-stub.c, sparcl-stub.c: Mask out
the top bit returned by getDebugChar.

29 years agomessages.c (as_fatal): put space after "fatal error:"
Ken Raeburn [Tue, 15 Nov 1994 20:26:22 +0000 (20:26 +0000)]
messages.c (as_fatal): put space after "fatal error:"

29 years agoadded powerpc to Things-to-keep
Angela Marie Thomas [Tue, 15 Nov 1994 20:17:50 +0000 (20:17 +0000)]
added powerpc to Things-to-keep

29 years agoadded nlmstub.def to Things-to-keep
Angela Marie Thomas [Tue, 15 Nov 1994 20:17:11 +0000 (20:17 +0000)]
added nlmstub.def to Things-to-keep

29 years ago * gas/config/tc-hppa.h (obj_frob_symbol): Delete ELF specific
Jeff Law [Tue, 15 Nov 1994 18:35:32 +0000 (18:35 +0000)]
* gas/config/tc-hppa.h (obj_frob_symbol): Delete ELF specific
definition.
(tc_frob_symbol): Make this condition on OBJ_SOM or OBJ_ELF.  For
ELF, subtract out the symbol->section->vma for non-common symbols.

* gas/testsuite/gas/hppa/unsorted/unsorted.exp (importbug): Tweak
to match current expected ELF output.
* gas/testsuite/gas/hppa/reloc/reloc.exp
(do_plabel_relocation_test, do_r_no_reloc): Likewise.

29 years agokeep riscix, pc532mach files
Ken Raeburn [Tue, 15 Nov 1994 09:15:56 +0000 (09:15 +0000)]
keep riscix, pc532mach files

29 years agonuke "confidential" dirs
Ken Raeburn [Tue, 15 Nov 1994 08:53:22 +0000 (08:53 +0000)]
nuke "confidential" dirs

29 years ago * op50-rom.c, w89k-rom.c, monitor.c: Modify to use two variables
Rob Savoye [Tue, 15 Nov 1994 08:13:05 +0000 (08:13 +0000)]
* op50-rom.c, w89k-rom.c, monitor.c: Modify to use two variables
to set remote load type and protocol.
* rom68k-rom.c: Add to_stop in target_ops.

29 years agoFixed keep_these_too/lose_these_too for mpw and hpread
Angela Marie Thomas [Tue, 15 Nov 1994 05:27:19 +0000 (05:27 +0000)]
Fixed keep_these_too/lose_these_too for mpw and hpread

29 years agoRemoved remote-mon.c, and add it's replacement rom68k-rom.c.
Rob Savoye [Mon, 14 Nov 1994 22:57:40 +0000 (22:57 +0000)]
Removed remote-mon.c, and add it's replacement rom68k-rom.c.

29 years agoAdd copyright message.
Rob Savoye [Mon, 14 Nov 1994 22:55:52 +0000 (22:55 +0000)]
Add copyright message.

29 years ago * Makefile.in: Install gdbtk.tcl.
Stu Grossman [Mon, 14 Nov 1994 16:59:16 +0000 (16:59 +0000)]
* Makefile.in:  Install gdbtk.tcl.
* configure.in:  Add ENABLE_GDBTK flag.
* gdbtk.c (gdb_sourcelines):  Returns list of source lines
containing code.  (gdb_regnames):  Returns list of register names.

29 years agoKeep ld-shared.
Ian Lance Taylor [Mon, 14 Nov 1994 16:57:14 +0000 (16:57 +0000)]
Keep ld-shared.

29 years agoKeep i386lynx.mh.
Ian Lance Taylor [Mon, 14 Nov 1994 16:54:44 +0000 (16:54 +0000)]
Keep i386lynx.mh.

29 years ago * configure.in: Remove tk from native_only list.
Stu Grossman [Mon, 14 Nov 1994 16:50:50 +0000 (16:50 +0000)]
* configure.in:  Remove tk from native_only list.

29 years ago * somsolib.c: Add TODO list.
Jeff Law [Sun, 13 Nov 1994 05:06:20 +0000 (05:06 +0000)]
* somsolib.c: Add TODO list.
(som_solib_add): Immediately return if $SHLIB_INFO$ sections does
not exist or has size zero.  Slightly simplify error handling.
Keep an internal list of all the loaded shared libraries and
various tidbits of information about the loaded shared libraries.
Build section tables for each loaded shared library and add those
tables to the core target if necessary.
(som_solib_create_inferior_hook): Force re-reading of shared
libraries at exec time.
(som_sharedlibrary_info_command): New function for dumping
information about the currently loaded shared libraries.
(_initialize_som_solib): New function.

29 years ago * elfcode.h (elf_export_symbol): Also export symbols which are
Ian Lance Taylor [Sun, 13 Nov 1994 04:51:53 +0000 (04:51 +0000)]
* elfcode.h (elf_export_symbol): Also export symbols which are
referenced by a regular file.

29 years ago * scripttempl/elf.sc: Add ENTRY(${ENTRY}), and default ${ENTRY} to
Ian Lance Taylor [Sat, 12 Nov 1994 20:59:18 +0000 (20:59 +0000)]
* scripttempl/elf.sc: Add ENTRY(${ENTRY}), and default ${ENTRY} to
_start.

29 years ago * elfcode.h (NAME(bfd_elf,size_dynamic_sections)): Add
Ian Lance Taylor [Sat, 12 Nov 1994 20:55:33 +0000 (20:55 +0000)]
* elfcode.h (NAME(bfd_elf,size_dynamic_sections)): Add
export_dynamic argument, and handle it.
(elf_export_symbol): New function.
* bfd-in.h (bfd_elf32_size_dynamic_sections): Update declaration.
(bfd_elf64_size_dynamic_sections): Update declaration.
* bfd-in2.h: Rebuild.

29 years ago * ld.h (args_type): Add field export_dynamic.
Ian Lance Taylor [Sat, 12 Nov 1994 20:54:09 +0000 (20:54 +0000)]
* ld.h (args_type): Add field export_dynamic.
* lexsup.c (parse_args): Recognize --export-dynamic.
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Pass export_dynamic argument to bfd_elf32_size_dynamic_sections.

29 years ago * Makefile.in (copying.o, f-exp.tab.o, dpx2-nat.o, dstread.o,
Peter Schauer [Sat, 12 Nov 1994 11:22:47 +0000 (11:22 +0000)]
* Makefile.in (copying.o, f-exp.tab.o, dpx2-nat.o, dstread.o,
i386aix-nat.o, i386m3-nat.o, irix5-nat.o, lynx-nat.o, m3-nat.o,
mipsm3-nat.o, ns32km3-nat.o, remote-e7000.o, remote-os9k.o):
Add dependencies.
(copying.o, os9kread.o, remote.o):  Update dependencies.

* valarith.c (value_sub):  When subtracting pointers, only
check for a match of the pointed to element lengths.
Cast element length to LONGEST to obtain a signed result for
pointer subtractions.

29 years ago * build-all.mk: Add mips-ncd-elf target to sun4 targets
Bill Cox [Fri, 11 Nov 1994 23:33:23 +0000 (23:33 +0000)]
* build-all.mk: Add mips-ncd-elf target to sun4 targets
  for special NCD build.

29 years ago * ch-exp.y (yylex): Fix off-by-one error when converting string to
Jeff Law [Fri, 11 Nov 1994 19:17:41 +0000 (19:17 +0000)]
* ch-exp.y (yylex): Fix off-by-one error when converting string to
lowercase.  Null terminate new string.

29 years ago * hppa-tdep.c (rp_saved): Handle IMPORT stubs too.
Jeff Law [Fri, 11 Nov 1994 17:55:38 +0000 (17:55 +0000)]
* hppa-tdep.c (rp_saved): Handle IMPORT stubs too.

* somsolib.c (som_solib_add): Check the value of __dld_flags, if
it indicates __dld_list is not valid return an error.  If it
indicates that libraries were not mapped privately, issue a
warning.

29 years ago * hpux-core.c (hpux_core_struct): Delete handles for the
Jeff Law [Fri, 11 Nov 1994 17:40:27 +0000 (17:40 +0000)]
* hpux-core.c (hpux_core_struct): Delete handles for the
data, reg and stack sections.  They're never used.  Delete
accessor macros.
(make_bfd_asection): Use bfd_make_section_anyway since debugging
cores from dynamic executables may have several sections with the
same logical name.
(hpux_core_core_file_p): Don't save handles to data, reg and
stack sections.  Handle CORE_TEXT, CORE_MMF and CORE_SHM.

29 years ago * symfile.c (syms_from_objfile): Only call find_lowest_section if
Jeff Law [Fri, 11 Nov 1994 06:21:50 +0000 (06:21 +0000)]
* symfile.c (syms_from_objfile): Only call find_lowest_section if
no ".text" section exists.

29 years ago * rom68k-rom.c: New file. Replaces the old remote-mon.c and uses
Rob Savoye [Thu, 10 Nov 1994 23:20:03 +0000 (23:20 +0000)]
* rom68k-rom.c: New file. Replaces the old remote-mon.c and uses
the new generic ROM interface in monitor.c.
* config/m68k/monitor.mt: Use new ROM support.
* monitor.c: Add support for xmodem download protocol.

29 years ago * findvar.c (find_saved_register): Fix a frame variable name.
Stan Shebs [Thu, 10 Nov 1994 03:11:23 +0000 (03:11 +0000)]
* findvar.c (find_saved_register): Fix a frame variable name.
* infcmd.c (finish_command): Ditto.

29 years agoadd delta68 config
Ken Raeburn [Wed, 9 Nov 1994 19:57:37 +0000 (19:57 +0000)]
add delta68 config

29 years ago * config/tc-ppc.c (ppc_bf): Always set coff_line_base.
Ian Lance Taylor [Wed, 9 Nov 1994 19:53:58 +0000 (19:53 +0000)]
* config/tc-ppc.c (ppc_bf): Always set coff_line_base.
PR 5830.

29 years ago * ldlang.c (lang_one_common): Set SEC_ALLOC in any section where
Ian Lance Taylor [Wed, 9 Nov 1994 17:48:24 +0000 (17:48 +0000)]
* ldlang.c (lang_one_common): Set SEC_ALLOC in any section where
we allocate common symbols.

29 years agoTue Nov 8 17:50:43 1994 Eric Youngdale (eric@aib.com)
Ian Lance Taylor [Tue, 8 Nov 1994 22:57:13 +0000 (22:57 +0000)]
Tue Nov  8 17:50:43 1994  Eric Youngdale  (eric@aib.com)

* scripttempl/elf.sc: Add .rel.init, .rela.init, .rel.fini, and
.rela.fini to the list of .rel* sections.

29 years ago * ldlang.c (load_symbols): Add new argument place. Only accept
Ian Lance Taylor [Tue, 8 Nov 1994 22:54:07 +0000 (22:54 +0000)]
* ldlang.c (load_symbols): Add new argument place.  Only accept
linker scripts if place is not NULL.  Put commands found in an
assumed linker script into place.
(lookup_name): Pass NULL as place argument to load_symbols.
(open_input_bfds): In lang_input_statement_enum case, pass a place
argument to load_symbols, and store any new statements after the
current one.
PR 5917.

29 years ago * TODO: Remove "Watchpoints seem not entirely reliable, though
Jim Kingdon [Tue, 8 Nov 1994 21:40:14 +0000 (21:40 +0000)]
* TODO: Remove "Watchpoints seem not entirely reliable, though
they haven't failed me recently." item--this old (4.6 at least)
item is too vague to be useful (some watchpoint bugs have been
fixed since then).
* TODO: Add explanation of "RPC interface" item.

29 years agoDelete gasp tests when sanitizing, at least until they're actually run by
Ken Raeburn [Tue, 8 Nov 1994 20:16:13 +0000 (20:16 +0000)]
Delete gasp tests when sanitizing, at least until they're actually run by
"make check".

29 years ago * .Sanitize: Add gasp subdirectory to the keepers list.
Bill Cox [Tue, 8 Nov 1994 19:48:17 +0000 (19:48 +0000)]
* .Sanitize: Add gasp subdirectory to the keepers list.

29 years ago * .Sanitize: New file for gasp testcases.
Bill Cox [Tue, 8 Nov 1994 19:46:44 +0000 (19:46 +0000)]
* .Sanitize: New file for gasp testcases.

29 years ago * objcopy.c (copy_archive): Keep a list of the names of the
Ian Lance Taylor [Tue, 8 Nov 1994 18:16:10 +0000 (18:16 +0000)]
* objcopy.c (copy_archive): Keep a list of the names of the
        temporary files we created.  Close each input BFD after we open
        its successor.
PR 5915.

29 years ago * bout.c (callj_callback): Add new argument shrinking. Change all
Ian Lance Taylor [Tue, 8 Nov 1994 18:05:43 +0000 (18:05 +0000)]
* bout.c (callj_callback): Add new argument shrinking.  Change all
callers.  Handle relocs against section symbols correctly.  If not
shrinking, don't subtract out dstidx; the subtraction is already
in the object file.
PR 5883.

29 years agoSmall blurb on support for debugging dynamic executables on HPPAs running
Jeff Law [Tue, 8 Nov 1994 06:39:33 +0000 (06:39 +0000)]
Small blurb on support for debugging dynamic executables on HPPAs running
hpux9.