]> git.ipfire.org Git - thirdparty/binutils-gdb.git/log
thirdparty/binutils-gdb.git
28 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.

28 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

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

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

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

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

28 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

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

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

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

28 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

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

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

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

28 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

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

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

28 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"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

28 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!!!

28 years ago * gdbtk.c (gdb_disassemble): Use fprintf_unfiltered instead of
Stu Grossman [Mon, 16 Oct 1995 18:54:29 +0000 (18:54 +0000)] 
* gdbtk.c (gdb_disassemble):  Use fprintf_unfiltered instead of
fprintf_filtered.

28 years ago * Makefile.in sh3-rom.c config/sh/sh.mt config/sh/tm-sh.h: Add
Stu Grossman [Mon, 16 Oct 1995 18:51:15 +0000 (18:51 +0000)] 
* Makefile.in sh3-rom.c config/sh/sh.mt config/sh/tm-sh.h:  Add
sh3 monitor support.
* monitor.c:  Cleanup regexp compilation stuff to make it easier
to use several regexps.
* monitor.h:  Get rid of struct rom_cmd_data.  It's no longer used.
* config/m68k/tm-monitor.h:  Don't redefine NUM_REGS here.  It just
causes GDB to crash.

28 years ago * sparcl-tdep.c: Cleanup serial error handling.
Stu Grossman [Mon, 16 Oct 1995 18:41:17 +0000 (18:41 +0000)] 
* sparcl-tdep.c:  Cleanup serial error handling.

