diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2003-02-08 17:05:55 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2003-02-08 17:05:55 +0000 |
commit | 5919d0127e12dfe3d3190ba3468c71782cb16b02 (patch) | |
tree | ea35f74913dd8981ddc30119e1d9b96f70b9bc1e /gas/flonum-copy.c | |
parent | 00b28bb047a8304ba4f00433072b8f1bd8f35e60 (diff) | |
download | gdb-5919d0127e12dfe3d3190ba3468c71782cb16b02.zip gdb-5919d0127e12dfe3d3190ba3468c71782cb16b02.tar.gz gdb-5919d0127e12dfe3d3190ba3468c71782cb16b02.tar.bz2 |
gas/
* config/tc-mips.c (reloc_needs_lo_p): New function.
(fixup_has_matching_lo_p): New function.
(append_insn): Use reloc_needs_lo_p to check whether a relocation
might need a matching %lo(). Reuse the head of mips_hi_fixup_list
if that fixup already has a matching %lo(). Don't call frag_wane here.
(macro): Call frag_wane here if the last unmatched hi was in the
current frag.
(pic_need_relax): New function, split out from...
(md_estimate_size_before_relax): ...here.
(mips_frob_file): Use reloc_needs_lo_p. Use pic_need_relax to test
whether BFD_RELOC_MIPS_GOT16 fixups refer to global symbols.
gas/testsuite/
* gas/mips/rel12.[sd], gas/mips/rel13.[sd]: New tests.
* gas/mips/mips.exp: Run them.
Diffstat (limited to 'gas/flonum-copy.c')
0 files changed, 0 insertions, 0 deletions