binutils-gdb.git
29 years agotrying to nuke for crash... files no longer needed
Angela Marie Thomas [Thu, 26 Oct 1995 00:11:31 +0000 (00:11 +0000)]
trying to nuke for crash... files no longer needed

29 years agodon't keep mh-aix mh-sun.
Jason Molenda [Wed, 25 Oct 1995 23:53:11 +0000 (23:53 +0000)]
don't keep mh-aix mh-sun.

29 years ago * Makefile.in (taz): Grep for '^diststuff:' or '^info:' in
Per Bothner [Wed, 25 Oct 1995 22:23:40 +0000 (22:23 +0000)]
* Makefile.in (taz):  Grep for '^diststuff:' or '^info:' in
sub-directory Makefiles, instead of using DISTSTUFFDIRS and
DISTDOCDIRS.
(DISTSTUFFDIRS, DISTDOCDIRS):  Removed - no longer used.
(newlib.tar.gz):  Don't pass DISTDOCDIRS to recursive make.

29 years ago * som.c (som_slurp_string_table): Allocate the strings with malloc
Jeff Law [Wed, 25 Oct 1995 22:23:33 +0000 (22:23 +0000)]
    * som.c (som_slurp_string_table): Allocate the strings with malloc
        since they're free'd by free_cached_info.
        (som_slurp_symbol_table): Similarly for the symbol table.
Fixes crash (nm /lib/libc.a on hpux10).

29 years agoupdated for jsmith's file renaming
Ken Raeburn [Wed, 25 Oct 1995 22:07:38 +0000 (22:07 +0000)]
updated for jsmith's file renaming

29 years ago * Makefile.in (diststuff): Don't make headers.
Per Bothner [Wed, 25 Oct 1995 21:59:47 +0000 (21:59 +0000)]
* Makefile.in (diststuff):  Don't make headers.

29 years ago * Makefile.in (DISTDOCDIRS): Remove ld gprof bnutils gas libg++ gdb
Per Bothner [Wed, 25 Oct 1995 21:54:55 +0000 (21:54 +0000)]
* Makefile.in (DISTDOCDIRS):  Remove ld gprof bnutils gas libg++ gdb
and gnats, because they are now subsumed by DISTSTUFFDIRS.
Move bfd to DISTSTUFFDIRS.

29 years ago * Makefile.in: Rebuild dependencies.
Ian Lance Taylor [Wed, 25 Oct 1995 20:42:36 +0000 (20:42 +0000)]
* Makefile.in: Rebuild dependencies.

29 years agofix XCOFF line number handling
Ian Lance Taylor [Wed, 25 Oct 1995 20:33:38 +0000 (20:33 +0000)]
fix XCOFF line number handling

29 years ago * Makefile.in (diststuff): Also make info.
Per Bothner [Wed, 25 Oct 1995 20:24:00 +0000 (20:24 +0000)]
* Makefile.in (diststuff):  Also make info.
(mostlyclean):  Don't remove gprof.info*.
(maintainer-clean realclean):  Also remove *.info*.

29 years ago * mpw-make.sed: Edit paths to generated y.tab.[ch] files.
Stan Shebs [Wed, 25 Oct 1995 19:12:25 +0000 (19:12 +0000)]
* mpw-make.sed: Edit paths to generated y.tab.[ch] files.

29 years ago * Makefile.in (diststuff): Also make info.
Per Bothner [Wed, 25 Oct 1995 18:59:59 +0000 (18:59 +0000)]
* Makefile.in (diststuff):  Also make info.
(maintainer-clean realclean):  Also make clean-info.

29 years ago * Makefile.in (diststuff): Also make info.
Per Bothner [Wed, 25 Oct 1995 18:51:37 +0000 (18:51 +0000)]
* Makefile.in (diststuff):  Also make info.
(maintainer-clean realclean):  Also delete *.info*.

29 years agoset l_stoff to 0 if there are no strings
Ian Lance Taylor [Wed, 25 Oct 1995 18:31:27 +0000 (18:31 +0000)]
set l_stoff to 0 if there are no strings

29 years agoonly read the section relocs if there are some
Ian Lance Taylor [Wed, 25 Oct 1995 17:58:30 +0000 (17:58 +0000)]
only read the section relocs if there are some

29 years agoadd OUTPUT_FORMAT and LIB_SEARCH_DIRS
Ian Lance Taylor [Wed, 25 Oct 1995 17:51:13 +0000 (17:51 +0000)]
add OUTPUT_FORMAT and LIB_SEARCH_DIRS

29 years agotweak line number and gc handling
Ian Lance Taylor [Wed, 25 Oct 1995 17:45:33 +0000 (17:45 +0000)]
tweak line number and gc handling

29 years agotweak option handling
Ian Lance Taylor [Wed, 25 Oct 1995 17:37:35 +0000 (17:37 +0000)]
tweak option handling

