Commit Graph

1151 Commits

Author SHA1 Message Date
H.J. Lu
bab00ceada 2001-06-10 H.J. Lu <hjl@gnu.org>
* gas/elf/section2.l: Match various white spaces.
2001-06-11 01:07:02 +00:00
H.J. Lu
3e9379a98e Support 64bit ELF, not BFD. 2001-06-10 23:05:47 +00:00
H.J. Lu
6174aabb80 2001-06-10 H.J. Lu <hjl@gnu.org>
* gas/elf/section2.e: Support 64bit BFD.
	* gas/elf/section2.e-mips: Likewise.
2001-06-10 18:16:51 +00:00
Alan Modra
5dd0794dca Branch hints for Pentium4 as insn modifiers, and some minor tweaks
to formatting.
2001-06-10 14:07:12 +00:00
H.J. Lu
594e740ff0 2001-06-08 H.J. Lu <hjl@gnu.org>
* gas/mips/elfel-rel3.s: Moved to ...
	* gas/mips/elf-rel3.s: Here.

	* gas/mips/elf-rel3.d: Updated.

	* gas/mips/elfel-rel3.d: Updated.

	* gas/mips/relax.d: New file.
	* gas/mips/relax.s: Likewise.

	* gas/mips/mips.exp: Run relax and set xfail.
2001-06-09 06:25:55 +00:00
H.J. Lu
39c0a33100 2001-06-08 H.J. Lu <hjl@gnu.org>
* config/tc-mips.c (warn_nops): New variable. Set to 0 to
	disable warning about all NOPS that the assembler generates.
	(macro): Warn NOPS generated only if warn_nops is not 0.
	(md_shortopts): Add `n'.
	(md_parse_option): Set warn_nops to 1 for `n'.
2001-06-09 05:24:39 +00:00
H.J. Lu
268f6bed84 2001-06-08 H.J. Lu <hjl@gnu.org>
* config/tc-mips.c (mips_ip): Properly handle illegal operands.
2001-06-09 05:01:29 +00:00
H.J. Lu
d9e138e292 2001-06-08 H.J. Lu <hjl@gnu.org>
* gas/mips/illegal.s: New file.
	* gas/mips/illegal.l: Likewise.

	* gas/elf/elf.exp (run_list_test): New.
	Run illegal with run_list_test.
2001-06-09 04:54:16 +00:00
H.J. Lu
7388e440ec 2001-06-08 H.J. Lu <hjl@gnu.org>
* gas/mips/elf-jal.d: New file.

	* gas/mips/mips.exp: Run "elf-jal" instead of "jal" for ELF.
2001-06-09 03:28:32 +00:00
H.J. Lu
ea4ff978a2 2001-06-08 H.J. Lu <hjl@gnu.org>
* config/tc-mips.c (md_apply_fix): Don't adjust common
	extern/weak symbols for ELF.
	(md_estimate_size_before_relax): Treat weak like extern for
	ELF.
	(mips_fix_adjustable): Don't adjust extern/weak symbols for
	ELF.
2001-06-09 03:28:04 +00:00
Alan Modra
02e07694c3 * gas/elf/elf.exp (run_list_test): Undo $readelf change in 2001-06-07. 2001-06-08 15:27:25 +00:00
Alan Modra
c0037ab6f5 fix typo. 2001-06-08 06:11:33 +00:00
Alan Modra
98aa84af0e * Makefile.am: 'som' is not wrongly spelled 'some'.
* Makefile.in: Regenerate.

	* config/tc-mips.c (mips16_mark_labels): Reduce number of calls to
	S_GET_VALUE by using a temp.
	(append_insn): Likewise, and for S_GET_VALUE too.
	(mips_emit_delays): Likewise.
	(my_getExpression): Likewise.
	(md_apply_fix): Likewise.  Use "valueT" rather than "long" for "value".
	(mips16_extended_frag): Remove code concerned with avoiding
	locking in a frag address now that symbols are not finalized until
	relaxation is complete.  Cater for first relaxation pass having
	bogus addresses.  Use relax_marker to reliably determine whether a
	symbol frag has been reached on the current pass.
2001-06-08 06:07:13 +00:00
H.J. Lu
fa6b2d59c9 2001-06-07 H.J. Lu <hjl@gnu.org>
* gas/elf/section2.e-mips: New file.

	* gas/elf/elf.exp (run_list_test): Add suffix.
	Pass -mips as suffix to run_list_test for mips.
2001-06-08 01:08:05 +00:00
H.J. Lu
f85f789b4c 2001-06-07 H.J. Lu <hjl@gnu.org>
* configure.in: Move "mips-*-linux-gnu*" before "mips-*-gnu*".
	* configure: Regenerate.
2001-06-07 23:43:46 +00:00
H.J. Lu
7b15a6b5a9 2001-06-07 H.J. Lu <hjl@gnu.org>
* gas/elf/section2.l: Match ".*GAS.*" instead of
	"GAS LISTING .*".
