OSDN Git Service

* tc-mips.c (RELAX_BRANCH_ENCODE): Remove reloc_s2 argument.
authorAlexandre Oliva <aoliva@redhat.com>
Thu, 12 Dec 2002 04:40:07 +0000 (04:40 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Thu, 12 Dec 2002 04:40:07 +0000 (04:40 +0000)
commit3deb6edf0636a9955817f617c8d52dfa1b1e1956
treedb049892e6c154e68419c3f66e91a52bf1c23d14
parent779185b0c975c6b77cf969e21f9b49115162d679
* tc-mips.c (RELAX_BRANCH_ENCODE): Remove reloc_s2 argument.
Adjust callers.
(RELAX_BRANCH_RELOC_S2): Delete.
(append_insn): Use only BFD_RELOC_16_PCREL_S2 for branches.
Do not handle BFD_RELOC_16_PCREL.
(macro_build, mips_ip): Likewise.
(md_pcrel_from): Return 4 for undefined symbols regardless of
mips_pic.
(md_apply_fix3): Use only BFD_RELOC_16_PCREL_S2 for branches.
Don't dereference howto if no such relocation is available.
Do not apply hack for in-place zero addend in NEWABI.
(md_convert_frag): Use only BFD_RELOC_16_PCREL_S2 for branches.
gas/ChangeLog
gas/config/tc-mips.c