platform/upstream/binutils.git
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!!!

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

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

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

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

29 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

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

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

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

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

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

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

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

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

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

29 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

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

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

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

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

29 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

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

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

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

29 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

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

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

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

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

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

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

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

29 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

29 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

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

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

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

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

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

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

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

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

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

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

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

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

29 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

29 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-*-*.

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

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

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

29 years ago * rs6000.h (AOUTHDR): Add o_maxdata field. Add comments.
Ian Lance Taylor [Mon, 9 Oct 1995 18:46:30 +0000 (18:46 +0000)]
* rs6000.h (AOUTHDR): Add o_maxdata field.  Add comments.
(_PAD, _LOADER): Define.
(STYP_LOADER): Define.

29 years agoAdd support for building -mcall-aixdesc libraries.
Michael Meissner [Mon, 9 Oct 1995 16:40:32 +0000 (16:40 +0000)]
Add support for building -mcall-aixdesc libraries.

29 years ago * coffcode.h (coff_slurp_symbol_table): Set BSF_NOT_AT_END for an
Ian Lance Taylor [Mon, 9 Oct 1995 15:40:38 +0000 (15:40 +0000)]
* coffcode.h (coff_slurp_symbol_table): Set BSF_NOT_AT_END for an
XCOFF XTY_LD symbol.

29 years ago * targets.c (bfd_target): Rename _bfd_read_ar_hdr field to
Ian Lance Taylor [Mon, 9 Oct 1995 15:29:04 +0000 (15:29 +0000)]
* targets.c (bfd_target): Rename _bfd_read_ar_hdr field to
_bfd_read_ar_hdr_fn.
* libbfd-in.h (_bfd_read_ar_hdr): Update accordingly.
* bfd-in2.h, libbfd.h: Rebuild.
* archive.c (_bfd_get_elt_at_filepos): Cast _bfd_read_ar_hdr
return value.
(do_slurp_bsd_armap, do_slurp_coff_armap): Likewise.
(bfd_slurp_bsd_armap_f2): Likewise.
(_bfd_slurp_extended_name_table): Likewise.

29 years ago * ch-exp.y (yylex): Also look for '$' following '$'.
Per Bothner [Mon, 9 Oct 1995 01:00:09 +0000 (01:00 +0000)]
* ch-exp.y (yylex):  Also look for '$' following '$'.

29 years ago * configure.in: Explicitly `exit 0' for broken shells.
Peter Schauer [Sun, 8 Oct 1995 11:27:49 +0000 (11:27 +0000)]
* configure.in:  Explicitly `exit 0' for broken shells.
* configure:  Rebuilt.

29 years ago * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
Peter Schauer [Sun, 8 Oct 1995 11:24:21 +0000 (11:24 +0000)]
* gdb.base/return.exp:  Change xfail from "sparc-*-solaris2.*" to
"sparc-*-solaris2*".

29 years ago * configure.in: Handle powerpc-ibm-aix* like rs6000-ibm-aix*.
Peter Schauer [Sun, 8 Oct 1995 11:20:01 +0000 (11:20 +0000)]
* configure.in:  Handle powerpc-ibm-aix* like rs6000-ibm-aix*.

29 years agofix typo
Michael Meissner [Sun, 8 Oct 1995 02:53:24 +0000 (02:53 +0000)]
fix typo

29 years agoAdd set_sim_callbacks new needed by gdb.
Michael Meissner [Sun, 8 Oct 1995 02:42:39 +0000 (02:42 +0000)]
Add set_sim_callbacks new needed by gdb.

29 years agoFix warnings under Linux
Michael Meissner [Sun, 8 Oct 1995 00:45:37 +0000 (00:45 +0000)]
Fix warnings under Linux

29 years agoFix warnings under Linux
Michael Meissner [Sun, 8 Oct 1995 00:44:03 +0000 (00:44 +0000)]
Fix warnings under Linux

29 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
Ian Lance Taylor [Sat, 7 Oct 1995 21:09:57 +0000 (21:09 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
bother searching for needed libraries unless doing a final link.

29 years agodo not build aixdesc libs.
Michael Meissner [Sat, 7 Oct 1995 02:52:25 +0000 (02:52 +0000)]
do not build aixdesc libs.

29 years agoModify last patch based on advice from Stu.
Jim Wilson [Sat, 7 Oct 1995 00:31:18 +0000 (00:31 +0000)]
Modify last patch based on advice from Stu.

29 years ago * top.c (execute_control_command): Use 0/1 instead of BFD's
Stan Shebs [Sat, 7 Oct 1995 00:27:31 +0000 (00:27 +0000)]
* top.c (execute_control_command): Use 0/1 instead of BFD's
true/false.

29 years agosplit change log
Ken Raeburn [Fri, 6 Oct 1995 22:39:14 +0000 (22:39 +0000)]
split change log

29 years ago * coffgen.c (coff_fix_symbol_name): Don't try to set up file
Ian Lance Taylor [Fri, 6 Oct 1995 22:35:01 +0000 (22:35 +0000)]
* coffgen.c (coff_fix_symbol_name): Don't try to set up file
auxent if there isn't one.
(coff_write_symbols): If there is no file auxent, use SYMNMLEN
rather than FILNMLEN as the maximum name length.

29 years ago * sparcl-stub.c: include sparclite.h to get access to register
Stu Grossman [Fri, 6 Oct 1995 21:51:20 +0000 (21:51 +0000)]
* sparcl-stub.c:  include sparclite.h to get access to register
fondling macros.
* (trap_low):  Save and restore FP regs if necessary.  Also, clean
up save and restore of debug unit regs.
* (hard_trap_info):  Add more architecturally defined traps.
* (set_debug_traps):  Only set FP disabled trap if FP is disabled.
* (get_in_break_mode):  Clean up.  Get rid of calls to
set_hw_breakpoint_trap().  Also, use write_asi macro
* (handle_exception):  Clean up `g' and `G' commands.  Add `P'
command.
* (hw_breakpoint):  Why was this here!?  It's gone now...

29 years agoMon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ken Raeburn [Fri, 6 Oct 1995 21:39:20 +0000 (21:39 +0000)]
Mon Sep 25 22:49:32 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* configure.in (AC_ARG_WITH(bfd-assembler)): Fix help message.

* config/obj-elf.c (obj_elf_common): Convert specified byte alignment to power
of two.  Set size of local bss symbol.

* config/tc-m68k.c (tc_gen_reloc): Fix typo in variable name.

29 years agoMon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ken Raeburn [Fri, 6 Oct 1995 21:30:51 +0000 (21:30 +0000)]
Mon Sep 25 22:49:32 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* archive.c (bfd_get_next_mapent): Return BFD_NO_MORE_SYMBOLS when the symbol
table is empty.

* elf32-m68k.c (elf_m68k_size_dynamic_sections): Don't reserve space for
section symbols, since we don't output them either.
(elf_m68k_adjust_dynindx): Removed.

* ptrace-core.c (rawptr): Make it a local variable of ptrace_unix_core_file_p.
* trad-core.c (rawptr): Likewise, for trad_unix_core_file_p.