Commit Graph

1046 Commits

Author SHA1 Message Date
Alexandre Oliva a8a22e3365 * expr.c (operand): Pass &c to md_parse_name().
* config/tc-ia64.h, config/tc-ppc.h, config/tc-tic54x.h: Adjust.
2001-04-12 07:03:10 +00:00
H.J. Lu af9539e4e5 2001-04-07 Steven J. Hill <sjhill@cotw.com>
* config/tc-mips.c: Support ELF64 for traditional MIPS targets.

	* Makefile.am: (TARG_ENV_HFILES): Add tc-mips.h.
	* Makefile.in: Regenerated.

	* configure.in: Use traditional MIPS targets for Linux/MIPS.
	* configure: Regenerated.
2001-04-08 05:09:21 +00:00
Alexandre Oliva 4dfea10551 * config/tc-mn10300.c (xr_registers): Added `pc'. 2001-04-06 07:50:48 +00:00
Hans-Peter Nilsson ee544a35f7 Remove redundant ChangeLog entry separator 2001-04-05 19:11:07 +00:00
Hans-Peter Nilsson 777623bb46 * gas/cris/fragtest.s, gas/cris/rd-pic-1.s,
gas/cris/binop-cmpmovx.d, gas/cris/binop-cmpmove.d,
	gas/cris/binop.d, gas/cris/binop.s, gas/cris/brokw-2.d,
	gas/cris/clear.d, gas/cris/fragtest.s, gas/cris/jump-type.d,
	gas/cris/nosep.s, gas/cris/pushpop.d, gas/cris/quick.s,
	gas/cris/range-err-2.s, gas/cris/sep-err-1.s,
	gas/cris/sreg-to-x.d, gas/cris/test.d, gas/cris/x-to-byte-sreg.d,
	gas/cris/x-to-word-sreg.d, gas/cris/x-to-dword-sreg.d: Remove
	trailing empty lines.
	* gas/cris/continue.s: Ditto, tweak comment.
2001-04-05 19:07:00 +00:00
Hans-Peter Nilsson 8ac9c12459 * gas/cris/brokw-2.s: Correct broken-word expansion visualization
in comment.
2001-04-05 18:19:13 +00:00
Hans-Peter Nilsson ad7f5c6905 * gas/cris/rd-dw2-1.d, gas/cris/rd-dw2-2.d, gas/cris/rd-dw2-3.d,
gas/cris/rd-dw2-4.d, gas/cris/rd-dw2-5.d, gas/cris/rd-dw2-6.d,
	gas/cris/rd-dw2-7.d, gas/cris/rd-dw2-8.d, gas/cris/rd-dw2-9.d,
	gas/cris/rd-dw2-10.d, gas/cris/rd-dw2-11.d, gas/cris/rd-dw2-12.d,
	gas/cris/rd-dw2-13.d, gas/cris/rd-dw2-14.d, gas/cris/rd-dw2-15.d:
	New tests.
2001-04-05 18:15:04 +00:00
Hans-Peter Nilsson 4b0d96c227 * lib/gas-defs.exp (run_dump_test): Support using readelf.
* config/default.exp: Default READELF and READELFFLAGS.
2001-04-05 15:31:46 +00:00
Alan Modra e66457fbf3 Fix more breakages from the multiple relax pass patch. 2001-04-05 04:21:36 +00:00
Hans-Peter Nilsson ed67db7ab9 * config/tc-cris.c (cris_insn_first_word_frag): New.
(md_assemble): Call cris_insn_first_word_frag to get the first
	frag in an insn, not frag_more.  Don't call dwarf2_emit_insn at
	end.  Drop variable insn_size.
	(gen_bdap): Call cris_insn_first_word_frag, not frag_more.
	(cris_sym_leading_underscore): Wrap first as_bad parameter in _().
	(cris_sym_no_leading_underscore, s_cris_file, s_cris_loc): Ditto.
2001-04-04 04:23:20 +00:00
Hans-Peter Nilsson c335d39444 * config/tc-cris.c (md_estimate_size_before_relax) <case
ENCODE_RELAX (STATE_CONDITIONAL_BRANCH, STATE_UNDF)>: Don't emit
	32-bit branch, just set fragP->fr_subtype.  Set fragP->fr_var.
	<all cases>: Always set fragP->fr_var using md_cris_relax_table.
	Add cases to cover all relax states.
2001-04-04 03:53:12 +00:00
Hans-Peter Nilsson aacb52510a * write.c (write_object_file): Reset broken word state before
calling relax_seg.
2001-04-04 03:05:47 +00:00
Alan Modra 61b96bb428 Fix conditional assembly listings when more than one .else/.elsif 2001-03-31 06:47:54 +00:00
Alan Modra cdbc6895e5 * cond.c (s_endif): Correct handling of "if .. elseif .." trees.
Don't abort on NULL current_cframe.
2001-03-31 02:06:24 +00:00
H.J. Lu 5fba830057 2001-03-30 H.J. Lu <hjl@gnu.org>
* gas/i386/relax.d: Dump with -s instead of -drw.
2001-03-30 17:52:10 +00:00
Alan Modra 1a5447b835 Pass finalize_syms on calls to resolve_symbol_value. 2001-03-30 07:07:11 +00:00
Alan Modra 0529cb8781 Missing ChangeLog for dwarf2dbg.c warning fixes. 2001-03-30 02:39:18 +00:00
Alan Modra e46d99eb07 Multi-pass relaxation machinery. 2001-03-30 02:19:36 +00:00
H.J. Lu 0068722893 2001-03-29 H.J. Lu <hjl@gnu.org>
* gas/i386/relax.s: New test for relaxation between sections.
	* gas/i386/relax.d: New.

	* gas/i386/i386.exp: Add tests for ELF.
2001-03-30 01:20:41 +00:00
Alan Modra 93c2a809af Prepare for multi-pass relaxation. 2001-03-30 00:06:10 +00:00
Hans-Peter Nilsson 23ec5d0312 Clarify ChangeLog entry 2001-03-29 02:32:52 +00:00
Hans-Peter Nilsson d551a338e2 * config/tc-cris.h (tc_fix_adjustable): Allow only
BFD_RELOC_CRIS_32_GOTREL of the PIC relocs.
	* config/tc-cris.c (cris_get_pic_suffix): Correct reloc used in
	example to valid.
2001-03-29 02:29:38 +00:00
H.J. Lu 440ecb3800 2001-03-28 H.J. Lu <hjl@gnu.org>
* read.c (equals): Set to local for COFF only if it hasn't been
	defined before.
2001-03-28 17:24:01 +00:00
Alan Modra 8a238888b4 Default hppa64 to ".level 2.0w" 2001-03-28 14:13:46 +00:00
Nick Clifton d5c4095a98 Allow for the possibility that the local labels won't be in the objdump output. 2001-03-27 19:33:52 +00:00
Nick Clifton 775cf89163 (for COFF) default symbols to being local. 2001-03-27 19:13:55 +00:00
Ben Elliston bc64be0c37 * as.texinfo (Fill): Replace "result" with "repeat". 2001-03-27 04:51:28 +00:00
Hans-Peter Nilsson f9c191122c * configure.in (cris-*-*): Change default emulation to criself.
(cris-*-*aout*): New rule.
	* configure: Regenerate.
2001-03-27 02:48:19 +00:00
Chris Demetriou 10a5181444 2001-03-26 Chris Demetriou <cgd@broadcom.com>
* gas/mips/sync.s: Declare 'foo' as a function so that this
        test will work on properly on ECOFF targets.
2001-03-26 19:47:47 +00:00
Nick Clifton 07855becf9 Do not optimize BFD_RELOC_390_GOTENT relocs.
Always generate relocs for VT_ relocs.
2001-03-26 19:38:33 +00:00
Nick Clifton 0285c67df1 Automate generate on man pages 2001-03-25 20:32:31 +00:00
Alan Modra 551c1ca176 Accept an absolute expression for index scale factor. 2001-03-25 05:57:09 +00:00
Alan Modra 0f17484fd3 Small tweaks to sse2 instructions. 2001-03-24 06:29:16 +00:00
Nick Clifton c3a27914b8 Document --listing-XXX command line switches.
Explain why listings behave differently when -pipe is used.
2001-03-23 19:35:02 +00:00
Nick Clifton 37006e4391 fix_new_exp: Print an error if passed a register. 2001-03-23 18:15:49 +00:00
Hans-Peter Nilsson 5ef6758f8a * gas/cris/pic-err-1.s, gas/cris/rd-pic-1.s, gas/cris/rd-pic-1.d:
New tests.
2001-03-23 05:58:38 +00:00
Hans-Peter Nilsson 7704145c73 * gas/cris/branch-warn-1.s, gas/cris/branch-warn-2.s,
gas/cris/branch-warn-3.s: Tweak for fixed FIXME:s.
2001-03-23 05:39:38 +00:00
Hans-Peter Nilsson 08caf3f870 * config/tc-cris.[ch]: Tweak attribution. Fix typos. PIC support. 2001-03-23 05:27:42 +00:00
Alan Modra 38686296b3 Use `relax_marker' instead of fragile address test code to determine
whether a frag's fr_address has been updated.
2001-03-20 03:12:01 +00:00
Alan Modra bbe6d95f46 Don't try to read past end of info buffer, and correct test results. 2001-03-19 12:20:10 +00:00
Alan Modra 2e98d2de04 Fix register name printed in warning message. 2001-03-19 11:28:20 +00:00
Andreas Schwab d394a3392e * gas/m68k/pcrel.s: Force alignment to 8 byte boundary to get
consistent output across targets.
	* gas/m68k/pcrel.d: Adjusted.