29 years ago * sunos.c (bfd_sunos_record_link_assignment): Don't do anything if
Ian Lance Taylor [Wed, 25 Oct 1995 16:33:02 +0000 (16:33 +0000)]
* sunos.c (bfd_sunos_record_link_assignment): Don't do anything if
output_bfd is not SunOS.
(bfd_sunos_size_dynamic_sections): Likewise.  Don't scan relocs of
non-SunOS input files.
PR 8270.

29 years ago * emultempl/aix.em: Add support for various AIX linker options,
Ian Lance Taylor [Wed, 25 Oct 1995 15:49:27 +0000 (15:49 +0000)]
* emultempl/aix.em: Add support for various AIX linker options,
for AIX import and export files, and for AIX shared objects.
* scripttempl/aix.sc: Add .pad.  Put .ds just before the TOC.

29 years ago * ldmain.c (main): Initialize new field link_info.static_link.
Ian Lance Taylor [Wed, 25 Oct 1995 15:48:53 +0000 (15:48 +0000)]
* ldmain.c (main): Initialize new field link_info.static_link.

* ldmain.c (add_keepsyms_file): Add \n at end of einfo calls.
(constructor_callback): Likewise.
* ldmisc.c (vfinfo): Likewise.
* ldwrite.c (build_link_order): Likewise.

29 years ago * xcofflink.c: Extensive changes to support linking shared objects
Ian Lance Taylor [Wed, 25 Oct 1995 15:37:47 +0000 (15:37 +0000)]
* xcofflink.c: Extensive changes to support linking shared objects
and generating a .loader section.
* libcoff-in.h (struct xcoff_tdata): Add import_file_id field.
(struct xcoff_section_tdata): Add first_symndx, last_symndx,
and ldrel_count fields.
* libcoff.h: Rebuild.
* coff-rs6000.c (xcoff_howto_table): Correct reloc names.
* coffcode.h (styp_to_sec_flags): Don't set any flags if STYP_PAD
is set.
* bfd-in.h (bfd_xcoff_import_symbol): Declare.
(bfd_xcoff_export_symbol): Declare.
(bfd_xcoff_size_dynamic_sections): Declare.
* bfd-in2.h: Rebuild.

29 years ago * ld.texinfo: The MRI ALIGN directive is supported.
Ian Lance Taylor [Wed, 25 Oct 1995 15:28:28 +0000 (15:28 +0000)]
* ld.texinfo: The MRI ALIGN directive is supported.

29 years agoforgot to check this in.
Jason Molenda [Wed, 25 Oct 1995 02:17:02 +0000 (02:17 +0000)]
forgot to check this in.

29 years ago * bfdlink.h (struct bfd_link_info): Add static_link field.
Ian Lance Taylor [Wed, 25 Oct 1995 01:46:09 +0000 (01:46 +0000)]
* bfdlink.h (struct bfd_link_info): Add static_link field.

29 years agoTue Oct 24 18:30:18 1995 Jason Molenda (crash@phydeaux.cygnus.com)
Jason Molenda [Wed, 25 Oct 1995 01:33:26 +0000 (01:33 +0000)]
Tue Oct 24 18:30:18 1995  Jason Molenda  (crash@phydeaux.cygnus.com)

        * config/pa/hppahpux.mh: Remove hardcoding of X locations.
        * Makefile.in: Use X11_CFLAGS, X11_LDFLAGS and X11_LIBS.
        * configure.in: Link X statically on Solaris, SunOS and HPUX.

29 years agoFri Oct 13 14:44:25 1995 Jason Molenda (crash@phydeaux.cygnus.com)
Jason Molenda [Wed, 25 Oct 1995 01:24:21 +0000 (01:24 +0000)]
Fri Oct 13 14:44:25 1995  Jason Molenda  (crash@phydeaux.cygnus.com)

        * mh-aix, mh-sun:  Removed.

        * mh-decstation (X11_EXTRA_CFLAGS): Define.

        * mh-sco, mh-solaris, mh-sysv4 (X11_EXTRA_LIBS): Define.

        * mh-hp300, mh-hpux, mh-hpux8, mh-solaris, mh-sun3, mh-sysv4: Don't
        hardcode location of X stuff here.

29 years agoTue Oct 24 18:19:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
Jason Molenda [Wed, 25 Oct 1995 01:21:08 +0000 (01:21 +0000)]
Tue Oct 24 18:19:09 1995  Jason Molenda  (crash@phydeaux.cygnus.com)

        * Makefile.in (X11_LIB): Removed.
        (X11_FLAGS_TO_PASS): pass only X11_EXTRA_CFLAGS and X11_EXTRA_LIBS.

        * configure.in (host_makefile_frag): mh-aix & mh-sun removed.

