* config/tc-mips.c (append_insn): If EMBEDDED_PIC, don't swap a
authorIan Lance Taylor <ian@airs.com>
Fri, 25 Mar 1994 22:40:44 +0000 (22:40 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 25 Mar 1994 22:40:44 +0000 (22:40 +0000)
commit5b63f465fceee4d74e9450c91497d33d0f900fa6
treef5f72fc3ffe834b89edf48431b7bd1cb493bbdac
parenta3a33af390c3a99e00b20847a102e307cfb538c7
* config/tc-mips.c (append_insn): If EMBEDDED_PIC, don't swap a
branch with an instruction that uses $at, in case the branch is
later expanded.
(macro): If EMBEDDED_PIC, case M_JAL_A may use $at.
(md_pcrel_from): If not OBJ_AOUT, return 4 for an undefined symbol
to make it pcrel_offset.
(tc_gen_reloc): If not OBJ_AOUT, set the reloc addend to
reloc->address; another gruesome hack to get gas reloc handling to
do the right thing.
gas/ChangeLog
gas/config/tc-mips.c