2001-06-07 18:06:59 +00:00
H.J. Lu
df3bcd6f73 2001-06-07 H.J. Lu <hjl@gnu.org>
* configure.in: Use MIPS_STABS_ELF for Linux/mips and remove
	ecoff emulation.
	* configure: Regenerate.
2001-06-07 17:23:14 +00:00
H.J. Lu
9160c09b0f 2001-06-07 H.J. Lu <hjl@gnu.org>
* gas/mips/mips.exp: Set xfail for "lineno" on Linux/mips.
2001-06-07 17:18:56 +00:00
H.J. Lu
add565213d 2001-06-07 H.J. Lu <hjl@gnu.org>
* config/tc-mips.c (mips_pseudo_table): Add "extern" if
	MIPS_STABS_ELF is defined.
2001-06-07 16:52:19 +00:00
H.J. Lu
d2d89a164a Fix typos. 2001-06-07 16:48:18 +00:00
H.J. Lu
823e3a7306 2001-06-06 H.J. Lu <hjl@gnu.org>
* gas/mips/empic.d: Support stabs.
	* gas/mips/mips16-e.d: Likewise.
	* gas/mips/mips16-f.d: Likewise.
	* gas/mips/mipsel16-f.d: Likewise.
	* gas/mips/telempic.d: Likewise.
	* gas/mips/tempic.d: Likewise.
	* gas/mips/tmips16-e.d: Likewise.
	* gas/mips/tmipsel16-e.d: Likewise.
2001-06-07 16:44:12 +00:00
H.J. Lu
a90335ee82 2001-06-06 H.J. Lu <hjl@gnu.org>
* gas/mips/elf-rel3.s: New file.
	* gas/mips/elf-rel3.d: Likewise.
	* gas/mips/elfel-rel3.s: Likewise.
	* gas/mips/elfel-rel3.d: Likewise.

	* gas/mips/mips.exp: Run elf-rel3/elfel-rel3.
2001-06-07 00:57:40 +00:00
H.J. Lu
5b5032ebbd 2001-06-06 H.J. Lu <hjl@gnu.org>
* gas/elf/elf.exp (run_list_test): New.
	Run section2 with run_list_test.

	* gas/elf/section2.e: New file.
	* gas/elf/section2.l: Likewise.
	* gas/elf/section2.s: Likewise.
2001-06-06 21:07:14 +00:00
Nick Clifton
6da13e9a21 Remove L fromlist of accepting listin goptions 2001-06-06 17:32:38 +00:00
Nick Clifton
879db8be1a Remove warnings building z8k port.
Fix ld -r behaviour
2001-06-06 17:01:35 +00:00
Nick Clifton
98b3248268 correct some 68k/ColdFire problems 2001-06-06 14:28:00 +00:00
Alan Modra
6e139bf09a * config/tc-s390.h (TC_FORCE_RELOCATION): Always emit relocations
BFD_RELOC_VTABLE_INHERIT and BFD_RELOC_VTABLE_ENTRY.
2001-06-06 12:08:50 +00:00
Alan Modra
d6767af842 * config/tc-s390.h (TC_FORCE_RELOCATION): Always emit relocations
BFD_RELOC_VTABLE_INHERIT and BFD_RELOC_VTABLE_ENTRY.
2001-06-06 12:06:56 +00:00
Alan Modra
cb9401fc47 * config/tc-i386.c (md_assemble): Handle Pentium4 branch hints.
<JumpByte, JumpDword insn output>: Remove dead code.
2001-06-06 10:23:39 +00:00
Alan Modra
3c5cdb543e * as.c (parse_args): Correct option name "listing-lhs-width2". 2001-06-06 03:42:24 +00:00
Nick Clifton
92ed29ef02 oops - omitted from previous delta 2001-06-05 08:31:24 +00:00
Nick Clifton
4d7c34bfce Do not allow .globl to override .section 2001-06-05 08:29:59 +00:00
H.J. Lu
5199a87b39 2001-06-04 H.J. Lu <hjl@gnu.org>
* gas/mips/mips4010.s: Add the missing ".end".
	* gas/mips/mips4100.s: Likewise.
	* gas/mips/mips4650.s: Likewise.
	* gas/mips/sync.s: Likewise.
2001-06-04 18:20:00 +00:00
H.J. Lu
0b4bdf775b 2001-06-02 H.J. Lu <hjl@gnu.org>
* gas/sparc/unalign.d: Support Sparc V9.
2001-06-02 18:46:14 +00:00
Richard Henderson
371b7465e4 * read.c (emit_leb128_expr): Call md_cons_align. 2001-05-31 00:00:30 +00:00
Tom Rix
41ea10b134 formatting change 2001-05-29 14:53:22 +00:00
Nick Clifton
0f2712edc9 Add support for .uahword, .uaword and .uaxword pseudo ops 2001-05-28 09:23:54 +00:00
Alan Modra
9e40345d0e * write.c (relax_segment <rs_space>): Check the section of a
symbol to determine whether it is absolute rather than comparing
	its frag against zero_address_frag as listings play tricks with
	frags.
