19320 Commits

Author SHA1 Message Date
fd6c00bac2 * elflink.h (elf_link_add_object_symbols): Don't decrease the
alignment of a common symbol.  If two symbols that look like
 	common symbols are found in two shared libraries, and the size is
 	different, use the larger size, and warn if --warn-common.  If a
	common symbol overrides a definition in a shared library, set the
	size to the larger size, and warn if --warn-common.
1997-05-16 16:13:33 +00:00
37a684b84d o Make tic80 insn file more `cache ready'
o	Have igen always zero r0 instead of constantly checking if
	the designated register is r0.
1997-05-16 03:27:40 +00:00
77bd8dfa1f * elflink.h (elf_link_add_object_symbols): Consistently treat
uninitialized symbols in shared objects as common symbols.
1997-05-15 21:38:26 +00:00
4c4badea81 Added support to LD to select the architecture of an ARM COFF output file
based on the architecture of the first input file.
1997-05-15 21:32:35 +00:00
031dfce06f * elflink.h (elf_link_add_object_symbols): Force ELF symbol size
to common symbol size.
1997-05-15 20:40:54 +00:00
de046e7c42 Fixed bug in previous delta. If no cpu type was specified on the command
line then the code used to default to setting an architecture of ARMv4T
rather than ARMv3M in the BFD library.  This has now been corrected.
1997-05-15 17:05:24 +00:00
07b4c0a66c Remove some of the flake from the c80 floating point. 1997-05-15 16:39:38 +00:00
4cc5671656 * config/rs6000/tm-rs6000.h (SIG_FRAME_LR_OFFSET): Define.
* rs6000-tdep.c (frameless_function_invocation):  Mark frames
	with a zero PC as frameless to improve backtraces from core dumps
	caused by dereferencing a NULL function pointer.
	(frameless_function_invocation, frame_saved_pc, rs6000_frame_chain):
	Handle frameless functions interrupted by a signal.

	* sparc-tdep.c (sparc_init_extra_frame_info, sparc_frame_saved_pc):
	Handle frameless functions interrupted by a signal.
1997-05-15 15:01:54 +00:00
2ce0e027f4 * obstack.h (obstack_specify_allocation_with_arg, obstack_chunkfun,
obstack_freefun): Eliminate compile warnings in gdb.
1997-05-15 08:30:04 +00:00
d24f06eef2 More floating point operations. 1997-05-15 02:22:37 +00:00
aa3a044769 Fix double conversion problem. 1997-05-15 02:21:11 +00:00
2310e3c2b5 Passify gcc's warnings. 1997-05-15 00:14:33 +00:00
93555c3b02 Make columns line up for fpu operation tracing 1997-05-14 22:06:45 +00:00
4dbe5f8d3c * mn10200-tdep.c (mn10200_analyze_prologue): Update prologue comments
to reflect current reality.  Gross attempt at handling out of
        line prologues.
1997-05-14 22:04:28 +00:00
46686c7839 Added support for storing ARM Procedure Calling Standard variant, and ARM
architecture variant in the BFD and COFF structures.  This goes towards
fixing PRs 11709 and 11326 and will integrate with future updates to LD and
GCC.
1997-05-14 17:00:43 +00:00
c23cc10a8f * mn10200-tdep.c (mn10200_skip_prologue): Don't look at the debug
symbols to find the end of the prologue.
        * mn10300-tdep.c (mn10300_skip_prologue): Likewise.
1997-05-14 15:01:33 +00:00
68cad8a2c8 Fix total number of tic80 registers 1997-05-14 05:10:00 +00:00
2393a96689 * config/tc-mn10200.c (md_convert_frag): Prefix temporary
label name with ".".
        * config/tc-mn10300.c (md_convert_frag): Likewise.
1997-05-14 04:29:05 +00:00
60f0562bb8 Fix tic80 sanitization. 1997-05-13 22:31:47 +00:00
1b6f4dde35 Make sure r0 == 0; Return EINVAL for system calls that are defined but not provided; Provide traps 74-79 as debugging traps 1997-05-13 22:04:32 +00:00
af942f1dc2 Fix thinko in previous change. 1997-05-13 19:00:57 +00:00
cd05cc5e45 * config/tc-mips.c (set_at): Check for bignum.
(check_absolute_expr, macro, mips16_macro): Likewise.
PR 12296.
1997-05-13 18:46:47 +00:00
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
8490235019 Remove ANNULed cycle - was confusing gdb. 1997-05-13 13:57:49 +00:00
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
d01082ada2 Fix ld/st tracing 1997-05-12 21:16:26 +00:00
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
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
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
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
9af5dcea8f Clear cntrl-c after handling it. 1997-05-12 08:33:56 +00:00
c445af5a2b c80 simulator fixes. 1997-05-12 04:57:49 +00:00
e05e76e8a4 Match commands like `(gdb) sim a b c' against options --a-b-c. 1997-05-12 04:30:38 +00:00
8ad6078850 Fix endian problems with ld.d/st.d 1997-05-12 02:04:02 +00:00
450be2349a Fix shift/lmo insns; Subu does arithmetic unsigned 1997-05-11 14:32:32 +00:00
20b2f9bc83 And short immediate instructions use unsigned immediates, not signed. 1997-05-10 16:40:21 +00:00
f7f90eaaf5 * configure.tgt (i[3456]86-*-gnu*): Don't include Mach support. 1997-05-09 21:46:21 +00:00
64aaba23e0 * config.bfd (i[3456]86-*-gnu*): Don't include Mach support. 1997-05-09 21:44:46 +00:00
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
27349293ba * Makefile.in (INSTALL_MODULES): Put install-opcodes before
install-binutils.
1997-05-09 21:22:29 +00:00
89d1a47805 Fix xor in simulator 1997-05-09 20:16:01 +00:00
aaa7b25260 Make cmp produce the correct results 1997-05-09 19:48:52 +00:00
9efd3f7412 Update CIA as well as NIA when a 64bit insn is encountered. 1997-05-09 00:21:13 +00:00
c3cad878c9 Really fix the bbo/bbz instructions. 1997-05-08 23:04:22 +00:00
08168809b8 * Makefile.in: Add automake targets.
* configure.in (host_tools): Add automake.
1997-05-08 21:30:31 +00:00
8d74b2fa74 * Makefile.in (all-libide): Depend upon all-ilu. 1997-05-08 21:09:33 +00:00
1e0e7911a5 reverse bit number for bbo/bbz instructions. 1997-05-08 19:58:20 +00:00
53dcd669e5 Fix non-anulled calls so that return address is correct 1997-05-08 18:36:00 +00:00
30a05dbd8d Change output format slightly 1997-05-08 16:32:06 +00:00
8c3b5af125 Change output format slightly 1997-05-08 16:14:54 +00:00