Commit Graph

23560 Commits

Author SHA1 Message Date
Richard Henderson
0339ba4376 Keep them all. 1998-09-01 15:39:39 +00:00
Richard Henderson
042af36493 Keep vtable tests. 1998-09-01 15:38:06 +00:00
Catherine Moore
c42591bfd5 remove elfarm.sc 1998-09-01 13:59:18 +00:00
Frank Ch. Eigler
78b871ec81 * Build fixes for tx39 sim hosted on strange Linux boxen.
[common/ChangeLog]
Tue Sep  1 15:36:52 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* sim-config.h: Remove reference to linux kernel header.
[mips/ChangeLog]
Tue Sep  1 15:39:18 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* dv-tx3904sio.c: Include sim-assert.h.
1998-09-01 13:19:57 +00:00
Tom Tromey
d5adad6aa2 * top.c (context_hook): Define.
* gdbtk-hooks.c (context_hook): Don't define.
1998-08-31 22:43:21 +00:00
Richard Henderson
c2242569d0 * elf32-mips.c (elf_mips_gnu_vtentry_howto): Use
_bfd_elf_rel_vtable_reloc_fn.
1998-08-31 21:50:12 +00:00
Keith Seitz
4af2d83a66 * gdbtk-cmds.c (gdb_listfuncs): When stripping out "global destructors"
and "global constructors", do not append any elements to the result.
 	(gdb_get_vars_command): Install patch from Jun 9 1998 which appears
        to have been lost.

        Clean up some tabbing mess.
1998-08-31 21:34:09 +00:00
Richard Henderson
c1b27b2228 * gas/vtable/{entry0.d,entry1.d,inherit0.d}: Fix pattern matching
of whitespace for 64-bit hosts.
1998-08-31 20:26:33 +00:00
Richard Henderson
9ea48b423d * gas/vtable/vtable.exp: New.
* gas/vtable/{entry0.s,entry0.d}: New.
        * gas/vtable/{entry1.s,entry1.d}: New.
        * gas/vtable/{inherit0.s,inherit0.d}: New.
        * gas/vtable/{inherit1.s,inherit1.l}: New.
1998-08-31 19:49:48 +00:00
Catherine Moore
7892a56c16 Change references to armelf.sc to elf.sc. 1998-08-31 18:09:41 +00:00
Catherine Moore
0c6c0bbeea remove armelf sanitization. 1998-08-31 17:16:05 +00:00
Richard Henderson
11e07ad09a * config/obj-elf.c (obj_elf_vtable_inherit): Print error message
before we clobber the symbol involved.
1998-08-31 16:52:18 +00:00
Catherine Moore
4a634a0bcb * emulparams/armelf.sh: Change SCRIPT_NAME to
elf.  Change TEXT_START_ADDR to 0x8000.  Define
        OTHER_TEXT_SECTIONS, OTHER_BSS_SYMBOLS and
        OTHER_BSS_END_SYMBOLS.
        * scripttempl/elf.sc:  Modify to use
        OTHER_BSS_END_SYMBOLS.
        * scripttempl/elfarm.sc:  Remove file.
1998-08-31 16:26:28 +00:00
Catherine Moore
01ce25b37c remove armelf sanitization. 1998-08-31 16:21:59 +00:00
Catherine Moore
b0249a1759 remove armelf sanitization. 1998-08-31 16:10:56 +00:00
Catherine Moore
cdb3d5f902 * config/tc-arm.c: Remove OBJ_ELF definitions for
S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS.  Only
        use arm_adjust_symtab for OBJ_COFF.
        (armelf_adjust_symtab):  New Routine.
        * config/tc-arm.h:  Define obj_adjust_symtab to
        armelf_adjust_symtab for OBJ_ELF.
1998-08-31 16:06:30 +00:00
Catherine Moore
bb3b4377a4 * Makefile.am: Add elf32-arm.c.
* Makefile.in:  Rebuild.
        * elf-bfd.h:  Add elf_backend_get_symbol_type.
        * elf.c (swap_out_syms):  If defined, call
        elf_backend_get_symbol_type.
        * elf32-arm.c: Define elf_backend_get_symbol_type.
        (elf32_arm_get_symbol-type):  New routine.
        (record_thumb_to_arm_glue):  Change to use STT_ARM_TFUNC.
        (bfd_elf32_arm_process_before_allocation):  Change to
        check for STT_ARM_TFUNC.
        (elf32_arm_final_link_relocate):  Likewise.
        * elfxx-target.h:  Add elf_backend_get_symbol_type.
