From ac2aa337d30099606f140bdf01abaf7e22d68327 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Mon, 18 Jul 2005 06:23:40 +0000 Subject: bfd/ 2005-07-18 Jan Beulich * elf32-i386.c (elf_howto_table): Adjust overflow complaint handler for R_386_PC16. * elf64-x86-64.c (x86_64_elf_howto_table): Adjust overflow complaint handler for R_X86_64_PC16, R_X86_64_8, and R_X86_64_DTPOFF. ld/testsuite/ 2005-07-18 Jan Beulich * ld-i386/abs.s, ld-i386/zero.s, ld-i386/abs.d, ld-x86-64/abs.d, ld-i386/pcrel16.s, ld-i386/pcrel16.d, ld-x86-64/pcrel16.d, ld-i386/pcrel8.s, ld-i386/pcrel8.d, ld-x86-64/pcrel8.d: New. * ld-i386/i386.exp, ld-x86-64/x86-64.exp: Run new tests. --- ld/testsuite/ld-i386/pcrel16.s | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 ld/testsuite/ld-i386/pcrel16.s (limited to 'ld/testsuite/ld-i386/pcrel16.s') diff --git a/ld/testsuite/ld-i386/pcrel16.s b/ld/testsuite/ld-i386/pcrel16.s new file mode 100644 index 0000000..269d9ca --- /dev/null +++ b/ld/testsuite/ld-i386/pcrel16.s @@ -0,0 +1,11 @@ + .text + .code16 + .global _start, fwd +_start: + jpo fwd + .rept 2500 + testl $0x12345678, %ss:0x76543210(,%eax,4) + .endr +fwd: + leave + ret -- cgit v1.1