29 years ago * configure.in: Add xcofflink.o to pmac_xcoff_vec.
Stan Shebs [Wed, 25 Oct 1995 00:54:55 +0000 (00:54 +0000)]
* configure.in: Add xcofflink.o to pmac_xcoff_vec.
* configure: Rebuild.
* mpw-config.in: Add xcofflink.c.o to powerpc-apple-macos.
* coff-pmac.c: Include coff-rs6000.c instead of duplicating its
contents.
(pmac_xcoff_vec): Update to use new xcoff support.
* coff-rs6000.c (xcoff_generic_stat_arch_elt): Make static.
(xcoff_write_armap): Declare buf as unsigned char.
* xcofflink.c (xcoff_link_add_symbols): Declare a local as PTR.

* mpw-make.sed: Generalize subdir_do edit.

29 years ago * monitor.h (struct memrw_cmd->resp_delim): Document this as a regexp.
Stu Grossman [Tue, 24 Oct 1995 21:35:23 +0000 (21:35 +0000)]
* monitor.h (struct memrw_cmd->resp_delim):  Document this as a regexp.

29 years ago * monitor.c (monitor_expect_regexp): Same as monitor_expect, but
Stu Grossman [Tue, 24 Oct 1995 21:31:07 +0000 (21:31 +0000)]
* monitor.c (monitor_expect_regexp):  Same as monitor_expect, but
with the obvious extension.  (monitor_read_memory_single):  Use
regexp for getmem.resp_delim because of parsing ambiguities caused
by certain monitors.  (monitor_read_memory):  Use new regexp stuff
to parse getmem.resp_delim.
* sh3-rom.c:  Finish off table.  Use new regexp capability for
getmem commands.

29 years agoDocument .nsubspa.
Jeff Law [Tue, 24 Oct 1995 21:27:44 +0000 (21:27 +0000)]
Document .nsubspa.

29 years ago * config/tc-hppa.c (md_pseudo_table): Add new ".nsubspa" opcode.
Jeff Law [Tue, 24 Oct 1995 21:26:51 +0000 (21:26 +0000)]
    * config/tc-hppa.c (md_pseudo_table): Add new ".nsubspa" opcode.
        (pa_subspace): For ".nsubspa", always create a new subspace
        with the given attributes, even if one already exists with the
        same name.

So we can put every function into its own $CODE$ subspace.

29 years ago * infrun.c (wait_for_inferior): Disable questionable code near
Stu Grossman [Tue, 24 Oct 1995 21:22:56 +0000 (21:22 +0000)]
* infrun.c (wait_for_inferior):  Disable questionable code near
the step range test.  Replace call detection test with much
simpler (and more efficient) test that doesn't require prologue
examination (as often).
* symtab.c symtab.h (in_prologue):  New function that indicates
whether or not we are in a function prologue.  This uses the
symbol table, and then falls back to prologue examination if that
fails.  It's much more efficient for remote debugging because it
avoids examining memory, which is very slow.  This is used in
wait_for_inferior to determine if we've made a function call that
needs to be skipped over (for next/nexti).
* mips-tdep.c (after_prologue):  New function, returns the PC
after the prologue.  Uses PDRs and the symbol table.
(mips_find_saved_regs):  Use in_prologue() to avoid costly
prologue examination if possible.
(mips_skip_prologue):  Use after_prologue() if possible to avoid
costly prologue examination.

29 years ago * mmprivate.h: Remove declarations (PTR, etc) that are already
Stan Shebs [Tue, 24 Oct 1995 20:21:58 +0000 (20:21 +0000)]
* mmprivate.h: Remove declarations (PTR, etc) that are already
provided by ansidecl.h, include mmalloc.h earlier in file.

29 years agoFix PR 8255
Michael Meissner [Tue, 24 Oct 1995 18:59:05 +0000 (18:59 +0000)]
Fix PR 8255

29 years ago * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
Jeff Law [Tue, 24 Oct 1995 17:14:13 +0000 (17:14 +0000)]
    * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
        * gdb.disasm/hppa.s: Corresponding changes.

29 years ago * gas/hppa/basic/basic.exp: Test lci and syncdma instructions.
Jeff Law [Tue, 24 Oct 1995 17:00:11 +0000 (17:00 +0000)]
    * gas/hppa/basic/basic.exp: Test lci and syncdma instructions.
        * gas/hppa/basic/system.s: Corresponding changes.

29 years ago * hppa.h: Add lci and syncdma instructions.
Jeff Law [Tue, 24 Oct 1995 16:50:16 +0000 (16:50 +0000)]
    * hppa.h: Add lci and syncdma instructions.
From the PA1.1 third edition manual.

29 years ago * hppabsd-core.c (make_bfd_asection): Initialize asect->filepos
Jeff Law [Tue, 24 Oct 1995 16:27:25 +0000 (16:27 +0000)]
    * hppabsd-core.c (make_bfd_asection): Initialize asect->filepos
        correctly.  Don't initialize asect->vma.

