diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2013-05-29 16:22:14 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2013-05-29 16:22:14 +0000 |
commit | d6101ac20076846ff5092444691d502fd689c886 (patch) | |
tree | bc8ed8a04d7189c55c1d9b6b3966300002064ba8 /ld/testsuite/ld-mips-elf/jalr3.ld | |
parent | 95e34fb4f43f5cc57c48d4799c5c59d7dcf6c2a2 (diff) | |
download | gdb-d6101ac20076846ff5092444691d502fd689c886.zip gdb-d6101ac20076846ff5092444691d502fd689c886.tar.gz gdb-d6101ac20076846ff5092444691d502fd689c886.tar.bz2 |
gas/
* write.c (resolve_reloc_expr_symbols): On REL targets don't
convert relocs who have no relocatable field either. Rephrase
the conditional so that the PC-relative check is only applied
for REL targets.
gas/testsuite/
* gas/mips/jalr3.d: New test.
* gas/mips/jalr3-n32.d: New test.
* gas/mips/jalr3-n64.d: New test.
* gas/mips/jalr3.s: New test source.
* gas/mips/mips.exp: Run the new tests.
ld/testsuite/
* ld-mips-elf/jalr3.dd: New test.
* ld-mips-elf/jalr3.ld: New test linker script.
* ld-mips-elf/mips-elf.exp: Run the new test.
Diffstat (limited to 'ld/testsuite/ld-mips-elf/jalr3.ld')
-rw-r--r-- | ld/testsuite/ld-mips-elf/jalr3.ld | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/jalr3.ld b/ld/testsuite/ld-mips-elf/jalr3.ld new file mode 100644 index 0000000..1b86045 --- /dev/null +++ b/ld/testsuite/ld-mips-elf/jalr3.ld @@ -0,0 +1,5 @@ +ENTRY(foo) +SECTIONS +{ + .text : { *(.text) } +} |