Commit Graph

1179 Commits

Author SHA1 Message Date
Nick Clifton
38b87a1b80 Do not set finalize_syms until after the segments have been sized.
Some backends may still need to access the syms's frags in order to
adjust relaxed frags.
2001-06-27 08:49:42 +00:00
Nick Clifton
d827344236 Use MVN to build simple inverted constants. 2001-06-27 08:15:52 +00:00
Alan Modra
1a16aca4b4 * write.c (fixup_segment <Difference of 2 syms same seg>): Don't
subtract MD_PCREL_FROM_SECTION for 68k.
	(fixup_segment <Difference of 2 syms different seg>): Only fudge
	by adding MD_PCREL_FROM_SECTION for 68k or if not already pcrel.
2001-06-27 07:02:24 +00:00
Alan Modra
d48019e088 * write.c (fixup_segment <Difference of 2 syms same seg>): If
pcrel, subtract MD_PCREL_FROM_SECTION value.
2001-06-27 03:14:47 +00:00
Ben Elliston
37ffda1076 2001-06-24 Ben Elliston <bje@redhat.com>
* stabs.c (generate_asm_file): Make local variable `len' a size_t.
2001-06-25 07:57:09 +00:00
Jakub Jelinek
6f112c47dc * config/tc-alpha.c (tc_gen_reloc): Handle relocs against SEC_MERGE
section symbols the same way as externs.
2001-06-24 16:43:31 +00:00
Ben Elliston
453520d7ad 2001-06-24 Ben Elliston <bje@redhat.com>
* config/tc-m88k.c (md_number_to_imm): Remove; unused since 1993.
	(emit_relocations): Ditto.
	(s_bss): Ditto.
	(md_begin): Reformat comments to conform to the GNU standards.
	(md_assemble): Ditto.
2001-06-24 06:01:49 +00:00
Ben Elliston
e21e484e83 * fixes to silence all compiler warnings.
2001-06-24  Ben Elliston  <bje@redhat.com>

	* config/tc-m88k.c (get_reg): Adjust type of `reg_prefix' to char.
	(md_parse_option): Mark parameters as unused.
	(md_show_usage): Ditto.
	(calcop): Adjust type of `reg_prefix' to char.
	(get_reg): Ditto.
	(getval): Adjust type of local `c' to char.
	(md_create_short_jump): Mark from_addr, to_addr params as unused.
	(md_create_long_jump): Ditto.
	(md_estimate_size_before_relax): Mark parameters as unused.
2001-06-24 01:56:48 +00:00
Ben Elliston
a181d81e0c 2001-06-24 Ben Elliston <bje@redhat.com>
* config/tc-m88k.c (md_pseudo_table): Properly terminate the table
	to allay a possible compiler warning.
2001-06-23 23:02:57 +00:00
Nick Clifton
dd9b19ab40 Document md_atof 2001-06-22 09:32:09 +00:00
Nick Clifton
8be31359fc Add %mrp (millicode return pointer) alias for %r2 or %r31, depending on 32 or
64 bit architecture.
2001-06-22 08:17:57 +00:00
Nick Clifton
1cac90122e Allow adrCCl. [Patch from Phillip BLundel]
Updated ARM tests.
2001-06-21 19:46:54 +00:00
Alan Modra
b091f402a9 * config/tc-hppa.c (CHECK_FIELD_WHERE): Define.
(md_apply_fix): Use it here.  Replace printf with equivalent
	as_bad_where.
	(tc_gen_reloc): Use as_bad_where instead of as_bad.
	(md_apply_fix): Here too.
	* config/tc-i386.c (tc_gen_reloc): Use as_bad_where instead of as_bad.
	* config/tc-m68k.c (tc_gen_reloc): Likewise.
	(md_convert_frag_1): Likewise.
2001-06-21 06:12:11 +00:00
Tom Rix
1ad63b2f00 Fix for problem with default alignment of .comm 2001-06-20 13:34:10 +00:00
Nick Clifton
b99bd4efbd Restore file accidentally deleted during man page cleanup 2001-06-19 16:26:43 +00:00
Nick Clifton
c45021f2d2 Remove auot generated man pages 2001-06-19 11:57:29 +00:00
Phil Blundell
2172d73b21 2001-06-18 Philip Blundell <philb@gnu.org>
* config/tc-arm.c (do_msr): Remove restriction on usage of
	immediate operands.
2001-06-19 07:33:21 +00:00
Alan Modra
45c500fa3e * dwarf2dbg.c (dwarf2_finish): Output file info even when no
line info.
2001-06-19 05:40:55 +00:00
Phil Blundell
0b317b0807 2001-06-13 Philip Blundell <philb@gnu.org>
* config/tc-arm.c (thumb_shift): Improve wording of error message.
	(do_t_arit): Likewise.
2001-06-14 07:58:12 +00:00
Nick Clifton
2bc0a1288f Stop sh-coff port from trying to call dwarf2 debug functions 2001-06-13 16:46:05 +00:00
Andreas Jaeger
74b5b66abe * gas/vtable/vtable.exp (run_list_test): Don't run on sparc64. 2001-06-13 13:42:42 +00:00
Nick Clifton
07a7a14553 Fix typo in comment 2001-06-13 11:29:53 +00:00
Nick Clifton
542bf900ba Regernate after recent change to as.texinfo 2001-06-13 11:26:37 +00:00
Nick Clifton
b131d4dca6 Document use of comparison operators as infix operators 2001-06-12 15:56:04 +00:00
Nick Clifton
e1f44d1052 Fix m68k/mri mode problems. 2001-06-12 10:35:24 +00:00
Nick Clifton
3971ce954f fix test for overlflow of literal pool 2001-06-12 08:27:53 +00:00
Alan Modra
de8b1efeaa * gas/i386/x86_64.d: Update for 2001-06-11 disassembler change. 2001-06-12 02:03:10 +00:00
H.J. Lu
63486801dd 2001-06-11 H.J. Lu <hjl@gnu.org>
* NEWS: Updated for the new -n option for the MIPS assembler.

	* config/tc-mips.c (md_show_usage): Add -n.

	* doc/as.texinfo: Document the new -n option.
	* doc/c-mips.texi: Likewise.
	* doc/as.1: Regenerated.
2001-06-11 20:40:36 +00:00
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