29 years agochanges for input file open error, not printing filename when not available
Ken Raeburn [Mon, 23 Oct 1995 20:40:09 +0000 (20:40 +0000)]
changes for input file open error, not printing filename when not available

29 years agoIf no filename is available (because we haven't opened the input file yet),
Ken Raeburn [Mon, 23 Oct 1995 20:39:44 +0000 (20:39 +0000)]
If no filename is available (because we haven't opened the input file yet),
don't try to print one.

29 years agoThe revision 2.48 change (grossman 1995/10/16) had unfortunately
Jackie Smith Cashion [Mon, 23 Oct 1995 16:09:58 +0000 (16:09 +0000)]
The revision 2.48 change (grossman 1995/10/16) had unfortunately
broken the prompt spotting for the <RISQ> variant of the IDT
monitor. Also took this opportunity to add the vr4300 configure.in
options.

29 years agoRenamed the VR4300 specific emulparams files to 8.3 unique names,
Jackie Smith Cashion [Mon, 23 Oct 1995 11:56:50 +0000 (11:56 +0000)]
Renamed the VR4300 specific emulparams files to 8.3 unique names,
since the old names could cause problems when hosting the source tree
on non-Un*x systems.

29 years agoAdded command-line support for NEC VR4100, to allow support for
Jackie Smith Cashion [Mon, 23 Oct 1995 11:20:02 +0000 (11:20 +0000)]
Added command-line support for NEC VR4100, to allow support for
4100-specific instructions.

29 years agomips-opc.c: Added shorthand (V1) for INSN_4100 manifest. Added the
Jackie Smith Cashion [Mon, 23 Oct 1995 11:14:17 +0000 (11:14 +0000)]
mips-opc.c: Added shorthand (V1) for INSN_4100 manifest. Added the
VR4100 specific instructions to the mips_opcodes structure.

29 years agomips.h: Added INSN_4100 flag to mark NEC VR4100 specific instructions.
Jackie Smith Cashion [Mon, 23 Oct 1995 11:11:20 +0000 (11:11 +0000)]
mips.h: Added INSN_4100 flag to mark NEC VR4100 specific instructions.

29 years ago(keep_these_too): Add Guile sub-directories.
Per Bothner [Sun, 22 Oct 1995 21:37:29 +0000 (21:37 +0000)]
(keep_these_too): Add Guile sub-directories.

29 years agoFix SH simulator to handle program exit correctly.
Jim Wilson [Sun, 22 Oct 1995 20:22:02 +0000 (20:22 +0000)]
Fix SH simulator to handle program exit correctly.

29 years agoshorten some multi directory names.
Michael Meissner [Sun, 22 Oct 1995 17:31:02 +0000 (17:31 +0000)]
shorten some multi directory names.

29 years agoshorten some multi directory names.
Michael Meissner [Sun, 22 Oct 1995 17:06:26 +0000 (17:06 +0000)]
shorten some multi directory names.

29 years agoIndicate SIGILL instead of calling abort for default case.
Jim Wilson [Sat, 21 Oct 1995 21:38:40 +0000 (21:38 +0000)]
Indicate SIGILL instead of calling abort for default case.

29 years ago * alpha-tdep.c, mips-tdep.c (init_extra_frame_info):
Peter Schauer [Sat, 21 Oct 1995 13:14:53 +0000 (13:14 +0000)]
* alpha-tdep.c, mips-tdep.c (init_extra_frame_info):
Do not set saved registers from heuristics for a sigtramp frame.

* dwarfread.c (enum_type):  Determine signedness of enum type
from enumerators.

* mips-tdep.c:  Include gdb_string.h, gcc -Wall lint.

* rs6000-nat.c (xcoff_relocate_core):  Fix typo.

* valops.c (value_repeat):  Fix length of memory transfer to
match recent allocate_repeat_value change.

29 years ago * binutils.texi: Change --with-targets to --enable-targets.
Ian Lance Taylor [Fri, 20 Oct 1995 22:42:21 +0000 (22:42 +0000)]
* binutils.texi: Change --with-targets to --enable-targets.

29 years agoupdate copyrights
Ken Raeburn [Fri, 20 Oct 1995 22:22:07 +0000 (22:22 +0000)]
update copyrights

29 years agoAdd -mcall-aixdesc variants
Michael Meissner [Fri, 20 Oct 1995 22:03:21 +0000 (22:03 +0000)]
Add -mcall-aixdesc variants

29 years ago * Makefile.in: Remove extraneous tab on otherwise empty line,
Fred Fish [Fri, 20 Oct 1995 20:58:45 +0000 (20:58 +0000)]
* Makefile.in:  Remove extraneous tab on otherwise empty line,
which confuses many non-GNU versions of "make".

29 years ago* opncls.c (_bfd_new_bfd): If _bfd_chunksize wasn't preset, use something a
Ken Raeburn [Fri, 20 Oct 1995 17:25:27 +0000 (17:25 +0000)]
* opncls.c (_bfd_new_bfd): If _bfd_chunksize wasn't preset, use something a
little less than the page size.

29 years ago*** empty log message ***
Fred Fish [Fri, 20 Oct 1995 16:16:18 +0000 (16:16 +0000)]
*** empty log message ***

29 years ago * gdbtypes.c (get_discrete_bounds): Fix typo.
Per Bothner [Fri, 20 Oct 1995 02:05:29 +0000 (02:05 +0000)]
* gdbtypes.c (get_discrete_bounds):  Fix typo.

29 years ago * defs.h (SEEK_SET, SEEK_CUR): Add default definitions.
Stan Shebs [Fri, 20 Oct 1995 01:43:31 +0000 (01:43 +0000)]
* defs.h (SEEK_SET, SEEK_CUR): Add default definitions.
* dbxread.c, mdebugread.c, os9kread.c (SEEK_SET, SEEK_CUR):
Remove default definitions.

29 years agoHitachi SH3e, patch to make FP registers debuggable.
Jim Wilson [Thu, 19 Oct 1995 23:29:59 +0000 (23:29 +0000)]
Hitachi SH3e, patch to make FP registers debuggable.

29 years ago * configure.in (i[345]86-*-win32): Always build newlib.
Steve Chamberlain [Thu, 19 Oct 1995 23:14:56 +0000 (23:14 +0000)]
* configure.in (i[345]86-*-win32): Always build newlib.
Don't configure cvs, autoconf or texinfo.
(really this time)

29 years ago * ldlex.l: Treat PROVIDE as a keyword in expression state.
Ian Lance Taylor [Thu, 19 Oct 1995 21:42:41 +0000 (21:42 +0000)]
* ldlex.l: Treat PROVIDE as a keyword in expression state.

29 years ago * Makefile.in (CC-LD): Rename to CC_LD, so MPW xform works.
Stan Shebs [Thu, 19 Oct 1995 19:54:44 +0000 (19:54 +0000)]
* Makefile.in (CC-LD): Rename to CC_LD, so MPW xform works.
(MMALLOC_SRC): Define.
(MMALLOC_CFLAGS): Use.
(ser-mac.o): Add rule.
* dwarfread.c, somread.c, ultra3-nat.c, xcoffread.c: Replace L_SET
  with SEEK_SET in all calls to bfd_seek.
* scm-tags.h (scm_tags): Remove excess comma.

29 years agoComings and goings of Mac-related files
Stan Shebs [Thu, 19 Oct 1995 19:31:18 +0000 (19:31 +0000)]
Comings and goings of Mac-related files

29 years ago * mpw-config.in: Adapt to work with autoconf'ed configury;
Stan Shebs [Thu, 19 Oct 1995 19:29:52 +0000 (19:29 +0000)]
* mpw-config.in: Adapt to work with autoconf'ed configury;
build config.h, add empty definitions to mk.tmp.
(powerpc-apple-macos): Make it work.
* mpw-make.sed: New file, sed commands to translate Unix makefile
into MPW syntax.
* mpw-make.in: Remove.
* mac-gdb.r: New file, was macgdb.r, renamed for consistency
with other tools, now includes cfrg resource.
* macgdb.r: Remove.
* config/m68k/xm-mpw.h: Remove most of contents, replace with
include of include/mpw/mpw.h.

29 years ago * mpw-config.in, mpw-make.sed: Remove ugly workaround for
Stan Shebs [Thu, 19 Oct 1995 18:11:54 +0000 (18:11 +0000)]
* mpw-config.in, mpw-make.sed: Remove ugly workaround for
ugly Metrowerks bug in CW6, is fixed in CW7.

29 years agoThu Oct 19 10:40:57 1995 steve chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Thu, 19 Oct 1995 17:43:46 +0000 (17:43 +0000)]
Thu Oct 19 10:40:57 1995  steve chamberlain  <sac@slash.cygnus.com>

* configure.in (i[345]86-*-win32): Always build newlib.
Don't configure cvs, autoconf or texinfo.
* Makefile.in (LD_FOR_TARGET): New.
(BASE_FLAGS_TO_PASS, EXTRA_TARGET_FLAGS, CONFIGURE_TARGET_MODULES):
Pass down LD_FOR_TARGET.

29 years ago * winsup. New directory.
Steve Chamberlain [Thu, 19 Oct 1995 00:39:43 +0000 (00:39 +0000)]
* winsup. New directory.
* Makefile.in: Build winsup.
* configure.in: Winsup is configured when target is win32.
Can only build win32 target GDB when native.

29 years ago * scripttempl/pe.sc (.bss): Move to be after .text
Steve Chamberlain [Thu, 19 Oct 1995 00:35:37 +0000 (00:35 +0000)]
* scripttempl/pe.sc (.bss): Move to be after .text

29 years agoWed Oct 18 15:53:56 1995 steve chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Wed, 18 Oct 1995 23:45:05 +0000 (23:45 +0000)]
Wed Oct 18 15:53:56 1995  steve chamberlain  <sac@slash.cygnus.com>

