Ian Lance Taylor
18f7e3dc7f
* config/tc-mips.c (md_apply_fix): Improve error message for out
...
of range branch.
1997-03-16 00:16:52 +00:00
Ian Lance Taylor
9591ad402a
* Makefile.in: Add dependencies on obstack.h where needed.
1997-03-16 00:15:01 +00:00
Ian Lance Taylor
9ef62ee107
x
1997-03-16 00:05:49 +00:00
Ian Lance Taylor
ea3f963dd6
* obstack.h: Update to current FSF version.
1997-03-16 00:00:59 +00:00
Ian Lance Taylor
c5a0d31a04
Sat Mar 15 18:10:38 1997 H.J. Lu <hjl@lucon.org>
...
* ldemul.h (ldemul_list_emulations): Use full prototype.
* ldlang.c (print_one_symbol): Add declaration.
* ldlang.h (dprint_statements): Declare.
* ldmain.c (remove_output): Declare.
* ldmisc.c (vfinfo): Declare.
* ldwrite.c (clone_section): Declare.
(split_sections): Make static. Declare.
* mri.c: Include libiberty.h.
(strdup): Don't declare.
(mri_alias): Use xstrdup rather than strdup.
1997-03-15 23:17:46 +00:00
Ian Lance Taylor
6784be526f
* arm-dis.c (print_insn_arm): Don't print instruction bytes.
...
(print_insn_big_arm): Set bytes_per_chunk and display_endian.
(print_insn_little_arm): Likewise.
1997-03-15 22:15:00 +00:00
Ian Lance Taylor
9793039fc6
Based on patches from Jamie Lokier <jamie@rebellion.co.uk>:
...
* objdump.c: Include "demangle.h".
(do_demangle): New static variable.
(usage): Mention -C/--demangle.
(long_options): Add "demangle".
(objdump_print_symname): New static function.
(objdump_print_addr_with_sym): Use objdump_print_symname.
(disassemble_bytes): Likewise.
(dump_reloc_set): Likewise.
(dump_symbols): Demangle symbol name.
(main): Handle -C.
* binutils.texi, objdump.1: Document -C/--demangle.
1997-03-15 21:50:56 +00:00
Ian Lance Taylor
5c59269f50
* objdump.c (usage): Mention --no-show-raw-insn.
...
(long_options): Add "no-show-raw-insn".
(disassemble_bytes): Handle --no-show-raw-insn.
* binutils.texi, objdump.1: Document --no-show-raw-insn.
1997-03-15 20:37:45 +00:00
Ian Lance Taylor
5e67a3c601
* elf32-mips.c (mips_elf_is_local_label_name): Accept the generic
...
ELF local label syntax as well.
1997-03-15 20:27:16 +00:00
Fred Fish
7305cacd49
* config.bfd (powerpc-*-beos*): New target.
...
* configure.in (powerpc-*-beos*): Add case that explicitly
does not set COREFILE for now. A future BeOS version is
expected to support core files.
* configure: Regenerate with autoconf.
1997-03-15 17:27:45 +00:00
Peter Schauer
ac7a8760f5
* breakpoint.c (insert_breakpoints, watchpoint_check,
...
bpstat_stop_status): Do not disable watchpoints going out of scope.
(insert_breakpoints): Make sure that the current frame is valid
before calling find_frame_addr_in_frame_chain.
* top.c (setup_user_args): Handle quotes and backslashes.
(print_gdb_version): Update copyright year.
1997-03-15 08:53:41 +00:00
Ian Lance Taylor
2adb092c95
* scripttempl/elfmips.sc: Change handling of data area when
...
generating a shared library to not skip a large block of memory.
From Per Fogelstrom <pefo@cvs.openbsd.org>.
1997-03-15 02:31:01 +00:00
Ian Lance Taylor
4813bbed2b
* elf32-mips.c (mips_elf_check_relocs): Give an error if CALL16 is
...
seen with a local symbol, rather than crashing.
1997-03-15 02:16:30 +00:00
Ian Lance Taylor
46a92fde53
* config/tc-mips.c (md_estimate_size_before_relax): Handle the
...
case of a symbol equated to another symbol when using SVR4_PIC.
1997-03-15 02:14:44 +00:00
Ian Lance Taylor
f56d634e29
* elfcode.h (elf_slurp_symbol_table): Don't try to read the
...
version symbols if there aren't any.
1997-03-14 21:46:39 +00:00
Ian Lance Taylor
a3ee56ec14
* Makefile.in (elfread.o): Depend upon elf-bfd.h and elf/mips.h.
1997-03-14 20:44:51 +00:00
Ian Lance Taylor
ef014e090f
* Makefile.in (TARG_CPU_DEP_sparc): Add opcode/sparc.h.
1997-03-14 20:34:08 +00:00
Ian Lance Taylor
5583be2433
* sparc.h: Include <ansidecl.h>. Update function declarations to
...
use prototypes, and to use const when appropriate.
1997-03-14 20:22:46 +00:00
Ian Lance Taylor
b6fab42bc2
Based on patches from H.J. Lu <hjl@lucon.org>:
...
* i386-dis.c (fetch_data): Add prototype.
* m68k-dis.c (fetch_data): Add prototype.
(dummy_print_address): Add prototype. Make static.
* ppc-opc.c (valid_bo): Add prototype.
* sparc-dis.c (build_hash_table): Add prototype.
(is_delayed_branch, compute_arch_mask): Add prototypes.
(print_insn_sparc): Make several local variables const.
(compare_opcodes): Change arguments to const PTR. Add prototype.
* sparc-opc.c (arg): Change name field to be const.
(lookup_name, lookup_value): Add prototypes. Change table and
name parameters to be const.
(sparc_encode_asi): Change name parameter to be const.
(sparc_encode_membar, sparc_encode_prefetch): Likewise.
(sparc_encode_sparclet_cpreg): Likewise.
(sparc_decode_asi): Change return type to be const.
(sparc_decode_membar, sparc_decode_prefetch): Likewise.
(sparc_decode_sparclet_cpreg): Likewise.
1997-03-14 20:21:19 +00:00
Tom Tromey
469640865d
* configure: Regenerated.
...
* configure.in (LIBS): Re-reverse order of TCL_LIBS and TK_LIBS.
1997-03-14 17:16:43 +00:00
Andrew Cagney
f3120217c8
Update names
1997-03-14 16:51:21 +00:00
Andrew Cagney
f5c7064ae7
Forgot to update *-n.h to sim-n*.h
1997-03-14 16:48:11 +00:00
Michael Meissner
eb312eff6e
Add comment to changelog
1997-03-14 16:24:02 +00:00
Michael Meissner
601fb8aea6
Regenerate simulator configure scripts; Remove d10v traps 1-3, Make 15 the system call trap, keeping 0 temporarily
1997-03-14 16:21:57 +00:00
Andrew Cagney
f2de7dfd8c
Add a number of per-simulator options: hostendian, endian, inline, warnings.
...
Rename *-n.h files to be dos compatible
1997-03-14 15:13:58 +00:00
Dawn Perchik
35a78bd09b
* utils.c(pollquit, notice_quit): If _WIN32, limit test for cntl-C
...
to wingdb.
(initialize_utils): If _WIN32, don't call ScreenRows and ScreenCols
except under wingdb. (Contributed by Martin Hunt).
1997-03-14 06:05:04 +00:00
Andrew Cagney
3df381976f
* ld-insn.c (parse_insn_format): Accept '*' as an alternative of
...
`/' in bit fields. `/' denotes a wild bit.
1997-03-14 02:00:07 +00:00
Fred Fish
4507d85857
* coff-tic80.c (coff_rtype_to_howto): Define
...
(coff_tic80_rtype_to_howto): Clone generic coff version and
add code to handle the funky TI "internal relocations".
1997-03-13 23:40:30 +00:00
David Edelsohn
8f2d2d61fa
Add some more comments.
1997-03-13 21:12:22 +00:00
David Edelsohn
0b0cc453a4
* interp.c (sim_open): New SIM_DESC result. Argument is now
...
in argv form.
(other sim_*): New SIM_DESC argument.
1997-03-13 21:01:38 +00:00
David Edelsohn
87ae64c3a3
* sim_calls.c (sim_open): New SIM_DESC result. Argument is now
...
in argv form.
(other sim_*): New SIM_DESC argument.
1997-03-13 20:59:29 +00:00
David Edelsohn
53b9417eb3
* interp.c (sim_open): New SIM_DESC result. Argument is now
...
in argv form.
(other sim_*): New SIM_DESC argument.
1997-03-13 20:55:26 +00:00
David Edelsohn
1520d7e9b9
* compile.c (sim_open): New SIM_DESC result. Argument is now in
...
argv form.
(other sim_*): New SIM_DESC argument.
1997-03-13 20:49:39 +00:00
David Edelsohn
323d0e9d8f
* interf.c (sim_open): New SIM_DESC result. Argument is now in
...
argv form.
(other sim_*): New SIM_DESC argument.
1997-03-13 20:47:43 +00:00
David Edelsohn
395adcffb2
* interp.c: Delete redundant prototypes of sim_foo fns.
...
(sim_open): New SIM_DESC result. Argument is now in argv form.
(other sim_*): New SIM_DESC argument.
1997-03-13 20:44:07 +00:00
David Edelsohn
a579d134ac
* wrapper.c (sim_open): Has result now.
...
(sim_*): New SIM_DESC argument.
1997-03-13 20:40:53 +00:00
Tom Tromey
f02156cf49
* configure: Regenerated.
...
* configure.in: Run AC_CONFIG_AUX_DIR before AC_CANONICAL_SYSTEM.
* config.in: Regenerated.
* acconfig.h (START_INFERIOR_TRAPS_EXPECTED, sys_quotactl,
HAVE_HPUX_THREAD_SUPPORT): Define.
* gdbtk.c (x_event): Use Tcl_DoOneEvent, TCL_DONT_WAIT,
TCL_ALL_EVENTS.
* configure: Regenerated.
* configure.in (ENABLE_GDBTK): Put TCL_LIBS after TK_LIBS in
LIBS.
1997-03-13 20:39:56 +00:00
David Edelsohn
499aa7921c
* run.c: #include "libiberty.h".
...
(main): New locals sd,no_args,sim_argv.
Run buildargv on -a option. Pass argv to sim_open, argv[0]
is program name. Update call to sim_set_callbacks.
Record result of sim_open, pass to other sim_foo routines.
1997-03-13 20:37:15 +00:00
Michael Meissner
f4b022d37c
Fix problems in setting the carry bit
1997-03-13 20:30:50 +00:00
David Edelsohn
286f83b430
* remote-sim.h (sim_state, SIM_DESC): New types.
...
(sim_open): Return a `descriptor' as result.
(*): New argument of descriptor result from sim_open.
* remote-sim.c (gdbsim_desc): Renamed from gdbsim_open_p.
(gdbsim_open): Record result of sim_open in gdbsim_desc.
Pass argv list to sim_open, argv[0] = pseudo program name.
(*): Pass gdbsim_desc to sim_foo fns.
1997-03-13 20:28:26 +00:00
Ian Lance Taylor
d428c89fdf
* read.c (read_a_source_file): Call LISTING_NEWLINE before
...
HANDLE_CONDITIONAL_ASSEMBLY when handling an MRI line label.
PR 11746.
1997-03-13 20:19:43 +00:00
Ian Lance Taylor
37897db02c
* elflink.h (elf_link_add_object_symbols): Don't warn about type
...
or size changes because of a weak symbol.
PR 11827.
1997-03-13 19:24:20 +00:00
Ian Lance Taylor
94ba939aae
* cisco-core.c (SIGEMT): Define if not defined.
1997-03-13 19:11:06 +00:00
David Edelsohn
efa8608055
Add copyright, tweak some comments.
1997-03-13 17:13:15 +00:00
Ian Lance Taylor
2e9974a450
* config/obj-elf.c (obj_elf_data): Call md_flush_pending_output
...
and md_elf_section_change_hook if they are defined.
(obj_elf_text, obj_elf_previous): Likewise.
1997-03-13 16:21:34 +00:00
Michael Meissner
fd435e9f09
Fix os_printf_filtered; Flush stdout after calling printf_filtered
1997-03-13 16:04:50 +00:00
Andrew Cagney
447a825b4f
New directory, devo/sim/testsuite - loose (sanitize) it for the moment.
1997-03-13 04:22:38 +00:00
Ian Lance Taylor
c8a8d3bb27
Wed Mar 12 21:44:19 1997 Eric Youngdale <eric@andante.jic.com>
...
* ld-elfvers/vers.exp, *: New tests for symbol versioning.
* config/default.exp: Set ar and strip.
1997-03-13 02:46:09 +00:00
Ian Lance Taylor
e549b1d2a3
* elflink.h (elf_link_add_object_symbols): Use extsymoff when
...
setting ever. Sanity check the version number. Sort out copying
flags and other information when adding an indirect symbol.
(NAME(bfd_elf,size_dynamic_sections)): Preserve any dynamic
symbols added by the backend. Clear the entire contents of the
versym section.
(elf_export_symbol): Ignore indirect symbols.
(elf_link_output_extsym): Accept a section without an owner in an
assert.
* elfcode.h (elf_slurp_symbol_table): Add a sanity check on the
version count. Correct the allocation of x_versymp.
1997-03-13 02:41:44 +00:00
Ian Lance Taylor
7d996a75d2
* elf32-mips.c (mips_elf_add_symbol_hook): Don't set the owner of
...
the magic sections used for SHN_MIPS_TEXT and SHN_MIPS_DATA.
Don't return bfd_und_section_ptr when info->shared.
(mips_elf_final_link): Set the alignment of .rtproc to 4, not 12.
(mips_elf_create_dynamic_sections): Correct type: ^= for &=.
(mips_elf_check_relocs): Resolve an indirect symbol in
sym_hashes.
(mips_elf_finish_dynamic_symbol): Don't change SHN_ABS into
SHN_MIPS_TEXT or SHN_MIPS_DATA.
1997-03-13 02:41:08 +00:00