Ian Lance Taylor [Mon, 16 Oct 1995 21:24:29 +0000 (21:24 +0000)]
* rs6000.h (SMALL_AOUTSZ): Define.
Michael Meissner [Mon, 16 Oct 1995 20:17:35 +0000 (20:17 +0000)]
Speedups from Andrew
Stu Grossman [Mon, 16 Oct 1995 19:02:41 +0000 (19:02 +0000)]
* remote-mips.c: Add support for speedy (about 10x faster)
downloads.
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!!!
Stu Grossman [Mon, 16 Oct 1995 18:54:29 +0000 (18:54 +0000)]
* gdbtk.c (gdb_disassemble): Use fprintf_unfiltered instead of
fprintf_filtered.
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.
Stu Grossman [Mon, 16 Oct 1995 18:41:17 +0000 (18:41 +0000)]
* sparcl-tdep.c: Cleanup serial error handling.
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...
Michael Meissner [Mon, 16 Oct 1995 17:00:16 +0000 (17:00 +0000)]
Add flags for common/any support
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.
Ian Lance Taylor [Mon, 16 Oct 1995 15:12:53 +0000 (15:12 +0000)]
* internal.h (XMC_TD): Define.
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.
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>.
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.
Michael Meissner [Mon, 16 Oct 1995 11:44:45 +0000 (11:44 +0000)]
Fix last fixes #3
Michael Meissner [Mon, 16 Oct 1995 11:35:05 +0000 (11:35 +0000)]
Fix last fixes #2
Michael Meissner [Mon, 16 Oct 1995 11:23:34 +0000 (11:23 +0000)]
Fix last fixes
Michael Meissner [Mon, 16 Oct 1995 11:18:23 +0000 (11:18 +0000)]
Change error message
Michael Meissner [Mon, 16 Oct 1995 11:10:22 +0000 (11:10 +0000)]
Allow duplicate cmp instructions for -mcom
Michael Meissner [Mon, 16 Oct 1995 10:34:21 +0000 (10:34 +0000)]
spelling typo
Michael Meissner [Mon, 16 Oct 1995 10:27:49 +0000 (10:27 +0000)]
For -mcom, do not allow only POWER|PPC instructions.
Michael Meissner [Mon, 16 Oct 1995 02:09:01 +0000 (02:09 +0000)]
Add -mcom support.
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.
Michael Meissner [Sun, 15 Oct 1995 01:37:23 +0000 (01:37 +0000)]
Add in_reloc_p, cloned from coff-i386.c
Steve Chamberlain [Fri, 13 Oct 1995 22:06:30 +0000 (22:06 +0000)]
Add sim_set_callbacks.
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.
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.
Michael Meissner [Fri, 13 Oct 1995 20:11:35 +0000 (20:11 +0000)]
Do not give error message if dlltool was not built
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.
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.
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).
Michael Meissner [Fri, 13 Oct 1995 14:01:32 +0000 (14:01 +0000)]
Rename trace to ppc_trace; Remove extra static.
Michael Meissner [Fri, 13 Oct 1995 01:10:06 +0000 (01:10 +0000)]
Format #instructions with commas
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.
Michael Meissner [Thu, 12 Oct 1995 21:49:37 +0000 (21:49 +0000)]
Performance tweaks
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
Fred Fish [Thu, 12 Oct 1995 00:29:59 +0000 (00:29 +0000)]
* Makefile.in (VERSION): Bump version to 4.15.1
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.
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.
Michael Meissner [Wed, 11 Oct 1995 20:19:44 +0000 (20:19 +0000)]
Use standard set of libs for powerpc-*-eabisim.
Michael Meissner [Wed, 11 Oct 1995 20:17:49 +0000 (20:17 +0000)]
October 11th changes from Andrew
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.
Ian Lance Taylor [Tue, 10 Oct 1995 22:51:22 +0000 (22:51 +0000)]
x
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.
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.
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.
Fred Fish [Tue, 10 Oct 1995 20:44:07 +0000 (20:44 +0000)]
* Makefile.in (BISON): Remove macro.
Fred Fish [Tue, 10 Oct 1995 20:37:09 +0000 (20:37 +0000)]
* Makefile.in (BISONFLAGS): Remove macro.
Fred Fish [Tue, 10 Oct 1995 20:21:21 +0000 (20:21 +0000)]
Document changes
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
Fred Fish [Tue, 10 Oct 1995 20:19:44 +0000 (20:19 +0000)]
Regenerate
Fred Fish [Tue, 10 Oct 1995 20:19:37 +0000 (20:19 +0000)]
Add AC_PROG_YACC
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.
Fred Fish [Tue, 10 Oct 1995 19:23:54 +0000 (19:23 +0000)]
* Makefile.in (FLAGS_TO_PASS): Remote BISON.
Steve Chamberlain [Tue, 10 Oct 1995 17:21:18 +0000 (17:21 +0000)]
* emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Fix
fatal typos.
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.
Steve Chamberlain [Tue, 10 Oct 1995 15:49:23 +0000 (15:49 +0000)]
* complete.c (filename_completion_function): Enable for
win32 when not MSC.
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>.
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.
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.
Ian Lance Taylor [Tue, 10 Oct 1995 00:26:54 +0000 (00:26 +0000)]
build gas on AIX
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.
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.
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.
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-*-*.
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.
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.
Ian Lance Taylor [Mon, 9 Oct 1995 18:50:11 +0000 (18:50 +0000)]
* internal.h (struct internal_aouthdr): Add o_maxdata field.
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.
Michael Meissner [Mon, 9 Oct 1995 16:40:32 +0000 (16:40 +0000)]
Add support for building -mcall-aixdesc libraries.
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.
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.
Per Bothner [Mon, 9 Oct 1995 01:00:09 +0000 (01:00 +0000)]
* ch-exp.y (yylex): Also look for '$' following '$'.
Peter Schauer [Sun, 8 Oct 1995 11:27:49 +0000 (11:27 +0000)]
* configure.in: Explicitly `exit 0' for broken shells.
* configure: Rebuilt.
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*".
Peter Schauer [Sun, 8 Oct 1995 11:20:01 +0000 (11:20 +0000)]
* configure.in: Handle powerpc-ibm-aix* like rs6000-ibm-aix*.
Michael Meissner [Sun, 8 Oct 1995 02:53:24 +0000 (02:53 +0000)]
fix typo
Michael Meissner [Sun, 8 Oct 1995 02:42:39 +0000 (02:42 +0000)]
Add set_sim_callbacks new needed by gdb.
Michael Meissner [Sun, 8 Oct 1995 00:45:37 +0000 (00:45 +0000)]
Fix warnings under Linux
Michael Meissner [Sun, 8 Oct 1995 00:44:03 +0000 (00:44 +0000)]
Fix warnings under Linux
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.
Michael Meissner [Sat, 7 Oct 1995 02:52:25 +0000 (02:52 +0000)]
do not build aixdesc libs.
Jim Wilson [Sat, 7 Oct 1995 00:31:18 +0000 (00:31 +0000)]
Modify last patch based on advice from Stu.
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.
Ken Raeburn [Fri, 6 Oct 1995 22:39:14 +0000 (22:39 +0000)]
split change log
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.
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...
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.
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.
Michael Meissner [Fri, 6 Oct 1995 21:23:35 +0000 (21:23 +0000)]
Print exit status/signal number if -I
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'.
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.
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.
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.
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.
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.
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.
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.
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.
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.