* winsup. New directory.
* Makefile.in: Build winsup.
* configure.in: Winsup is configured when target is win32.
Can only build win32 target GDB when native.

29 years agoWed Oct 18 16:20:08 1995 steve chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Wed, 18 Oct 1995 23:26:12 +0000 (23:26 +0000)]
Wed Oct 18 16:20:08 1995  steve chamberlain  <sac@slash.cygnus.com>

* coff-i386.c (coff_i386_reloc_type_lookup): New.
* coffcode.h (coff_write_object_contents): If .bss is before
.data us that as data_start.
* cofflink.c (_bfd_coff_generic_relocate_section): Get reloc
calc correct.
* peicode.h (add_data_entry): Use _cooked_size of data directory.
(coff_swap_outhdr_out): Hardwire in version number.

29 years ago* sunos.c (sunos_add_dynamic_symbols): Rename local variables major and minor
Ken Raeburn [Wed, 18 Oct 1995 21:32:53 +0000 (21:32 +0000)]
* sunos.c (sunos_add_dynamic_symbols): Rename local variables major and minor
to *_vno, since the former are also macros in SunOS header files.  Cast result
of bfd_alloc to appropriate type.

29 years agoobstack-per-frchain changes
Ken Raeburn [Wed, 18 Oct 1995 21:23:09 +0000 (21:23 +0000)]
obstack-per-frchain changes
stabs.c caching changes
obstack chunksize changes

