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
Ian Lance Taylor
d7339c87a6
* ldmain.c (multiple_definition): Only skip the warning if the
...
output section is absolute when the input section is not
absolute.
* ldlex.l: Accept whitespace in VERS_START state. Warn about
invalid characters in VERS_* states.
1997-03-13 02:34:33 +00:00
Jeff Law
0ade484f98
* simops.c: Fix carry bit computation for "add" instructions.
...
More bugs exposed by new mn10300 compiler optimizations.
1997-03-12 22:20:13 +00:00
Jeff Law
09eef8af93
* simops.c: Fix typos in bset insns. Fix arguments to store_mem
...
for bset imm8,(d8,an) and bclr imm8,(d8,an).
Bugs exposed by new compiler optimizations.
1997-03-12 22:05:49 +00:00
Ian Lance Taylor
80633e8e2a
* doc/as.texinfo (bss): Improve description of .bss section. In
...
ELF or COFF, you are permitted to switch into the section.
(Comm): Rewrite description of common symbols.
(Lcomm): Mention that some targets permit a third argument.
1997-03-12 16:41:26 +00:00
Andrew Cagney
6d68593763
Extend callback interface to support vprintf, flush and error printing.
...
Corresponding change for gdb directory can be checked in later.
1997-03-12 12:27:30 +00:00
Ian Lance Taylor
9be8c0f160
* config/tc-ppc.c (ppc_elf_lcomm): Don't call S_CLEAR_EXTERNAL.
...
PR 11847.
1997-03-12 01:39:00 +00:00
Ian Lance Taylor
92b7bfb7b6
* symbols.c (colon): Change type of local to int. From Alan Modra
...
<alan@spri.levels.unisa.edu.au>.
1997-03-11 20:12:37 +00:00
Ian Lance Taylor
e053e8c1e5
* config/tc-m88k.c (m88k_do_align): Don't use a special nop
...
alignment if a zero fill pattern was explicitly specified.
* config/tc-sh.c (sh_do_align): Likewise.
1997-03-11 20:10:20 +00:00
Bob Manson
5834946d5a
Removed, no longer used.
1997-03-11 19:45:29 +00:00
Bob Manson
968cad7633
* config/monitor.exp: Make sure we disconnect from the target.
...
Also, try a reboot/reload cycle instead of failing if the
load fails.
1997-03-11 19:45:02 +00:00
Ian Lance Taylor
842b6b062d
* read.c (equals): Always permit register names to be redefined.
...
PR 11787.
1997-03-11 18:30:11 +00:00