Commit Graph

19198 Commits

Author SHA1 Message Date
Fred Fish
7b02bacd3d * config/tc-tic80.c (md_apply_fix): Check PC relative relocations
for overflow/underflow, only insert lower 15 bits into instruction.
1997-05-13 17:55:41 +00:00
Andrew Cagney
8490235019 Remove ANNULed cycle - was confusing gdb. 1997-05-13 13:57:49 +00:00
Ian Lance Taylor
1a7f2a866e * scripttempl/elfmips.sc: Remove.
* scripttempl/elf.sc: Set ENTRY based on target.  Permit
	TEXT_DYNAMIC to control .dynamic segment.  Permit
	SHLIB_TEXT_START_ADDR to set start of shared object.  Support
	INITIAL_READONLY_SECTIONS.  Put .stub in .text.  Only put
	.gnu.linkonce.t* in .text when relocating.  Support
	OTHER_TEXT_SECTIONS.  Support SHLIB_DATA_ADDR as well as
	DATA_ADDR.  Support OTHER_GOT_SYMBOLS and OTHER_GOT_SECTIONS.
	* emulparams/elf32b4300.sh (SCRIPT_NAME): Set to elf.
	(DATA_ADDR): Don't set.
	(INITIAL_READONLY_SECTIONS): Rename from OTHER_READONLY_SECTIONS.
	(OTHER_TEXT_SECTIONS): Set.
	(OTHER_GOT_SECTIONS): Rename from OTHER_READWRITE_SECTIONS.
	(MACHINE): Set to empty string.
	* emulparams/elf32l4300.sh: Likewise.
	* emulparams/elf32ebmip.sh: Likewise.
	* emulparams/elf32elmip.sh: Likewise.
	* emulparams/elf32bmip.sh: Likewise.  Also:
	(TEXT_DYNAMIC): Set.
	* emulparams/elf32lmips.sh: Likewise.
	* Makefile.in (eelf32bmips.c): Depend upon elf.sc rather than
	elfmips.sc.
	(eelf32ebmips.c, eelf32elmips.c, eelf32lmip.c): Likewise.
1997-05-13 03:30:20 +00:00
Michael Meissner
d01082ada2 Fix ld/st tracing 1997-05-12 21:16:26 +00:00
Ian Lance Taylor
98b4161aee Mon May 12 13:33:08 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
* config/tc-i386.c (pi): Check for RegMMX.
1997-05-12 20:23:57 +00:00
Mark Alexander
6e12c187ba * tic80-tdep.c, config/tic80/tm-tic80.h: First cut at getting
basic C80 features working.
1997-05-12 18:38:28 +00:00
Ian Lance Taylor
044c6b40b2 * configure.in: Don't clear OPCODES when --enable-commonbfdlib is
used on HP/UX.
	* configure: Rebuild.
1997-05-12 17:14:57 +00:00
Ian Lance Taylor
3d046499bc Mon May 12 11:11:06 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* scripttempl/elf.sc: Don't align the data segment on the next 8
	byte boundary, instead let the linker use whatever the individual
	sections require.
1997-05-12 15:12:12 +00:00
Andrew Cagney
9af5dcea8f Clear cntrl-c after handling it. 1997-05-12 08:33:56 +00:00
Andrew Cagney
c445af5a2b c80 simulator fixes. 1997-05-12 04:57:49 +00:00
Andrew Cagney
e05e76e8a4 Match commands like `(gdb) sim a b c' against options --a-b-c. 1997-05-12 04:30:38 +00:00
Michael Meissner
8ad6078850 Fix endian problems with ld.d/st.d 1997-05-12 02:04:02 +00:00
Michael Meissner
450be2349a Fix shift/lmo insns; Subu does arithmetic unsigned 1997-05-11 14:32:32 +00:00
Michael Meissner
20b2f9bc83 And short immediate instructions use unsigned immediates, not signed. 1997-05-10 16:40:21 +00:00
Ian Lance Taylor
f7f90eaaf5 * configure.tgt (i[3456]86-*-gnu*): Don't include Mach support. 1997-05-09 21:46:21 +00:00
Ian Lance Taylor
64aaba23e0 * config.bfd (i[3456]86-*-gnu*): Don't include Mach support. 1997-05-09 21:44:46 +00:00
Ian Lance Taylor
3baa24adb1 * config.bfd: Change #if 0 around uses of host_aout_vec to #if
HAVE_host_aout_vec.
1997-05-09 21:40:42 +00:00
Ian Lance Taylor
27349293ba * Makefile.in (INSTALL_MODULES): Put install-opcodes before
install-binutils.
1997-05-09 21:22:29 +00:00
Michael Meissner
89d1a47805 Fix xor in simulator 1997-05-09 20:16:01 +00:00
Michael Meissner
aaa7b25260 Make cmp produce the correct results 1997-05-09 19:48:52 +00:00
Andrew Cagney
9efd3f7412 Update CIA as well as NIA when a 64bit insn is encountered. 1997-05-09 00:21:13 +00:00
Michael Meissner
c3cad878c9 Really fix the bbo/bbz instructions. 1997-05-08 23:04:22 +00:00
Ian Lance Taylor
08168809b8 * Makefile.in: Add automake targets.
* configure.in (host_tools): Add automake.
1997-05-08 21:30:31 +00:00
Ian Lance Taylor
8d74b2fa74 * Makefile.in (all-libide): Depend upon all-ilu. 1997-05-08 21:09:33 +00:00
Michael Meissner
1e0e7911a5 reverse bit number for bbo/bbz instructions. 1997-05-08 19:58:20 +00:00
Michael Meissner
53dcd669e5 Fix non-anulled calls so that return address is correct 1997-05-08 18:36:00 +00:00
Michael Meissner
30a05dbd8d Change output format slightly 1997-05-08 16:32:06 +00:00
Michael Meissner
8c3b5af125 Change output format slightly 1997-05-08 16:14:54 +00:00
Michael Meissner
e42224cc3a Bump SIZE_DECIMAL to 13 1997-05-08 15:58:23 +00:00
Ian Lance Taylor
ee42e25b0c * expr.c (expr): When subtracting values in the same frag,
subtract X_add_number rather than adding it.
1997-05-08 15:10:55 +00:00
Andrew Cagney
43c53e07db Add function sim_args_command() which takes a `(gdb) sim <command>' and
parses it using rules found in the simulator command-line-options
databse.
1997-05-08 05:28:20 +00:00
Mark Alexander
1c877a7aae Add h8300.exp. 1997-05-08 05:25:53 +00:00
Andrew Cagney
c14cabbac4 Part II of getting GdbTk's stop button to always work. 1997-05-08 01:00:39 +00:00
Ian Lance Taylor
a7b2f95a49 Wed May 7 16:18:30 1997 Manfred Hollstein <manfred@s-direktnet.de>
* gas/m88k/init.{s,d}: New checks for proper padding of
	.init sections.
	* gas/m88k/m88.exp: Run them.

	* gas/m68k/t2.d: New file for check of presence of section
	symbols on the m68k-motorola-sysv.
	* gas/m68k/all.exp: Run t2 if [istarget m68*-motorola-sysv].
