]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
* config/tc-mips.c (append_insn): Use fix_new rather than fix_new_exp
authorRichard Sandiford <rdsandiford@googlemail.com>
Thu, 7 Oct 2004 22:29:19 +0000 (22:29 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Thu, 7 Oct 2004 22:29:19 +0000 (22:29 +0000)
commit6e1304d81772e4e4f2a64b49d3a9434726da1fcf
treec57d4121973193c2e27fda6a9b4cdee133fd0ee7
parent1c877e87e3ccaf264d2026a70c146289d19e4cdb
* 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