* config/tc-mips.c (append_insn): Use fix_new rather than fix_new_exp
commitc228d246120aa7ac5eecae7a409d05e3e0dcd55f
authorRichard Sandiford <rsandifo@nildram.co.uk>
Thu, 7 Oct 2004 22:29:19 +0000 (7 22:29 +0000)
committerRichard Sandiford <rsandifo@nildram.co.uk>
Thu, 7 Oct 2004 22:29:19 +0000 (7 22:29 +0000)
tree93e047e81949547e52acf9c0d6d1b1227af133a3
parent576c442853d25767300df63b4e78860c540e21ba
* config/tc-mips.c (append_insn): Use fix_new rather than fix_new_exp
to build the second and third fixups for a composite relocation.
(macro_read_relocs): New function.
(macro_build): Use it.
(s_cpsetup): Pass all three composite relocation codes to macro_build.
Simplify fragging code accordingly.
(s_gpdword): Use fix_new rather than fix_new_exp for the second part
of the composite relocation.  Set fx_tcbit in both fixups.
gas/ChangeLog
gas/config/tc-mips.c
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/elf-rel23.d [new file with mode: 0644]
gas/testsuite/gas/mips/elf-rel23.s [new file with mode: 0644]
gas/testsuite/gas/mips/elf-rel24.d [new file with mode: 0644]
gas/testsuite/gas/mips/elf-rel24.s [new file with mode: 0644]
gas/testsuite/gas/mips/mips.exp