Commit Graph

21410 Commits

Author SHA1 Message Date
Jeff Law
bb1fd71fc5 Add missing sanitize markers in last ChangeLog entry. 1998-02-06 22:35:05 +00:00
Jeff Law
6f84b00f99 * cpu-mips.c (arch_info_struct): Make r5900 pointer size 32bits. 1998-02-06 22:30:45 +00:00
Jeff Law
9b47bc23b8 * elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): For BFD_RELOC_CTOR
get the size from bfd_arch_bits_per_address instead of directly
        from the isa.
1998-02-06 18:50:34 +00:00
Ian Lance Taylor
5587a091de * alpha.c (alpha_Instruction): Use int, not signed. 1998-02-06 17:04:19 +00:00
Jeff Law
ed302e5ddf * core.c (core_init): Adding missing "break". 1998-02-06 08:58:31 +00:00
Andrew Cagney
608addd440 * config/d10v/tm-d10v.h (D10V_CONVERT_IADDR_TO_RAW,
D10V_CONVERT_DADDR_TO_RAW): Define.
	* d10v-tdep.c (d10v_push_arguments): Re-write.  Pass arguments in
 	registers, regardless of their size, when they fit.
1998-02-06 07:26:11 +00:00
Ian Lance Taylor
1430b6ed3a improvements 1998-02-06 06:54:01 +00:00
Andrew Cagney
9961ca7ab5 o Update GDB to match changes to d10v abi (ARG1 in r0 instead of r2).
o Fix code assuming that host/target were both bigendian.
o Replace d10v push dummy frame code with version using new common
  generic generic version.
o Find/fix more cases where a value needs to be translated to/from
  instruction (IMAP) or data (DMAP) spaces.
1998-02-06 04:09:35 +00:00
Ian Lance Taylor
ffd652c313 * ehopt.c: New file.
* as.h (enum _relax_state): Add rs_cfa.
	(check_eh_frame, eh_frame_estimate_size_before_relax): Declare.
	(eh_frame_relax_frag, eh_frame_convert_frag): Declare.
	* read.c (emit_expr): Call check_eh_frame.
	* write.c (cvt_frag_to_fill): Handle rs_cfa.
	(relax_segment): Likewise.
	* Makefile.am: Rebuild dependencies.
 	(GAS_CFILES): Add ehopt.c.
	(GENERIC_OBJS): Add ehopt.o.
	* doc/internals.texi (Frags): Document rs_cfa.

	* as.c (show_usage): Mention --traditional-format.
	(parse_args): Accept --traditional-format.
	* as.h (flag_traditional_format): Declare.
	* output-file.c (output_file_create): If flag_traditional_format,
	set BFD_TRADITIONAL_FORMAT on stdoutput.
	* doc/as.texinfo, doc/as.1: Document --traditional-format.
1998-02-06 03:42:05 +00:00
Andrew Cagney
44d33d559e New function, generic_pop_current_frame(), targets point POP_FRAME at
this.
1998-02-06 03:35:00 +00:00
Doug Evans
f3534b6867 sky sanitization 1998-02-06 03:27:55 +00:00
Andrew Cagney
93854f7c7c Get overlay testsuite to work on m32r when image is being built with a
small data section (.sdata): Force _novrly variable into .data; stop
test variables being put into .sdata.
1998-02-06 03:26:11 +00:00
Doug Evans
5759734b2c * Makefile.in (SIM_SKY_OBJS,MIPS_EXTRA_OBJS): New vars.
(SIM_OBJS): Add $(MIPS_EXTRA_OBJS).
	* configure.in: Set mips_extra_objs to sky files if mips64r59*-sky-*.
	* configure: Regenerated.
1998-02-06 03:19:56 +00:00
Doug Evans
72db5610de Prepend sky- to sky header file names. 1998-02-06 03:11:44 +00:00
Andrew Cagney
1931ea8d43 When starting a new simulator run, ensure proceed status is cleared. 1998-02-06 03:09:59 +00:00
Doug Evans
803f52b9dc Second pass at moving sky files into mips dir,
prepend sky- to all #include's of sky headers.
1998-02-06 03:09:03 +00:00
Ian Lance Taylor
b073d4281c * config/tc-mips.c (append_insn): Make sure that if we have a
fixup for an unmatched %hi reloc, it does not associated with a
	variant frag.
