binutils-gdb.git
30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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>.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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).

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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

30 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).

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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:"

30 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

30 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

30 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.

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

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

30 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.

30 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

30 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.

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

30 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.

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

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

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

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

30 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.

30 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.

30 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.

30 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.

30 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.

30 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".

30 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.

30 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.

30 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.

30 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.

30 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.

30 years ago * hppa-tdep.c (read_unwind_info): Use "text_offset" for linker
Jeff Law [Tue, 8 Nov 1994 06:06:35 +0000 (06:06 +0000)]
* hppa-tdep.c (read_unwind_info): Use "text_offset" for linker
stub unwind descriptors too.

30 years ago * Enable backtracing from inside a SOM shared library back into
Jeff Law [Tue, 8 Nov 1994 05:31:33 +0000 (05:31 +0000)]
* Enable backtracing from inside a SOM shared library back into
user code.
* hppa-tdep.c (internalize_unwinds): Accept and use new
"text_offset" argument for dynamic relocation of
region_{start,end} fields in the unwind descriptor.
(read_unwind_info): Pass text_offset to internalize unwinds.

30 years agoVarious changes to support building shared lib{g,stdc}++
Jason Merrill [Tue, 8 Nov 1994 02:16:18 +0000 (02:16 +0000)]
Various changes to support building shared lib{g,stdc}++

30 years ago* Makefile.in (DEVO_SUPPORT): Remove configure.bat and makeall.bat, they're
Ken Raeburn [Tue, 8 Nov 1994 02:04:00 +0000 (02:04 +0000)]
* Makefile.in (DEVO_SUPPORT): Remove configure.bat and makeall.bat, they're
only useful for binutils snapshots.
(binutils.tar.gz, gas+binutils.tar.gz): Add configure.bat and makeall.bat to
specified SUPPORT_FILES.

30 years ago * build-all.mk: Add Ericsson targets to sun4 and solaris
Bill Cox [Tue, 8 Nov 1994 01:32:51 +0000 (01:32 +0000)]
* build-all.mk: Add Ericsson targets to sun4 and solaris
  hosts.  Add  BNR's sun4 target to solaris host, so their
  build-from-source will be tested in-house first.

30 years ago * m3-nat.c: Remove comments about arbitrary limit in
Jim Kingdon [Mon, 7 Nov 1994 22:39:34 +0000 (22:39 +0000)]
* m3-nat.c: Remove comments about arbitrary limit in
printf_filtered; that limit is gone.

30 years ago* configure.in: Compare generic cpu name against "sparc", not "sparc*", since
Ken Raeburn [Mon, 7 Nov 1994 20:29:46 +0000 (20:29 +0000)]
* configure.in: Compare generic cpu name against "sparc", not "sparc*", since
sparc variants should be changed to "sparc".
* configure: Regenerated with autoconf 2.1.

30 years ago * Beginnings of SOM shared library support. Breakpoints and
Jeff Law [Mon, 7 Nov 1994 07:51:47 +0000 (07:51 +0000)]
* Beginnings of SOM shared library support.  Breakpoints and
single frame backtracing within the library only.  Only works when
using the HPUX 9 dynamic linker.  More functionality to be added
soon.

* somsolib.c, somsolib.h: New files.
* Makefile.in (HFILES_NO_SRCDIR): Add somsolib.h
(ALLDEPFILES): Add somsolib.c.
(somsolib.o): Add some dependencies.
* mpw-make.in (HFILES_NO_SRCDIR): Add somsolib.h
(ALLDEPFILES): Add somsolib.c.
(somsolib.o): Add some dependencies.
* somread.c (som_symtab_read): Accept multiple section offsets.
All callers changed.  Adjust all text symbols with the first
section offset.
* symfile.c (find_lowest_section): Enable this function.  Add some
tie-breaking logic when sections have the same vma.
(syms_from_objfile): Use find_lowest_section rather than looking
for ".text" by name.  Relax warning to only warn if the lowest
section is not a code section.
* config/pa/{hppabsd.mh, hppahpux.mh} (NATDEPFILES): Add somsolib.o
* config/pa/{nm-hppab.h, nm-hppah.h}: Include somsolib.h.