29 years agoUse one active frag and one obstack per frag chain:
Ken Raeburn [Wed, 18 Oct 1995 21:21:38 +0000 (21:21 +0000)]
Use one active frag and one obstack per frag chain:

* frags.c (frags): Variable deleted.
(frag_alloc): New function.
(frag_grow, frag_more, frag_variant, frag_now_fix, frag_append_1_char): Refer
to frchain_now->frch_obstack instead of frags variable.
(frag_new): Ditto.  Verify that frch_last and frag_now match on entry and exit,
and that old frag_now has non-zero type.  Replace "know" uses with "assert".
Use frag_alloc instead of mucking with obstack alignment.
* frags.h (frags): Declaration deleted.
* subsegs.h (struct frchain): Add new field frch_frag_now.
* subsegs.c (frchains, dummy_frag, absolute_frchain): New static variables.
(subsegs_begin): Initialize frchains obstack.  Under gcc, don't give it any
stricter alignment than frchainS structures need.  Do not initialize frags
obstack.  Set frag_now to point to dummy_obstack.  Initialize absolute_frchain.
(subseg_set_rest): Save and restore frag_now in frch_frag_now field of
frchainS.  Don't create new frags on section switch, and use frag_alloc when
creating a new frag chain.  For absolute section, set frchain_now to
absolute_frchain.  Verify that frch_last and frag_now match on entry and exit.
Initialize per-chain obstack, and under gcc, set required alignment to that
needed by fragS structure.
* write.c (chain_frchains_together_1): Verify fr_type is nonzero.

In one test case of Mike's (i386-linux, over 300K lines of .s code with lots
of stabs records), run time and memory use are reduced by about 1/3.

Might introduce some problems in cases that use the frag obstacks in unusual
ways.  Test suite does pass for i386-linux and sparc-solaris targets though.

29 years ago* coffgen.c (coff_find_nearest_line): Cast used_by_bfd value before assigning
Ken Raeburn [Wed, 18 Oct 1995 20:53:24 +0000 (20:53 +0000)]
* coffgen.c (coff_find_nearest_line): Cast used_by_bfd value before assigning
to sec_data.

29 years agojaguar support.
David Edelsohn [Wed, 18 Oct 1995 20:23:39 +0000 (20:23 +0000)]
jaguar support.

29 years agofrag/obstack handling in tc-*.c; ignore -g for Alpha
Ken Raeburn [Wed, 18 Oct 1995 17:33:24 +0000 (17:33 +0000)]
frag/obstack handling in tc-*.c; ignore -g for Alpha

29 years ago * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
Jeff Law [Wed, 18 Oct 1995 17:31:26 +0000 (17:31 +0000)]
    * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
        makefile fragment.
        * config/mt-hpux: Deleted.

Because we longer need to statically link nodebug for hpux.

