aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr17618.d
AgeCommit message (Collapse)AuthorFilesLines
2017-08-09Run PR ld/17618 test only with 64-bit ELF linkerH.J. Lu1-1/+0
PR ld/17618 test requires 64-bit linker to run. Set LD_CLASS to "64bit" for 64-bit ELF linker and run PR ld/17618 test only if $LD_CLASS is "64bit". More checks can be added to support 64-bit linkers in non-ELF format. * testsuite/config/default.exp (LD_CLASS): New. Set to "64bit" for 64-bit ELF linker. * testsuite/ld-x86-64/pr17618.d (#notarget): Removed. * testsuite/ld-x86-64/x86-64.exp: Run pr17618 only for 64-bit linker.
2014-11-20Don't run pr17618 test on x32H.J. Lu1-0/+1
* ld-x86-64/pr17618.d: Don't run on x32.
2014-11-18Check PC-relative offset overflow in PLT entryH.J. Lu1-0/+4
This patch checks PC-relative offset overflow in pushq instruction in x86-64 PLT entry. bfd/ PR ld/17618 * elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Check PC-relative offset overflow in PLT entry. ld/testsuite/ PR ld/17618 * ld-x86-64/x86-64.exp: Run pr17618 for Linux target. * ld-x86-64/pr17618.d: New file. * ld-x86-64/pr17618.s: Likewise.