Commit Graph

19323 Commits

Author SHA1 Message Date
Ian Lance Taylor 0570b3d3a0 * ld-elfvers/vers6.ver: Update for recent elflink.h patch to
version handling.
1997-06-06 21:36:11 +00:00
Ulrich Drepper cf2cd4cf5d (elf_link_find_version_dependencies): When searching
for known version symbol skip non-matching verdef records, not
matching records.
1997-06-06 21:19:41 +00:00
Ian Lance Taylor 7257418129 * config/tc-sh.h (md_cons_align): Define.
(sh_cons_align): Declare.
	* config/tc-sh.c (md_pseudo_table): Add .uaword and .ualong.
	(sh_no_align_cons): New static variable.
	(s_uacons): New static function.
	(sh_cons_align): New function.
	(sh_handle_align): Warn about misaligned data.
	* doc/c-sh.texi: Document .uaword and .ualong.
PR 12528.
1997-06-06 21:17:46 +00:00
Andrew Cagney aa02a0b0f2 sim_kill() isn't used. 1997-06-06 03:02:51 +00:00
Andrew Cagney 84e8cd0fcf Open in binary mode when available. 1997-06-06 02:34:55 +00:00
Andrew Cagney 0bdfae1167 Clean up formatting of instruction traces. 1997-06-06 00:31:08 +00:00
Andrew Cagney 897f67b74f Verify magic number of simulator struct. 1997-06-05 04:51:34 +00:00
Andrew Cagney 896eab009e Initialize the sim-engine module. 1997-06-04 02:47:49 +00:00
Bob Manson fd4addafba Removed global variable "exec_output". remote_load now returns
the output as part of its result.
1997-06-04 00:25:16 +00:00
Nick Clifton fd2553f96e Added the Thumb relocations from the armT-970328-branch. 1997-06-04 00:11:36 +00:00
Nick Clifton 48e509bf2c Merged in changes made in armT-970328-branch 1997-06-04 00:07:07 +00:00
Bob Manson 43f396d007 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
here. Call gdb_target_exec before rebooting the target, to make
 	sure the connection to the target is closed.
	(gdb_load): Pass the name of the executable to gdb_target_monitor.
	Don't call gdb_file_cmd here; let gdb_target_monitor do it.

	* config/gdbserver.exp: Pass the executable being loaded to
 	gdb_target_monitor. Don't call gdb_file_cmd here; let
 	gdb_target_monitor do it.

	* gdb.disasm/hppa.exp: Don't use exec_output.
1997-06-04 00:04:43 +00:00
Michael Snyder 3d400c0939 * configure.tgt: add mipsr3900-elf target
* config/mips/r3900*.mt config/mips/tm-r3900*.h: ditto
1997-06-03 23:28:54 +00:00
Nick Clifton f8a2144336 Merged in the changes from the armT-970328-branch. 1997-06-03 23:25:43 +00:00
Nick Clifton d0badeab7c Added support for Thumb architecture from armT-970328-branch. 1997-06-03 23:15:49 +00:00
Andrew Cagney 56e7c84918 o Fixes to repeated watchpoints
o	Add mips ISA instructions needed to handle interrupts
1997-06-03 23:03:50 +00:00
Tom Tromey f131deb19f * Makefile.in (LIB_RUNTIME_DIR): New variable. 1997-06-03 22:34:23 +00:00
Bob Manson 9ab2431f84 Added proelf. 1997-06-03 22:05:24 +00:00
Ian Lance Taylor 902f651590 add c-arm.texi 1997-06-03 15:35:47 +00:00
Nick Clifton 3357a5ab61 Added an enable of the ARM documentation. 1997-06-02 23:43:17 +00:00
Nick Clifton 2903fb6e85 Added ARM documentation from armT-970328-branch 1997-06-02 23:28:16 +00:00
Gavin Romig-Koch 753d2b3eb6 End the tests with no-ops. 1997-06-02 16:04:54 +00:00
Gavin Romig-Koch 5c6f5923c7 Add r3900 support. 1997-06-02 15:56:00 +00:00
Gavin Romig-Koch 2865e9a89c Improve messages from regexp_diff 1997-06-02 15:49:26 +00:00
Andrew Cagney c7cebfa32c o Fix padd insn
o	Take an interrupt when an int event occures.
1997-06-02 15:00:43 +00:00
Ian Lance Taylor e08eb976ab * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Set dynindx
for a section even if it is not loaded.
Otherwise compiling this
static char bar; char *foo() { return &bar; }
without -fpic and then doing ld -shared OBJECT dumps core.
1997-05-31 01:57:27 +00:00
Ian Lance Taylor 907f6015c0 * cofflink.c (coff_link_add_symbols): If PE file, don't subtract
section VMA.
	(_bfd_coff_link_input_bfd): Separate section VMA handling for
	input and output files.
	(_bfd_coff_generic_relocate_section): Check whether input file,
	not output file, is a PE file.