29 years ago * ecoff.c (_bfd_ecoff_find_nearest_line): The offset argument is
Ian Lance Taylor [Wed, 18 Oct 1995 17:29:38 +0000 (17:29 +0000)]
* ecoff.c (_bfd_ecoff_find_nearest_line): The offset argument is
now relative to the section, not absolute.
* ecofflink.c (_bfd_ecoff_locate_line): Use the right symbol to
get the file name when there is a N_SO directory name.  When
handling stabs, remember that section->vma was added to the
offset.
PR 8223.

29 years agokeep testsuite when doing "make distclean"
Ken Raeburn [Wed, 18 Oct 1995 17:25:31 +0000 (17:25 +0000)]
keep testsuite when doing "make distclean"

29 years ago* stabs.c (aout_process_stab): Insert debug symbol into symbol chain after
Ken Raeburn [Wed, 18 Oct 1995 16:26:46 +0000 (16:26 +0000)]
* stabs.c (aout_process_stab): Insert debug symbol into symbol chain after
parsing value expression, if any, to avoid separating continued .stabs lines.

29 years ago * hppa-tdep.c (frame_chain): Fix more obscure problems caused
Jeff Law [Wed, 18 Oct 1995 05:48:23 +0000 (05:48 +0000)]
    * hppa-tdep.c (frame_chain): Fix more obscure problems caused
        by system calls that core dump processes without saving all
        the register state.

29 years ago * Many files: When warning about suppressed tests due to a
Jeff Law [Wed, 18 Oct 1995 05:07:51 +0000 (05:07 +0000)]
    * Many files: When warning about suppressed tests due to a
        nonexistant test binary, avoid incrementing the warning count.

Fixes bogus UNRESOLVED test results.

29 years ago * emultempl/sunos.em (gld${EMULATION_NAME}_find_exp_assignment):
Ian Lance Taylor [Tue, 17 Oct 1995 22:38:50 +0000 (22:38 +0000)]
* emultempl/sunos.em (gld${EMULATION_NAME}_find_exp_assignment):
Search trinary.cond rather than searching trinary.lhs twice.  From
linli@ihp.PHys.ethz.CH.

29 years ago * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Move
Ian Lance Taylor [Tue, 17 Oct 1995 22:36:25 +0000 (22:36 +0000)]
* emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Move
directory searching code into gld${EMULATION_NAME}_search_dir.
(gld${EMULATION_NAME}_search_dir): New static function, extracted
from gld${EMULATION_NAME}_find_so.
(global_needed, global_found): New static variables.
(gld${EMULATION_NAME}_after_open): New static function.
(gld${EMULATION_NAME}_search_needed): New static function.
(gld${EMULATION_NAME}_try_needed): New static function.
(gld${EMULATION_NAME}_check_needed): New static function.
(ld_${EMULATION_NAME}_emulation): Use new after_open function.
* ld.texinfo, ld.1: Mention -rpath-link on SunOS.

29 years ago * sunos.c (struct sunos_link_hash_table): Add needed field.
Ian Lance Taylor [Tue, 17 Oct 1995 22:30:42 +0000 (22:30 +0000)]
* sunos.c (struct sunos_link_hash_table): Add needed field.
(sunos_link_hash_table_create): Call bfd_release, not free.
(sunos_link_hash_table_create): Initialize needed field.
(sunos_add_dynamic_symbols): Record needed objects.
(bfd_sunos_get_needed_list): New function.
* bfd-in.h (bfd_sunos_get_needed_list): Declare.
* bfd-in2.h: Rebuild.

29 years ago * config/pa/hppahpux.mt (XDEPFILES): Remove bogus definition.
Jeff Law [Tue, 17 Oct 1995 16:41:30 +0000 (16:41 +0000)]
    * config/pa/hppahpux.mt (XDEPFILES): Remove bogus definition.
        * config/pa/hppapro.mt (XDEPFILES): Likewise.

29 years ago * Makefile.in (eelf32ppc.c): Depend upon elf32.em, not generic.em.
Ian Lance Taylor [Tue, 17 Oct 1995 16:23:59 +0000 (16:23 +0000)]
* Makefile.in (eelf32ppc.c): Depend upon elf32.em, not generic.em.
(eelf32lppc.c): Likewise.
* emulparams/elf32lppc.sh (TEMPLATE_NAME): Define as elf32.
(GENERATE_SHLIB_SCRIPT): Define as yes.

29 years agoFix typo
Fred Fish [Tue, 17 Oct 1995 15:21:36 +0000 (15:21 +0000)]
Fix typo

29 years ago * configure.tgt (powerpc-*-aix*): New target; use aixppc.
Ian Lance Taylor [Mon, 16 Oct 1995 23:19:04 +0000 (23:19 +0000)]
* configure.tgt (powerpc-*-aix*): New target; use aixppc.
(rs6000-*-aix*): New target; use aixrs6.
* emulparams/aixppc.sh, emulparams/aixrs6.sh: New files.
* emultempl/aix.em: New file.
* scripttempl/aix.sc: New file.
* Makefile.in (ALL_EMULATIONS): Add eaixppc.o and eaixrs6.o.
(eaixppc.c, eaixrs6.c): New targets.