28 years ago * dcache.c: Change default value of remotecache to off. It just
Stu Grossman [Mon, 16 Oct 1995 18:25:19 +0000 (18:25 +0000)] 
* dcache.c:  Change default value of remotecache to off.  It just
screws up too many targets.
* sparcl-stub.c:  Add prototypes to many forward decls.
* Create private copies of strlen, strcpy, and memcpy to prevent
chaos when user steps into them.
* (trap_low handle_exception):  Clean up DSU support code
(hardware breakpoints).  Move lots of stuff from asm-land to
C-land (make it much easier to #ifdef if necessary).  Also, use
trap 255 to get into break mode instead of doing a DSU register
write, which may trash the register.
* (putpacket):  Don't check return value of putDebugChar.  It
returns void...

28 years agoAdd flags for common/any support
Michael Meissner [Mon, 16 Oct 1995 17:00:16 +0000 (17:00 +0000)] 
Add flags for common/any support

28 years ago * config.guess: Recognize HP model 819 machines has having
Jeff Law [Mon, 16 Oct 1995 15:49:13 +0000 (15:49 +0000)] 
    * config.guess: Recognize HP model 819 machines has having
        a PA 1.1 processor.
Already in the official version at the FSF.

28 years ago * internal.h (XMC_TD): Define.
Ian Lance Taylor [Mon, 16 Oct 1995 15:12:53 +0000 (15:12 +0000)] 
* internal.h (XMC_TD): Define.

28 years ago * config/tc-mips.c (mips_elf_pseudo_table): Remove.
Ian Lance Taylor [Mon, 16 Oct 1995 14:57:35 +0000 (14:57 +0000)] 
* config/tc-mips.c (mips_elf_pseudo_table): Remove.
(mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.

28 years ago * elf32-mips.c (mips_elf_symbol_processing): Set SEC_ALLOC, not
Ian Lance Taylor [Mon, 16 Oct 1995 14:54:17 +0000 (14:54 +0000)] 
* elf32-mips.c (mips_elf_symbol_processing): Set SEC_ALLOC, not
SEC_NO_FLAGS, for .acommon section.  From Peter Schauer
<Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>.

28 years ago * configure: Fix sed loop which substitutes for CC and CXX to
Ian Lance Taylor [Mon, 16 Oct 1995 14:50:53 +0000 (14:50 +0000)] 
* configure: Fix sed loop which substitutes for CC and CXX to
avoid bug found in various sed implementations.

28 years agoFix last fixes #3
Michael Meissner [Mon, 16 Oct 1995 11:44:45 +0000 (11:44 +0000)] 
Fix last fixes #3

28 years agoFix last fixes #2
Michael Meissner [Mon, 16 Oct 1995 11:35:05 +0000 (11:35 +0000)] 
Fix last fixes #2

28 years agoFix last fixes
Michael Meissner [Mon, 16 Oct 1995 11:23:34 +0000 (11:23 +0000)] 
Fix last fixes

28 years agoChange error message
Michael Meissner [Mon, 16 Oct 1995 11:18:23 +0000 (11:18 +0000)] 
Change error message

28 years agoAllow duplicate cmp instructions for -mcom
Michael Meissner [Mon, 16 Oct 1995 11:10:22 +0000 (11:10 +0000)] 
Allow duplicate cmp instructions for -mcom

28 years agospelling typo
Michael Meissner [Mon, 16 Oct 1995 10:34:21 +0000 (10:34 +0000)] 
spelling typo

28 years agoFor -mcom, do not allow only POWER|PPC instructions.
Michael Meissner [Mon, 16 Oct 1995 10:27:49 +0000 (10:27 +0000)] 
For -mcom, do not allow only POWER|PPC instructions.

28 years agoAdd -mcom support.
Michael Meissner [Mon, 16 Oct 1995 02:09:01 +0000 (02:09 +0000)] 
Add -mcom support.

28 years ago * rs6000-tdep.c: Don't include a.out.h, improve some formatting.
Stan Shebs [Sun, 15 Oct 1995 23:23:01 +0000 (23:23 +0000)] 
* rs6000-tdep.c: Don't include a.out.h, improve some formatting.

28 years agoAdd in_reloc_p, cloned from coff-i386.c
Michael Meissner [Sun, 15 Oct 1995 01:37:23 +0000 (01:37 +0000)] 
Add in_reloc_p, cloned from coff-i386.c

28 years ago Add sim_set_callbacks.
Steve Chamberlain [Fri, 13 Oct 1995 22:06:30 +0000 (22:06 +0000)] 
Add sim_set_callbacks.

28 years agoUse system page size for obstack chunk size instead of 128, permitting override
Ken Raeburn [Fri, 13 Oct 1995 22:03:11 +0000 (22:03 +0000)] 
Use system page size for obstack chunk size instead of 128, permitting override
by application.

Include missing patch from Andreas Schwab's changes.

Fix up minor configuration problems.

28 years ago * srcwin.cpp (CSrcScroll1::OnDraw): Don't show disabled
Steve Chamberlain [Fri, 13 Oct 1995 21:15:18 +0000 (21:15 +0000)] 
* srcwin.cpp (CSrcScroll1::OnDraw): Don't show disabled
splats unless a breakpoint is possible.
* gui.mak: Include mips config.
* prebuilt/mips/elf32-target.h: Regenerated.

28 years agoDo not give error message if dlltool was not built
Michael Meissner [Fri, 13 Oct 1995 20:11:35 +0000 (20:11 +0000)] 
Do not give error message if dlltool was not built

28 years agoFri Oct 13 11:22:01 1995 steve chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Fri, 13 Oct 1995 18:28:31 +0000 (18:28 +0000)] 
Fri Oct 13 11:22:01 1995  steve chamberlain  <sac@slash.cygnus.com>

* coff-arm.c (in_reloc_p): New.
* coff-i386.c (in_reloc_p): New.
* coffcode.h: Allways include peicode.h if COFF_WITH_PE.
(coff_write_object_contents): Only set has_reloc_section
if PE_IMAGE.
* cofflink.c (_bfd_coff_generic_relocate_section): Call
in_reloc_p to decide if reloc should be emitted.
* libcoff.h (pe_data_type.in_reloc_p): New.
* peicode.h (pe_mkobject): Initialize in_reloc_p.

28 years agoFri Oct 13 11:04:37 1995 steve chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Fri, 13 Oct 1995 18:08:46 +0000 (18:08 +0000)] 
Fri Oct 13 11:04:37 1995  steve chamberlain  <sac@slash.cygnus.com>

* deflex.l: Allow quoting of IDs.
* defparse.y (%union): string deleted.
(command): DESCRIPTION takes ID.
* dlltool.c (gen_def_file): Quote outgoing name if
necessary.  Preserve NONAME.
(gen_lib_file): Run ranlib.
(workout_prefix): Deleted.
(main, usage, long_options): Add --as, --ranlib, --ar options.

28 years ago * somsolib.c (som_solib_add): Just give a warning if a file
Jeff Law [Fri, 13 Oct 1995 17:05:53 +0000 (17:05 +0000)] 
    * somsolib.c (som_solib_add): Just give a warning if a file
        mentioned in the dld_list can't be found.
Warning seems more reasonable than croaking.

        * config/pa/tm-hppah.h (FRAME_SAVED_PC_IN_SIGTRAMP): Dig out
        the PC from the PC queues rather than %r31.
Fixes net bug.  Might also fix one of the hpux10 corefile.exp failures,
not sure (will test when I get back monday morning).

28 years agoRename trace to ppc_trace; Remove extra static.
Michael Meissner [Fri, 13 Oct 1995 14:01:32 +0000 (14:01 +0000)] 
Rename trace to ppc_trace; Remove extra static.

