PR gas/3041
authorNick Clifton <nickc@redhat.com>
Tue, 15 May 2007 09:21:24 +0000 (09:21 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 15 May 2007 09:21:24 +0000 (09:21 +0000)
commit1c3f20b4d1bae5fb56f265da94b18101f7dab390
tree671d1daed8d045bfb42ef9307d573c020ff3ec5b
parent0414f35b827c242a1541214a9f59ddb41ecd59f8
PR gas/3041
* config/tc-m68k.c (relaxable_symbol): Make sure that the correct addend is stored for relocs against weak symbols.
    (md_apply_fix): So not loose track of addend for relocs against weak symbols.
* testsuite/gas/m68k/p3041.s: New test case.
* testsuite/gas/m68k/p3041.d: New expected disassembly.
* testsuite/gas/m68k/all.exp: Run new test for m68k-*-netbsd toolchains.
    Only run arch-cpu-1 test for ELF based toolchains.

    Tidy ups for m68k-netbsd gas toolchain:
* testsuite/gas/m68k/cpu32.d: Allow for extra text after expected disassembly.
* testsuite/gas/m68k/mcf-trap.d: Allow for alternative trap mnemonics.
* testsuite/gas/m68k/br-isab.d: Fix name of test.
* testsuite/gas/m68k/br-isac.d: Fix name of test.
gas/ChangeLog
gas/config/tc-m68k.c
gas/testsuite/ChangeLog
gas/testsuite/gas/m68k/all.exp
gas/testsuite/gas/m68k/br-isab.d
gas/testsuite/gas/m68k/br-isac.d
gas/testsuite/gas/m68k/cpu32.d
gas/testsuite/gas/m68k/mcf-trap.d
gas/testsuite/gas/m68k/p3041.d [new file with mode: 0644]
gas/testsuite/gas/m68k/p3041.s [new file with mode: 0644]