30 years agotc-a29k.c: some cleanup; range-checking on JUMPTARG relocs
Ken Raeburn [Mon, 7 Nov 1994 07:04:09 +0000 (07:04 +0000)]
tc-a29k.c: some cleanup; range-checking on JUMPTARG relocs

30 years agokeep ns32k stuff
Ken Raeburn [Mon, 7 Nov 1994 06:52:58 +0000 (06:52 +0000)]
keep ns32k stuff

30 years ago * partial-stab.h (N_TEXT): Put back GDB_TARGET_IS_HPPA kludge,
Jeff Law [Sun, 6 Nov 1994 20:16:34 +0000 (20:16 +0000)]
* partial-stab.h (N_TEXT): Put back GDB_TARGET_IS_HPPA kludge,
it is still needed for GCC-2.6 compiled code.
* TODO (GDB_TARGET_IS_HPPA): Note this kludge can be nuked
sometime after GCC-2.7 has been released.

30 years ago * hppa-tdep.c (frame_saved_pc): Mask off low two bits when
Jeff Law [Sun, 6 Nov 1994 20:02:31 +0000 (20:02 +0000)]
* hppa-tdep.c (frame_saved_pc): Mask off low two bits when
retrieving the PC from a signal handler caller.  Fix thinko
in Stan's last change ("frame", should have been "frame->next").
If the next frame is a signal handler caller and it's a system
call which has entered the kernel ((PSW & 0x2) != 0), then the
saved pc is in %r2 instead of %r31.

30 years ago * configure.in (target_libs): Include libstdc++ again.
Per Bothner [Sat, 5 Nov 1994 23:44:38 +0000 (23:44 +0000)]
* configure.in (target_libs):  Include libstdc++ again.
* config.guess:  Update from FSF (for FreeBSD).

30 years ago * hppa-tdep.c (hppa_frame_find_saved_regs): Change "frame" to
Jeff Law [Sat, 5 Nov 1994 06:56:43 +0000 (06:56 +0000)]
* hppa-tdep.c (hppa_frame_find_saved_regs): Change "frame" to
"frame_info" throughout.

30 years ago * sparcl-stub.c: get rid of defs.h.
Kung Hsu [Sat, 5 Nov 1994 00:33:27 +0000 (00:33 +0000)]
    * sparcl-stub.c: get rid of defs.h.

30 years ago * gdbserver/Makefile.in (MMALLOC_CFLAGS): Add -I${MMALLOC_DIR}.
Jim Kingdon [Fri, 4 Nov 1994 22:57:19 +0000 (22:57 +0000)]
* gdbserver/Makefile.in (MMALLOC_CFLAGS): Add -I${MMALLOC_DIR}.
Correct definition of MMALLOC_DIR to reflect fact this is
gdb/gdbserver/Makefile.in, not gdb/Makefile.in.

* gdbserver/server.c (main): After we kill the inferior in
response to a 'k' request, exit.

30 years agonote go32 file additions, keep ppc nw
Ken Raeburn [Fri, 4 Nov 1994 21:43:00 +0000 (21:43 +0000)]
note go32 file additions, keep ppc nw

30 years ago * remote.c (remote_kill): Use catch_errors when calling putpkt.
Jim Kingdon [Fri, 4 Nov 1994 21:28:40 +0000 (21:28 +0000)]
* remote.c (remote_kill): Use catch_errors when calling putpkt.
(putpkt): Return int, not void, to match catch_errors calling
convention.

30 years agoMakefile.in: fix tipo in e*nbsd.c dependencies
Ken Raeburn [Fri, 4 Nov 1994 20:14:03 +0000 (20:14 +0000)]
Makefile.in: fix tipo in e*nbsd.c dependencies