1998-02-06 03:08:45 +00:00
Doug Evans
0b0caaf11b delete txvu/dvp/sky stuff, lives in mips dir now, configured with
mips64r5900-sky-elf.
1998-02-06 02:42:34 +00:00
Doug Evans
aea481da17 First pass at moving sky stuff from ../txvu to mips dir. 1998-02-06 02:29:22 +00:00
Doug Evans
587c41ae20 Delete txvu stuff.
Delete last change that made sim build under dvp-elf.
1998-02-06 01:58:48 +00:00
Jason Molenda
8d743926f4 * top.c (do_nothing): Remove signal handler after signal is caught.
Helpful for SYSV systems where two ^-\s will cause problems.  Should have
no effect on BSD systems.
1998-02-06 01:22:01 +00:00
Jason Molenda
df419eec9c * top.c (do_nothing): Remove signal handler after signal is caught.
Helpful for SYSV systems where two ^-\s will cause problems.  Should have
no effect on BSD systems.
1998-02-06 01:16:56 +00:00
Jason Molenda
db5d8d390b * configure.in (host_tools, native_only): Add libtool. 1998-02-06 01:10:10 +00:00
Michael Meissner
942738d396 Repeat/repeati are pc-relative 1998-02-05 23:01:37 +00:00
Andrew Cagney
8c9ee21e2f New files, update .Sanitize 1998-02-05 22:08:33 +00:00
Doug Evans
61b62559ba * cgen-sim.h (EX_FN_NAME): _exc_ -> _ex_.
(SEM_INSN): New macro.
1998-02-05 21:29:18 +00:00
Doug Evans
d542677191 Sanitize m32rx from cpu.h and m32r-sim.h. 1998-02-05 21:16:08 +00:00
Doug Evans
b8a9943dd4 * Makefile.in (m32r.o): Depend on cpu.h
(extract.o): Pass -DSCACHE_P.
	* mloop.in (extract{16,32}): Update call to m32r_decode.
	* arch.h,cpu.h,cpuall.h,decode.[ch]: Regenerate.
	* extract.c,model.c,sem-switch.c,sem.c: Regenerate.
	* sim-main.h: #include "ansidecl.h".
	Don't include cpu-opc.h, done by arch.h.
start-sanitize-m32rx
	* Makefile.in (M32RX_OBJS): Build m32rx support now.
	(m32rx.o): New rule.
	* m32r-sim.h (m32rx_h_cr_[gs]et): Define.
	* m32rx.c (m32rx_{fetch,store}_register): Update {get,set} of PC.
	(m32rx_h_accums_get): New function.
	* mloopx.in: Update call to m32rx_decode.  Rewrite exec loop.
	* cpux.h,decodex.[ch],modelx.c,readx.c,semx.c: Regenerate.
end-sanitize-m32rx
1998-02-05 21:01:06 +00:00
Ian Lance Taylor
5bd5a5c7a2 * scripttempl/pe.sc: Remove ${RELOCATING-0} from all sections.
From Thomas de Lellis <tdel@wrs.com>.
1998-02-05 20:40:06 +00:00
Ian Lance Taylor
1f2864765c * coff-i386.c (coff_pe_i386_relocate_section): New static function
if COFF_WITH_PE.
	(coff_relocate_section): If COFF_WITH_PE, define as
	coff_pe_i386_relocate_section.
	* coffcode.h (coff_write_object_contents): If COFF_IMAGE_WITH_PE,
	skip empty sections, to match coff_write_object_contents.
1998-02-05 20:25:31 +00:00
Michael Snyder
d9ba1c3faf Thu Feb 5 11:57:06 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
* tracepoint.c (tracepoint_operation): call free_actions instead
        of free.  (free_actions): eliminate some memory leaks for actions.
        (validate_actionline): pass string arg by reference, so we can
        change the pointer.  Change all memrange collection arguments to
        canonical form (literal address and size), to enforce early
        evaluation.  Accept UNOP_MEMVAL (assembly variables) for
        trace collection.  (parse_and_eval_memrange): accept expressions
        for the address and size fields of a memrange (and evaluate
        them immediately).  (several places): use -1 instead of zero
        to distinguish an absolute memrange from a register-relative one.
        (encode_actions): add handling for UNOP_MEMVAL (assembly variable).