29 years ago * bfd-in.h (struct bfd_link_needed_list): Rename from
Ian Lance Taylor [Mon, 16 Oct 1995 23:10:56 +0000 (23:10 +0000)]
* bfd-in.h (struct bfd_link_needed_list): Rename from
bfd_elf_link_needed_list.
* bfd-in2.h: Rebuild.
* elf.c, elflink.h, libelf.h: Corresponding changes.

29 years ago Add start at AIX linker support; no shared libraries yet.
Ian Lance Taylor [Mon, 16 Oct 1995 21:54:48 +0000 (21:54 +0000)]
Add start at AIX linker support; no shared libraries yet.
* xcofflink.c: New file.
* configure.in (rs600coff_vec): Use xcofflink.o.
* configure: Rebuild.
* libcoff-in.h (struct xcoff_tdata): Add csects and debug_indices
fields.
(struct xcoff_section_tdata): Define.
(xcoff_section_data): Define macro.
(_bfd_xcoff_bfd_link_hash_table_create): Declare.
(_bfd_xcoff_bfd_link_add_symbols): Declare.
(_bfd_xcoff_bfd_final_link): Declare.
(_bfd_ppc_xcoff_relocate_section): Declare.
* libcoff.h: Rebuild.
* coff-rs6000.c: Clean up a bit.
(xcoff_mkobject): Default modtype to 1L, not RE.  Initialize
cputype, csects, and debug_indices.
(xcoff_copy_private_bfd_data): Copy cputype.
(xcoff_howto_table): Rename from rs6000coff_howto_table.
(xcoff_rtype2howto): Rename from rs6000coff_rtype2howto.
(xcoff_reloc_type_lookup): Rename from
rs6000coff_reloc_type_lookup.
(coff_relocate_section): Define.
(_bfd_xcoff_sizeof_headers): Define.
(_bfd_xcoff_bfd_get_relocated_section_contents): Define.
(_bfd_xcoff_bfd_relax_section): Define.
(_bfd_xcoff_bfd_link_split_section): Define.
(rs6000coff_vec): For BFD_JUMP_TABLE_LINK, use _bfd_xcoff, not
coff.
* coffcode.h (coff_compute_section_file_positions): If AIX,
increment sofar by SMALL_AOUTSZ if not executable.
(coff_write_object_contents): If AIX, always output an a.out
header; if not executable, header size of SMALL_AOUTSZ.
* hash.c (struct bfd_strtab_hash): Add xcoff field.
(_bfd_stringtab_init): Initialize xcoff field.
(_bfd_xcoff_stringtab_init): New function.
(_bfd_stringtab_add): In XCOFF mode, leave two bytes for length.
(_bfd_stringtab_emit): In XCOFF mode, write out length.
* libbfd-in.h (_bfd_xcoff_stringtab_init): Declare.
* libbfd.h: Rebuild.
* Makefile.in: Rebuild dependencies.
(BFD32_BACKENDS): Add xcofflink.o.
(CFILES): Add xcofflink.c.
ld -r works on hello, world.

29 years ago * libcoff-in.h (pe_data_type.in_reloc_p): New.
Steve Chamberlain [Mon, 16 Oct 1995 21:46:48 +0000 (21:46 +0000)]
* libcoff-in.h (pe_data_type.in_reloc_p): New.

29 years agoMove counting of instructions into the semantic routines.
Michael Meissner [Mon, 16 Oct 1995 21:36:01 +0000 (21:36 +0000)]
Move counting of instructions into the semantic routines.

29 years ago * rs6000.h (SMALL_AOUTSZ): Define.
Ian Lance Taylor [Mon, 16 Oct 1995 21:24:29 +0000 (21:24 +0000)]
* rs6000.h (SMALL_AOUTSZ): Define.

29 years agoSpeedups from Andrew
Michael Meissner [Mon, 16 Oct 1995 20:17:35 +0000 (20:17 +0000)]
Speedups from Andrew

29 years ago * remote-mips.c: Add support for speedy (about 10x faster)
Stu Grossman [Mon, 16 Oct 1995 19:02:41 +0000 (19:02 +0000)]
* remote-mips.c:  Add support for speedy (about 10x faster)
downloads.

29 years ago * remote-array.c: Move baud_rate initialization from
Stu Grossman [Mon, 16 Oct 1995 18:59:54 +0000 (18:59 +0000)]
* remote-array.c:  Move baud_rate initialization from
_initialize_array to array_open.  It was forcing the baud rate of
all targets to be 4800 baud!  Seems like I've fixed this before...
* config/mips/idt.mt (TDEPFILES):  Remove remote-array.o.  This
has *nothing* to do with IDT!!!