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

29 years agoPrint exit status/signal number if -I
Michael Meissner [Fri, 6 Oct 1995 21:23:35 +0000 (21:23 +0000)]
Print exit status/signal number if -I

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

* m68k-dis.c (print_insn_m68k): Recognize all two-word instructions that take
no args by looking at the match mask.
(print_insn_arg): Always print "%" before register names.
[case 'c']: Use "nc" for the no-cache case, as recognized by gas.
[case '_']: Don't print "@#" before address.
[case 'J']: Use "%s" as format string, not register name.
[case 'B']: Treat place == 'C' like 'l' and 'L'.

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

* Makefile.in: Add dependecies for $(OBJS) on header files.

* cg_print.c (print_cycle, print_members, cg_print_index): Fix new style output
format to make it consistent.
* dummy.c (find_call): Fix typo in error message.

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

* nm.c (print_symname): Don't try to demangle an empty name.
* objdump.c (slurp_symtab): Reset symcount if there are no symbols.
(slurp_dynamic_symtab): Likewise, for dynsymcount.
(disassemble_data): Fix memory leak: free sorted_syms when done.
(display_bfd): Likewise, for syms and dynsyms.
(dump_relocs): Don't print header before possibly generating an error message.
(dump_dynamic_relocs): Likewise.

* ar.1, nm.1, objdump.1, size.1, strings.1, strip.1: Fix typos and formatting
bugs.

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

* ld/ld.1: Fix formatting bugs.

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

* config.sub (arm | armel | armeb): Fix shell syntax.

29 years ago * coffcode.h (bfd_coff_backend_data): Add new field
Ian Lance Taylor [Fri, 6 Oct 1995 20:36:26 +0000 (20:36 +0000)]
* coffcode.h (bfd_coff_backend_data): Add new field
_bfd_coff_print_aux.
(bfd_coff_print_aux): New static function.
(coff_pointerize_aux_hook (RS6000COFF_C version)): Pointerize the
scnlen field of an XTY_LD csect aux entry.
(coff_print_aux): New static function.
(coff_slurp_symbol_table): Don't pointerize scnlen field; now done
in coff_pointerize_aux_hook.
(bfd_coff_std_swap_table): Initialize new field.
* coffgen.c (coff_print_symbol): Call bfd_coff_print_aux.
* libcoff.h: Rebuild.
* coff-alpha.c (alpha_ecoff_backend_data): Initialize new field.
* coff-mips.c (mips_ecoff_backend_data): Likewise.

29 years ago * coffcode.h (coff_write_object_contents): On AIX, clear F_RELFLG
Ian Lance Taylor [Fri, 6 Oct 1995 19:49:48 +0000 (19:49 +0000)]
* coffcode.h (coff_write_object_contents): On AIX, clear F_RELFLG
if there are symbols, for native AIX ld compatibility.

29 years ago * sb.c, macro.c: Decide whether to include <string.h> or
Ian Lance Taylor [Fri, 6 Oct 1995 19:25:15 +0000 (19:25 +0000)]
* sb.c, macro.c: Decide whether to include <string.h> or
<strings.h> just as as.h does.

29 years ago * coffcode.h (bfd_coff_backend_data): Add new field
Ian Lance Taylor [Fri, 6 Oct 1995 19:19:48 +0000 (19:19 +0000)]
* coffcode.h (bfd_coff_backend_data): Add new field
_bfd_coff_pointerize_aux_hook.
(coff_pointerize_aux_hook): Define as a function if RS6000COFF_C
or I960, and as 0 otherwise.
(bfd_coff_std_swap_table): Initialize new field.
* libcoff.h: Rebuild.
* coffgen.c (coff_pointerize_aux): Change parameters  to take
symbol pointer instead of type and class, and to take aux index.
Call _bfd_coff_pointerize_aux_hook if it is defined.
(coff_get_normalized_symtab): Always call coff_pointerize_aux.
* coff-alpha.c (alpha_ecoff_backend_data): Initialize all fields.
* coff-mips.c (mips_ecoff_backend_data): Likewise.

29 years ago * interp.c (callback): Remove last change. It is initialized by
Jim Wilson [Fri, 6 Oct 1995 19:15:06 +0000 (19:15 +0000)]
* interp.c (callback): Remove last change.  It is initialized by
a sim_set_callbacks call.

29 years ago * interp.c (trap, case SYS_utime): Cast second arg of utime to
Jim Wilson [Fri, 6 Oct 1995 19:13:13 +0000 (19:13 +0000)]
* interp.c (trap, case SYS_utime): Cast second arg of utime to
void * to avoid compiler error.