1998-08-31 15:50:04 +00:00
Martin Hunt
4ff5d55a08 Sun Aug 30 00:49:18 1998 Martin M. Hunt <hunt@cygnus.com>
* gdbtk-cmds.c (Gdbtk_Init): Link C variable gdb_context
	with tcl variable gdb_context_id.

	* gdbtk-hooks.c (gdbtk_context_change): Implement new hook called
	context_hook.  Called when threads change.

	* gdbtk.c: Initialize gdb_context.

	* gdbtk.h: Declare gdb_context.

	* infrun (wait_for_inferior): Call context_hook.

	* thread.c (thread_command): Call context_hook.

	* defs.h: Declare context_hook.
1998-08-30 07:53:29 +00:00
Richard Henderson
d405c4a1ae * i386.h: Add vtable relocs. 1998-08-30 05:26:19 +00:00
Richard Henderson
3ecd69d675 * alpha-dis.c (print_insn_alpha): Use the machine type to
decide which PALcode set to include.
1998-08-30 05:25:27 +00:00
Richard Henderson
a1624e3f1b * configure.in: Make all i386-elf targets use bfd_gas.
* config/tc-i386.c (tc_i386_force_relocation): New.
        (tc_i386_fix_adjustable): Don't fix vtable relocs.
        (md_apply_fix3): Likewise.
        (tc_gen_reloc): Handle them.
        * config/tc-i386.h (TC_FORCE_RELOCATION): Always define, calling
        tc_i386_force_relocation.
1998-08-30 05:23:16 +00:00
Richard Henderson
68631a8643 * archures.c (bfd_mach_alpha_ev[456]): New.
* cpu-alpha.c: Rework to match these types.
1998-08-29 02:46:21 +00:00
Richard Henderson
09e5322ac0 * elf-bfd.h (_bfd_elf_rel_vtable_reloc_fn): Declare.
* elf.c (_bfd_elf_rel_vtable_reloc_fn): New.

        * elf32-i386.c (elf_howto_table): Add vtable relocs.
        (elf_i386_reloc_type_lookup): Recognize them.
        (elf_i386_check_relocs): Pass them off to generic code.
        (elf_i386_relocate_section): Ignore them.
        (elf_i386_gc_mark_hook, elf_i386_gc_sweep_hook): New.
        (elf_backend_can_gc_sections): True.
1998-08-29 02:43:47 +00:00
Catherine Moore
07f50e4e2c remove armelf sanitization 1998-08-28 20:28:26 +00:00
Catherine Moore
0fc4a7d044 remove armelf sanitization. 1998-08-28 20:26:14 +00:00
Per Bothner
bc10df2bba * mdata-sh: Imported. Needed for automake support. 1998-08-28 19:29:20 +00:00
Martin Hunt
973b0216f6 Fri Aug 28 12:14:49 1998 Martin M. Hunt <hunt@cygnus.com>
* gdbtk-cmds.c (gdb_loadfile): Open the file after doing
	the symtab lookup and calling symtab_to_filename(). This
	makes GDBtk work with the GDB "dir" command.