1997-05-30 16:47:49 +00:00
Andrew Cagney 128b51546e Add assembler information to igen input files. 1997-05-30 07:25:13 +00:00
Ian Lance Taylor dccd4d2cf1 Thu May 29 12:58:26 1997 Ben Pfaff <pfaffben@pilot.msu.edu>
* as.c: (parse_args) `-t' option requires an argument.
1997-05-29 16:59:46 +00:00
Andrew Cagney 4e95b94e1e Fix subu immed - was incorrectly using unsigned. 1997-05-29 07:25:20 +00:00
Andrew Cagney efe4f1cbf8 Add a simple dissasembler to igen 1997-05-29 07:06:41 +00:00
Ian Lance Taylor 1d6f438f49 * Makefile.in: Rebuild dependencies. 1997-05-28 21:58:27 +00:00
Ian Lance Taylor 5ac3db53bb * config/tc-i386.c (tc_gen_reloc): Don't try to convert the type
of a BFD_RELOC_RVA reloc.
1997-05-28 20:17:55 +00:00
Ian Lance Taylor 5edcd3b9c9 * coff-i386.c (coff_i386_reloc): Don't just exit if we see an
R_IMAGEBASE reloc.
1997-05-28 20:16:35 +00:00
Nick Clifton 916660cb3b Added support for ARM architecture supersets in the compatibility function. 1997-05-28 16:49:25 +00:00
Jeff Law f22950b920 * config/tc-hppa.c (tc_fix_adjustable): Reject absolute calls/jumps.
(hppa_force_relocation): Force a relocation for an absolute
        call/jump.
part of gcc/12343.
1997-05-28 16:48:32 +00:00
Bob Manson 3c82a73127 * cofflink.c (_bfd_coff_final_link): Initialize global_to_static
member.

Fixes linker bug on hpux-x-i960-vxworks.
1997-05-28 02:43:30 +00:00
Nick Clifton 177f3d7fc9 Made coff-arm_bfd_set_private_flags global as it is called directly from
gas/config/tc-arm.c .
1997-05-27 21:37:16 +00:00
Ian Lance Taylor 70edb961ea Tue May 27 15:58:53 1997 Richard Henderson <rth@tamu.edu>
* elf64-alpha.c (PLT_ENTRY_*): Use a new thread-safe format.
	(elf64_alpha_finish_dynamic_symbol): Fill it in properly.
1997-05-27 20:01:14 +00:00
Ian Lance Taylor f0b796d00a Tue May 27 11:02:08 1997 Alan Modra <alan@spri.levels.unisa.edu.au>
* i386-dis.c (dis386[], dis386_twobyte[]): change pushl/popl
	to pushS/popS for segment regs and byte constant so that
	pushw/popw printed when in 16 bit data mode.

	* i386-dis.c (dis386[]): change cwtl, cltd to cWtS, cStd to
	print cbtw, cwtd in 16 bit data mode.
	* i386-dis.c (putop): extra case W to support above.

	* i386-dis.c (print_insn_x86): print addr32 prefix when given
	address size prefix in 16 bit address mode.
1997-05-27 15:05:40 +00:00
Andrew Cagney 1a70e182aa Fix watching PC for 64bit (mips) target.
Stop watchpoints corrupting the event queue.
1997-05-27 11:25:47 +00:00
Andrew Cagney 2f2e6c5d5b Extend xor-endian and per-cpu support in core module.
Allow negated test when watching value within core.
1997-05-27 06:48:20 +00:00
Ian Lance Taylor d82e4bf6cc * coff-ppc.c (coff_ppc_relocate_section): If PE file, don't add
section VMA.
1997-05-26 18:09:21 +00:00
Fred Fish 315dc1f411 * peicode.h (coff_bfd_print_private_bfd_data): #undef before #define.
(coff_bfd_copy_private_bfd_data): Ditto.
	* coff-arm.c (coff_arm_bfd_merge_private_bfd_data): Make static.
	(coff_arm_bfd_print_private_bfd_data): Ditto.
	(coff_arm_bfd_set_private_flags): Ditto.
	(coff_arm_bfd_copy_private_bfd_data): Ditto.
1997-05-26 18:00:54 +00:00
Ian Lance Taylor 1079e76c45 * doc/as.texinfo: Don't use @value in section names or index
entries; it confuses texinfo.tex.
1997-05-26 17:25:22 +00:00
Fred Fish e074d05eac * libcoff-in.h (struct coff_final_link_info): Add boolean
global_to_static member for support of task linking.
	(_bfd_coff_write_task_globals): Add prototype.
	* libcoff.h: Regenerate.
	* coffcode.h (coff_write_object_contents): Use #ifdef to
	check RS6000COFF_C, to be consistent with all other uses
	in this file.
	* cofflink.c (_bfd_coff_final_link): If doing task linking,
	call _bfd_coff_write_task_globals.
	(_bfd_coff_link_input_bfd): If doing task linking, convert
	global functions to static.
	(_bfd_coff_write_global_sym): If doing task linking, convert
	global variables to static.
	(_bfd_coff_write_task_globals): New function.
	* coff-tic80.c (TIC80COFF): Define this instead of just TIC80.
	(C_AUTOARG): #undef since it clashes with C_UEXT.
	(C_LASTENT): #undef since it clashes with C_STATLAB.
	* coffcode.h (coff_write_object_contents): Use TIC80COFF
	rather than TIC80.
	(coff_slurp_symbol_table): Use C_SYSTEM.  Hide C_AUTOARG use
	when TIC80COFF defined (clashes with C_UEXT).  Explicitly
	recognize C_UEXT, C_STATLAB, and C_EXTLAB as unsupported.
PR 12236
1997-05-24 15:30:55 +00:00
Fred Fish 61a5c2fdcf * internal.h (C_UEXT, C_STATLAB, C_EXTLAB, C_SYSTEM):
New storage classes for TIc80.
PR 12236
1997-05-24 15:28:55 +00:00
Bob Manson 29a76b68a6 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
test_calls after restarting.

	* lib/gdb.exp(gdb_run_cmd): Send jump command again after
 	reloading.

	* gdb.base/watchpoint.exp: Fix typo.

	* gdb.base/setshow.exp: Check for use_gdb_stub.

	* gdb.base/break.exp: Fix continue until exit test for the gdb
 	stub case.
	* gdb.base/langs.exp: Ditto.

	* config/monitor.exp(gdb_load): Handle gdb_sect_offset and
 	gdb_load_offset. If we weren't given a file to load, figure out
 	what the current file is and use it.
1997-05-23 22:30:29 +00:00
Bob Manson 1e0d962e4f * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
gdb_load_offset.
1997-05-23 21:49:12 +00:00
Bob Manson badd64f29f * infcmd.c (jump_command): Don't try to dereference sfn if it's
NULL.
1997-05-23 21:46:34 +00:00