28 years agoFormat #instructions with commas
Michael Meissner [Fri, 13 Oct 1995 01:10:06 +0000 (01:10 +0000)] 
Format #instructions with commas

28 years ago * corelow.c (core_open): Don't update the to_sections and
Jeff Law [Thu, 12 Oct 1995 23:26:06 +0000 (23:26 +0000)] 
    * corelow.c (core_open): Don't update the to_sections and
        to_sections_end fields in core_ops here.  It's too late.
        * irix5-nat.c (solib_add): Update the to_sections and
        to_sections_end fields in core_ops here if needed.
        * osfsolib.c (solib_add): Likewise.
        * rs6000-nat.c (xcoff_reload_core): Likewise.
        * solib.c (solib_add): Likewise.
        * somsolib.c (solib_add): Likewise.

28 years agoPerformance tweaks
Michael Meissner [Thu, 12 Oct 1995 21:49:37 +0000 (21:49 +0000)] 
Performance tweaks

28 years agoInline most things except semantics which causes GCC to balloon, and device{s,_tree...
Michael Meissner [Thu, 12 Oct 1995 15:48:22 +0000 (15:48 +0000)] 
Inline most things except semantics which causes GCC to balloon, and device{s,_tree} which causes a bug

28 years ago * Makefile.in (VERSION): Bump version to 4.15.1
Fred Fish [Thu, 12 Oct 1995 00:29:59 +0000 (00:29 +0000)] 
* Makefile.in (VERSION): Bump version to 4.15.1

28 years ago * Makefile.in (VERSION): Version 4.15 released.
Fred Fish [Wed, 11 Oct 1995 22:27:33 +0000 (22:27 +0000)] 
* Makefile.in (VERSION): Version 4.15 released.
* README: Updated for version 4.15.
* README.GDBTK: Updated for version 4.15
* NEWS: Updated for 4.15 release.

28 years agoWed Oct 11 13:36:13 1995 steve chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Wed, 11 Oct 1995 20:40:45 +0000 (20:40 +0000)] 
Wed Oct 11 13:36:13 1995  steve chamberlain  <sac@slash.cygnus.com>

* dlltool.c (mtable): HOW_ALIGN_LONG, new.
(d_ord): Deleted.
(d_low_ord, d_high_ord, d_named_funcs): New.
(gen_exp_file): Create noname entries correctly.
(gen_lib_file): Dump exports alphabetically.
(process_duplicates):  Count nonamed functions.
(fill_ordinals): Keep track of highest ord too.
(mangle_defs): Create alphabetically ordered list of names.

28 years agoUse standard set of libs for powerpc-*-eabisim.
Michael Meissner [Wed, 11 Oct 1995 20:19:44 +0000 (20:19 +0000)] 
Use standard set of libs for powerpc-*-eabisim.

28 years agoOctober 11th changes from Andrew
Michael Meissner [Wed, 11 Oct 1995 20:17:49 +0000 (20:17 +0000)] 
October 11th changes from Andrew

28 years ago * elflink.h (elf_link_add_object_symbols): Correct conditions
Ian Lance Taylor [Wed, 11 Oct 1995 04:50:20 +0000 (04:50 +0000)] 
* elflink.h (elf_link_add_object_symbols): Correct conditions
under which type and size change warnings are issued.

28 years agox
Ian Lance Taylor [Tue, 10 Oct 1995 22:51:22 +0000 (22:51 +0000)] 
x

28 years ago * coffgen.c (coff_count_linenumbers): Don't count line numbers for
Ian Lance Taylor [Tue, 10 Oct 1995 22:49:38 +0000 (22:49 +0000)] 
* coffgen.c (coff_count_linenumbers): Don't count line numbers for
a symbol which is not in a real section.
(coff_write_native_symbol): Corresponding change.