2001-05-27 12:17:38 +00:00
Alan Modra
fbe572f93e * config/tc-m68k.c (md_assemble): Ensure variable part of frag is
allocated in the same chunk as the fixed part.
2001-05-27 11:57:25 +00:00
Hans-Peter Nilsson
0b171357e6 * gas/cris/addi.d: Tweak for 64-bit BFD.
* gas/cris/binop-cmpmove.d, gas/cris/binop-cmpmovx.d,
	gas/cris/binop-extx.d, gas/cris/binop.d, gas/cris/bork.d,
	gas/cris/branch.d, gas/cris/break.d, gas/cris/brokw-1.d,
	gas/cris/brokw-2.d, gas/cris/brokw-3.d, gas/cris/ccr.d,
	gas/cris/clear.d, gas/cris/continue.d, gas/cris/fragtest.d,
	gas/cris/jump-type.d, gas/cris/labfloat.d, gas/cris/macroat.d,
	gas/cris/movem-to-reg.d, gas/cris/nosep.d, gas/cris/oneop-type.d,
	gas/cris/prefix.d, gas/cris/pushpop-byte-sreg.d,
	gas/cris/pushpop-dword-sreg.d, gas/cris/pushpop-word-sreg.d,
	gas/cris/pushpop.d, gas/cris/quick-s6.d, gas/cris/quick-u5.d,
	gas/cris/quick-u6.d, gas/cris/range-err-1.s, gas/cris/rd-pic-1.d,
	gas/cris/rd-regprefix-1.d, gas/cris/rd-regprefix-1b.d,
	gas/cris/reg-to-mem.d, gas/cris/regreg.d, gas/cris/return.d,
	gas/cris/scc.d, gas/cris/separator.d, gas/cris/shexpr-1.d,
	gas/cris/sreg-to-x.d, gas/cris/test.d, gas/cris/unimplemented.d,
	gas/cris/unop-mem.d, gas/cris/x-to-byte-sreg.d,
	gas/cris/x-to-dcr1-sreg.d, gas/cris/x-to-dword-sreg.d,
	gas/cris/x-to-word-sreg.d: Ditto.
	* gas/cris/shexpr-1.d: Ditto.  Correct format.
2001-05-27 09:34:06 +00:00
Alan Modra
54d3cad90d * write.c (relax_segment <rs_space>): Calculate growth using
addresses before stretch.  Prevent repeated error messages.
	From Peter Jakubek  <pjak@snafu.de>
	Use as_bad_where and as_warn_where to pinpoint errors.
2001-05-26 12:45:15 +00:00
H.J. Lu
ff8715d024 2001-05-25 H.J. Lu <hjl@gnu.org>
* gas/mips/e32el-rel2.d: New for little endian mips.
	* gas/mips/elfel-rel2.d: Likewise.
	* gas/mips/elfel-rel.d: Likewise.
	* gas/mips/mipsel16-f.d: Likewise.
	* gas/mips/telempic.d: Likewise.
	* gas/mips/tmipsel16-e.d: Likewise.

	* gas/mips/tempic.d: New for traditional mips.
	* gas/mips/tmips16-e.d: Likewise.

	* gas/mips/elf-rel.d: Handle alignment padding.
	* gas/mips/elf-rel2.d: Likewise.

	* gas/mips/mips.exp: Support little endian and traditional
	mips.
2001-05-25 18:39:02 +00:00
Alan Modra
05bdb37eec * symbols.c (resolve_symbol_value): Always set segment, even when
not finalizing symbol value.
2001-05-25 10:07:43 +00:00
Alan Modra
1cd55018a6 * config/obj-ieee.c (write_object_file): Set finalize_syms.
* config/obj-coff.c (write_object_file): Likewise.
	* (size_section): Remove rs_space assert as fr_symbol is no longer
	removed.
	(fill_section): Likewise.
2001-05-25 09:40:12 +00:00
Alan Modra
c709b09623 s/linuxaout/linux*aout/, s/linuxoldld/linux*oldld/ 2001-05-25 07:21:01 +00:00
Alan Modra
ce34c3732a Revert last patch. 2001-05-25 01:59:43 +00:00
Alan Modra
40e3ba9bb7 * expr.c (expr): Set return value to absolute_section for
subtractive operations on symbols within a segment.
	* read.c (pseudo_set): Set segment for complex expressions.
2001-05-25 00:01:30 +00:00
Alan Modra
b58c9faf2f From 2.11 branch 2001-03-30 Richard Henderson <rth@redhat.com>
* config/tc-i386.c (md_convert_frag): Don't die on local symbols
	that have been finalized.
2001-05-24 23:52:22 +00:00
Alan Modra
c89c853400 * symbols.c (resolve_symbol_value): Clear sy_resolving before
taking exit_dont_set_value.
2001-05-24 23:44:06 +00:00
Alan Modra
766c03c9fa * write.c (relax_segment): Don't zap fr_symbol when relaxing. 2001-05-24 23:33:00 +00:00