1997-05-07 20:45:30 +00:00
Ian Lance Taylor
ae79a20bb8 * gas/mips/lifloat.s: Update for recent changes to floating point
handling.
	* gas/mips/lif-empic.d, gas/mips/lif-svr4pic.d: Likewise.
	* gas/mips/lif-xgot.d, gas/mips/lifloat.d: Likewise.

	* gas/mips/mips.exp: Handle Irix 6 like Irix 5.
1997-05-07 20:14:19 +00:00
Ian Lance Taylor
662a6d9e11 * config/obj-coff.c (write_object_file): Just pass NULL to
md_do_align, not the address of a char holding NOP_OPCODE.
Fixes a problem with the m88k SVR3 .init section as used by gcc.
1997-05-07 19:46:25 +00:00
Ian Lance Taylor
a5586bdc2f * config/tc-mips.c (macro): Handle constants for M_LI_D and
M_LI_DD.
	(mips_ip): For 'F', 'L', 'f', and 'l', generate a constant rather
	than an address if the floating point value looks sufficiently
	simple.
PR 12237.
1997-05-07 19:41:17 +00:00
Andrew Cagney
381f42ef5d o Clean-up tic80 fp tracing
o	Fill in more tic80 insns
1997-05-07 13:58:52 +00:00
David Edelsohn
bd3274c6d9 * sim-profile.c (profile_uninstall): Likewise. 1997-05-06 23:40:31 +00:00
David Edelsohn
ea4e449340 * sim-trace.c (trace_uninstall): Don't close a file twice. 1997-05-06 23:38:31 +00:00
Andrew Cagney
19a2b3005c Only zap the igen directory once. 1997-05-06 23:24:03 +00:00
Mark Alexander
b02a4cab06 Remove remote-pa.c. 1997-05-06 21:42:31 +00:00
David Edelsohn
cf8b5fc15e Makefile.orig, README.orig deleted. 1997-05-06 21:21:53 +00:00
David Edelsohn
5797882259 Keep igen. 1997-05-06 21:20:13 +00:00
David Edelsohn
710f55ce8a Keep sim-config.c, sim-fpu.[ch]. 1997-05-06 21:19:41 +00:00
Michael Snyder
a50c4c7cd7 Tue May 6 13:53:05 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
* Add overlay tests to gdb.base/.Sanitize
1997-05-06 20:53:53 +00:00
Ian Lance Taylor
2cf00a3619 * configure: Default CXX to c++, not gcc.
* Makefile.in (CXX): Set to c++, not gcc.
	(CXX_FOR_TARGET): When cross, transform c++, not gcc.
This is to that $(CXX) and $(CXX_FOR_TARGET) can be used to link C++
programs as well as just compile C++ code.
1997-05-06 19:51:02 +00:00
Jeff Law
8def922034 * mn10300_sim.h: Fix ordering of bits in the PSW. 1997-05-06 19:42:17 +00:00
Michael Meissner
1ec53ef597 Remove extra : from nop, sink{1,2} tracing 1997-05-06 19:33:51 +00:00
Michael Meissner
7b167b0900 Add semantic tracing to the tic80 1997-05-06 19:27:57 +00:00