28 years ago * cofflink.c (_bfd_coff_link_hash_newfunc): Rename from
Ian Lance Taylor [Tue, 10 Oct 1995 22:47:49 +0000 (22:47 +0000)] 
* cofflink.c (_bfd_coff_link_hash_newfunc): Rename from
coff_link_hash_newfunc and make non-static.
(_bfd_coff_link_hash_table_init): New function, broken out of
_bfd_coff_link_hash_table_create.
(_bfd_coff_link_hash_table_create): Use it.
(process_embedded_commands): Make static.
* libcoff-in.h ((_bfd_coff_link_hash_newfunc): Declare.
(_bfd_coff_link_hash_table_init): Declare.

* libcoff-in.h (struct xcoff_tdata): Add cputype field.
* libcoff.h: Rebuild.

28 years ago * ldlang.c (lang_finish): Don't try to use an entry_symbol from a
Ian Lance Taylor [Tue, 10 Oct 1995 21:54:24 +0000 (21:54 +0000)] 
* ldlang.c (lang_finish): Don't try to use an entry_symbol from a
section which was not linked into the final output.
PR 8172.

28 years ago * Makefile.in (BISON): Remove macro.
Fred Fish [Tue, 10 Oct 1995 20:44:07 +0000 (20:44 +0000)] 
* Makefile.in (BISON): Remove macro.

28 years ago * Makefile.in (BISONFLAGS): Remove macro.
Fred Fish [Tue, 10 Oct 1995 20:37:09 +0000 (20:37 +0000)] 
* Makefile.in (BISONFLAGS): Remove macro.

28 years agoDocument changes
Fred Fish [Tue, 10 Oct 1995 20:21:21 +0000 (20:21 +0000)] 
Document changes

28 years ago * Makefile.in (BISON): Remove macro definition.
Fred Fish [Tue, 10 Oct 1995 20:20:04 +0000 (20:20 +0000)] 
    * Makefile.in (BISON):  Remove macro definition.
        (YACC):  Set from autoconfig.
        (FLAGS_TO_PASS):  Remove BISON.
        (TARGET_FLAGS_TO_PASS):  Remove BISON

28 years agoRegenerate
Fred Fish [Tue, 10 Oct 1995 20:19:44 +0000 (20:19 +0000)] 
Regenerate

28 years agoAdd AC_PROG_YACC
Fred Fish [Tue, 10 Oct 1995 20:19:37 +0000 (20:19 +0000)] 
Add AC_PROG_YACC

28 years agoTue Oct 10 12:25:11 1995 steve chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Tue, 10 Oct 1995 19:33:04 +0000 (19:33 +0000)] 
Tue Oct 10 12:25:11 1995  steve chamberlain  <sac@slash.cygnus.com>

* win32-nat.c (child_create_inferior): Pass argv correctly.
* Makefile.in (win32-nat.o): Add dependencies.

28 years ago * Makefile.in (FLAGS_TO_PASS): Remote BISON.
Fred Fish [Tue, 10 Oct 1995 19:23:54 +0000 (19:23 +0000)] 
* Makefile.in (FLAGS_TO_PASS):  Remote BISON.

28 years ago * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Fix
Steve Chamberlain [Tue, 10 Oct 1995 17:21:18 +0000 (17:21 +0000)] 
* emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Fix
fatal typos.

28 years agoTue Oct 10 09:39:09 1995 steve chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Tue, 10 Oct 1995 16:39:35 +0000 (16:39 +0000)] 
Tue Oct 10 09:39:09 1995  steve chamberlain  <sac@slash.cygnus.com>

* Makefile.in (TOOL_PROGS): Include DLLTOOL_PROG.

28 years ago * complete.c (filename_completion_function): Enable for
Steve Chamberlain [Tue, 10 Oct 1995 15:49:23 +0000 (15:49 +0000)] 
* complete.c (filename_completion_function): Enable for
win32 when not MSC.

28 years ago * config/tc-mips.c: Correct s_cons arguments. From Michael
Ian Lance Taylor [Tue, 10 Oct 1995 15:35:30 +0000 (15:35 +0000)] 
* config/tc-mips.c: Correct s_cons arguments.  From Michael
Joosten <joost@ori.cadlab.de>.

28 years ago * elflink.h (elf_link_add_object_symbols): Don't warn about
Ian Lance Taylor [Tue, 10 Oct 1995 05:30:17 +0000 (05:30 +0000)] 
* elflink.h (elf_link_add_object_symbols): Don't warn about
changing the size or type if the old definition was weak.

28 years ago * ld.h (args_type): Add rpath_link field.
Ian Lance Taylor [Tue, 10 Oct 1995 05:05:18 +0000 (05:05 +0000)] 
* ld.h (args_type): Add rpath_link field.
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search for
required dependencies in rpath_link path.  Only search
LD_LIBRARY_PATH when configured native.
* lexsup.c (parse_args): Recognize -rpath-link.
* ld.1, ld.texinfo: Document -rpath-link.

28 years agobuild gas on AIX
Ian Lance Taylor [Tue, 10 Oct 1995 00:26:54 +0000 (00:26 +0000)] 
build gas on AIX

