* 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)
commitaf6ae2ade7295c47648806baf4551e870508a2cb
tree408c2b8a9105611db919c177e05934814744d9a1
parentc9c1e416d7dd1a35bd7c1a96d034dca1d5071cd1
* 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