2001-03-19 10:02:07 +00:00
H.J. Lu 64cbbfaefe 2001-03-18 H.J. Lu <hjl@gnu.org>
* gas/i386/intel.s: Move PIC code to ...
	* gas/i386/intelpic.s: New. Here.
	* gas/i386/intel.d: Updated.
	* gas/i386/intelpic.d: New.

	* gas/i386/i386.exp: Check PIC code in Intel syntax for ELF
	targets only.
2001-03-18 21:28:56 +00:00
Stephane Carrez 31abcf7d04 * gas/mri/mri.exp: Fix test of m6811/m6812 targets. 2001-03-18 10:18:24 +00:00
Stephane Carrez e629c13fd6 * config/tc-m68hc11.c (md_pseudo_table): Recognize xrefb to comply
with 'Motorola specification for assembly language input standard'.
2001-03-18 10:14:13 +00:00
Richard Henderson 249e3833ac * dwarf2dbg.c (user_filenum, user_filenum_allocated): Remove.
(dwarf2_directive_loc): Don't use them.
        (dwarf2_directive_file): Reject duplicate file definitions.
        (get_filenum): Zero allocated memory.
        (out_file_list): Complain about missing file definitions.
2001-03-17 18:23:41 +00:00
Alan Modra 2289f85d24 Teach .org to handle complex expressions 2001-03-17 03:02:06 +00:00
Jim Wilson 4d5a53ff76 Add local tag support. Don't flush instructions for .xdata directives.
* config/tc-ia64.c (md): New member keep_pending_output.
	(ia64_flush_pending_output): Flush only if md.keep_pending_output
	is not set.
	(dot_xdata): Turn on md.keep_pending_output for the duration of
	this function.
	(dot_xfloat_cons): Ditto.
	(dot_xstringer): Ditto.
	(dot_xdata_ua): Ditto.
	(dot_xfloat_cons_ua): Ditto.
	* config/tc-ia64.c (ia64_unrecognized_line, case '['): Add local
	label support.
2001-03-16 04:56:31 +00:00
Alexandre Oliva 19c0258a7f * config/tc-sh.c (parse_reg): Match capital MACH and MACL. 2001-03-16 02:11:05 +00:00
DJ Delorie d68d457018 * stabs.c (s_stab_generic): Don't corrupt the notes obstack by
blindly freeing string if it isn't at the top of the obstack.
2001-03-15 19:30:32 +00:00