28 years ago * config/tc-ppc.c (ppc_macro): Make count unsigned.
Ian Lance Taylor [Tue, 10 Oct 1995 00:25:16 +0000 (00:25 +0000)] 
* config/tc-ppc.c (ppc_macro): Make count unsigned.
(ppc_biei): Set segment to now_seg and value to coff_n_line_nos.
(ppc_frob_symbol): Handle C_BINCL and C_EINCL symbols by setting
the fix_line field.
* config/obj-coff.c (coff_n_line_nos): Rename from n_line_nos, and
make non-static.  Change all users.
* config/obj-coff.h (coff_n_line_nos): Declare.

28 years ago * coffcode.h (combined_entry_type): Add fix_line field.
Ian Lance Taylor [Mon, 9 Oct 1995 23:32:22 +0000 (23:32 +0000)] 
* coffcode.h (combined_entry_type): Add fix_line field.
(coff_slurp_line_table): Warn if we try to set the lineno field of
a symbol twice.
(coff_slurp_symbol_table): If RS6000COFF_C, handle C_BINCL and
C_EINCL by setting fix_line.  Fix C_BSTAT symbol value.
* coffgen.c (coff_mangle_symbols): Handle fix_line.
(coff_write_symbol): Only use N_DEBUG if the symbol is in the
absolute section.
(coff_print_symbol): Print fix_value symbols in a useful fashion.
* libcoff.h: Rebuild.

28 years ago * NEWS: Add information about win32 and arm code.
Steve Chamberlain [Mon, 9 Oct 1995 21:54:26 +0000 (21:54 +0000)] 
* NEWS:  Add information about win32 and arm code.
* win32-nat.c: Renamed from win32.c
* config/i386/win32.mh: Renamed from config/i386/i386win32.mh.
* config/i386/win32.mt: Renamed from config/i386/i386win32.mt.
* config/i386/tm-win32.h: Renamed from config/i386/tm-i386win32.h.
* config/i386/xm-win32.h: Renamed from config/i386/xm-i386win32.h.
* configure.in (i[345]86-*-win32): Updated to cope with filename changes.
* configure: Regenerated.

28 years ago * configure.in: Stop putting binutils in noconfigdirs for
Ian Lance Taylor [Mon, 9 Oct 1995 21:23:34 +0000 (21:23 +0000)] 
* configure.in: Stop putting binutils in noconfigdirs for
powerpc-*-aix* and rs6000-*-*.

28 years ago * libcoff-in.h (struct xcoff_tdata): Define.
Ian Lance Taylor [Mon, 9 Oct 1995 21:19:53 +0000 (21:19 +0000)] 
* libcoff-in.h (struct xcoff_tdata): Define.
(xcoff_data): Define.
* bfd.c (struct _bfd): Add xcoff_obj_data field to tdata union.
* bfd-in2.h, libcoff.h: Rebuild.
* coff-rs6000.c (xcoff_mkobject): New static function.
(coff_mkobject): Define.
(xcoff_copy_private_bfd_data): New static function.
(coff_bfd_copy_private_bfd_data): Define.
(rs6000coff_howto_table): Change R_TOC complain_on_overflow from
signed to bitfield.
(rs6000coff_vec): Add DYNAMIC to object_flags.
* coffcode.h (sec_to_styp_flags): If RS6000COFF_C, handle .pad and
.loader sections specially.
(coff_new_section_hook): If RS6000COFF_C, get the .text and .data
section alignment from the XCOFF tdata information.
(coff_mkobject_hook): If RS6000COFF_C, set DYNAMIC based on
F_SHROBJ, and copy the extra a.out header information into the
XCOFF tdata structure.
(coff_write_object_contents): If RS6000COFF_C, set F_SHROBJ,
F_DYNLOAD and the extra a.out header information.
(coff_slurp_symbol_table): Set BSF_NOT_AT_END for a C_EXT or
C_HIDEXT symbol with attached csect information.
* coffswap.h (coff_swap_aouthdr_in): If RS6000COFF_C, swap
in the o_maxdata field.
(coff_swap_aouthdr_out): If RS6000COFF_C, swap extra XCOFF fields.
* coffgen.c (coff_renumber_symbols): Don't move any symbol to the
end if BSF_NOT_AT_END is set.

28 years agoMon Oct 9 13:06:31 1995 steve chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Mon, 9 Oct 1995 20:08:13 +0000 (20:08 +0000)] 
Mon Oct  9 13:06:31 1995  steve chamberlain  <sac@slash.cygnus.com>

* dlltool.c (add_underscore): New.
(xlate): Use new name.
(main, usage): Update.

28 years ago * internal.h (struct internal_aouthdr): Add o_maxdata field.
Ian Lance Taylor [Mon, 9 Oct 1995 18:50:11 +0000 (18:50 +0000)] 
* internal.h (struct internal_aouthdr): Add o_maxdata field.