1998-02-05 20:13:58 +00:00
Michael Meissner
b494ec3e81 Do not allow BFD_ALIGN to wrap 1998-02-05 19:38:28 +00:00
Michael Meissner
29b7118aec Do not allow BFD_ALIGN to wrap 1998-02-05 19:29:29 +00:00
Ian Lance Taylor
fa1a1b3235 * configure, Makefile.in, aclocal.m4: Rebuild with new libtool. 1998-02-05 17:50:44 +00:00
Ian Lance Taylor
a52052dbac * configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
* doc/Makefile.in: Likewise.
1998-02-05 17:45:32 +00:00
Ian Lance Taylor
12e0afe57b * configure, Makefile.in, aclocal.m4: Rebuild with new libtool. 1998-02-05 17:24:24 +00:00
Ian Lance Taylor
4ea6538794 * elf64-mips.c (mips_elf64_swap_reloca_out): Swap out r_addend,
rather than swapping out r_offset twice.  From Luke Deller
 	<luked@cse.unsw.edu.au>.
1998-02-05 16:52:22 +00:00
Jason Molenda
c7bb1531b8 * Makefile.in (SFILES): add tracepoint.c.
(LINTFILES): add @CONFIG_SRCS@.
        (SOURCES): Ditto.
        * configure.in (CONFIG_SRCS): Mirror use of CONFIG_OBS.
        * configure: Regenerated.
1998-02-05 01:47:26 +00:00
Geoffrey Noer
53b0f196ac Wed Feb 4 16:53:58 1998 Geoffrey Noer <noer@cygnus.com>
* configure.in: add target-gperf to noconfigdirs for Cygwin32.
        Fix typo in ming config comment.
1998-02-05 00:58:07 +00:00
Ian Lance Taylor
788e3f91eb * configure.in: Set libtool_enable_shared rather than
libtool_shared.  Remove diversion hack.
	* configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
1998-02-05 00:18:54 +00:00
Ian Lance Taylor
9a8379033e * configure.in: Set libtool_enable_shared rather than
libtool_shared.  Remove diversion hack.
	* configure, Makefile.in, doc/Makefile.in, aclocal.m4: Rebuild
	with new libtool.
1998-02-05 00:16:01 +00:00
Ian Lance Taylor
9322566035 * ltconfig, ltmain.sh: Update from libtool 1.0h. 1998-02-04 23:56:46 +00:00
Nick Clifton
89285fc92b Add checks for side effects of instructions preventing their parallelisation. 1998-02-04 23:44:58 +00:00
Nick Clifton
2be33cc4f7 Updated to match latest assembler output. 1998-02-04 23:28:29 +00:00
Nick Clifton
da9a396b5f Applied patch submitted by Jamie Smith <jsmith@teknema.demon.co.uk> to fix
literal pool appearances instigated by macros.
1998-02-04 23:26:03 +00:00
Ian Lance Taylor
68d864d786 Wed Feb 4 16:10:21 1998 Brent Baccala <baccala@freesoft.org>
* syms.c (struct stab_cache): Define.
	(struct stab_find_info): Remove cached_offset, cached_stab,
	cached_str, and cached_stroff fields.  Add file_cache,
	function_cache, and line_cache fields.
	(_bfd_stab_section_find_nearest_line): Use extensive caching to
	speed up searches.
1998-02-04 21:18:25 +00:00
Ian Lance Taylor
36fb0b86c7 Wed Feb 4 15:40:00 1998 Geoffrey Keating <geoffk@ozemail.com.au>
* gas/ppc/ppc.exp: New file.
	* gas/ppc/astest.s, gas/ppc/astest.d: New test.
	* gas/ppc/astest2.s, gas/ppc/astest2.d: New test.
1998-02-04 20:42:29 +00:00
Ian Lance Taylor
6e2604ced5 * config/tc-ppc.h (tc_fix_adjustable) [OBJ_ELF]: A reloc against
a gas internal symbol is adjustable.
1998-02-04 20:33:12 +00:00
Ian Lance Taylor
dfe0d219ce * config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: A reloc against
a gas internal symbol is adjustable.
1998-02-04 20:29:30 +00:00
Ian Carmichael
e46ede536a * Update configure: txvu-elf changed to dvp-elf. 1998-02-04 18:46:18 +00:00