1998-08-28 19:18:38 +00:00
Catherine Moore
28278f9032 add elfarm.sc to things to keep 1998-08-27 20:40:30 +00:00
Catherine Moore
4be26f9d58 add armelf.em to things to keep. 1998-08-27 20:39:21 +00:00
Catherine Moore
9d811c2141 add elf32-arm.c to things to keep 1998-08-27 20:35:58 +00:00
Catherine Moore
4d2466d15a remove armelf sanitization. 1998-08-26 17:55:50 +00:00
Ken Raeburn
83e29d5263 Change sanitization of vrXXXX to cygnus, so redact might work on it.
This means using keep-vr4320 without keep-cygnus probably won't work.
1998-08-26 17:29:06 +00:00
Catherine Moore
603e9cf139 remove armelf sanitization 1998-08-26 17:25:19 +00:00
Catherine Moore
e9ebd69fe6 remove armelf sanitization. 1998-08-26 17:17:56 +00:00
Joyce Janczyn
cf83964e6f Regress yesterday's change to jmp instn implementation in mn10300.igen. 1998-08-26 13:37:56 +00:00
Joyce Janczyn
ef4d20e915 Regress yesterday's change to jmp instruction -- it has deceiving syntax.
Also tidy up some code to match documentation and fix div, divu by 0.
1998-08-26 13:31:38 +00:00
Ulrich Drepper
7c71c3ea98 (process_syminfo): Print names of files symbols are bound to, not the index. 1998-08-26 00:17:28 +00:00
Ulrich Drepper
a12914abfd Update. 1998-08-25 23:48:58 +00:00
Ulrich Drepper
fdf959ddcb (process_dynamic_segment): Read syminfo section if available.
(process_syminfo): New function.  Print syminfo information.
(process_file): Call process_syminfo and free syminfo data at the end.
1998-08-25 23:47:11 +00:00
Joyce Janczyn
59587664ab * mn10300.igen (OP_F0F4): Need to load contents of register AN0
for jmp.
1998-08-25 20:49:35 +00:00
Michael Snyder
290bc1851b Tue Aug 25 13:21:58 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* ax-gdb.c (gen_var_ref): Allow for typedef types.
        (gen_cast, gen_bitfield_ref, gen_expr): ditto.
1998-08-25 20:24:03 +00:00
Frank Ch. Eigler
36e838d13b * eCos tx3904sio sim - devo part 2/2
Tue Aug 25 12:49:46 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* dv-tx3904sio.c: New file: tx3904 serial I/O module.
	* configure.in: Add dv-tx3904sio, dv-sockser for tx39 target.
	Reorganize target-specific sim-hardware checks.
	* configure: rebuilt.
	* interp.c (sim_open): For tx39 target boards, set
	OPERATING_ENVIRONMENT, add tx3904sio devices.
	* tconfig.in: For tx39 target, set SIM_HANDLES_LMA for loading
	ROM executables.  Install dv-sockser into sim-modules list.
	* dv-tx3904irc.c: Compiler warning clean-up.
	* dv-tx3904tmr.c: Compiler warning clean-up.  Remove particularly
	frequent hw-trace messages.
1998-08-25 14:16:58 +00:00
Frank Ch. Eigler
8d6ed1b768 * eCos tx3904sio sim - devo part 1/2
Tue Aug 25 12:45:27 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* dv-sockser.c (sockser_addr): Make variable non-static.
1998-08-25 13:58:35 +00:00
Michael Snyder
98760699c7 Mon Aug 24 18:29:03 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* tracepoint.c (collect_symbol): Handle register doubles that
        are stored in two registers.
1998-08-25 01:31:06 +00:00
Mark Alexander
ce8f5b49f6 * sh-stub.c (undoSStep): Improve comment.
* sparc-tdep.c (sparc_extract_struct_value_address): Simplify to use
	same method on both 32-bit and 64-bit machines.
	* sparcl-tdep.c (sparclite_check_watch_resources): Simulator doesn't
	support hardware breakpoints.
	* config/sparc/tm-sparc.h (CALL_DUMMY): Improve comments.
1998-08-24 21:51:33 +00:00
Nick Clifton
080a50b635 Improve formatting of --help output 1998-08-24 20:41:35 +00:00
Joyce Janczyn
c1802bfd60 * sim-main.h (SIM_HANDLES_LMA): Define SIM_HANDLES_LMA. 1998-08-24 15:52:43 +00:00
Joyce Janczyn
fb37fdcb89 * sim-hw.{c,h} (sim_hw_parse): Return struct hw pointer. 1998-08-24 15:48:45 +00:00
Tom Tromey
a69b70c4fa * configure.in (target_libs): Added target-qthreads.
* Makefile.in (ALL_TARGET_MODULES): Added qthreads.
	(CONFIGURE_TARGET_MODULES): Likewise.
	(CHECK_TARGET_MODULES): Likewise.
	(INSTALL_TARGET_MODULES): Likewise.
	(CLEAN_TARGET_MODULES): Likewise.
	(all-target-qthreads): New target.
	(configure-target-libjava): Depend on configure-target-qthreads.
	(all-target-libjava): Depend on all-target-qthreads.
1998-08-21 19:51:08 +00:00
Doug Evans
71ac5f50ad heh heh, too quick with cuttin-n-pastin.
Sanitize tc-dvp.c part of last entry.
1998-08-21 18:26:14 +00:00