|
|
58725c |
--- binutils.orig/gas/config/tc-i386.c 2017-10-25 12:52:19.977290474 +0100
|
|
|
58725c |
+++ binutils-2.27/gas/config/tc-i386.c 2017-10-25 15:09:15.572415126 +0100
|
|
|
58725c |
@@ -10655,14 +10655,7 @@ i386_validate_fix (fixS *fixp)
|
|
|
58725c |
{
|
|
|
58725c |
if (!object_64bit)
|
|
|
58725c |
abort ();
|
|
|
58725c |
-#if defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)
|
|
|
58725c |
- if (fixp->fx_tcbit2)
|
|
|
58725c |
- fixp->fx_r_type = (fixp->fx_tcbit
|
|
|
58725c |
- ? BFD_RELOC_X86_64_REX_GOTPCRELX
|
|
|
58725c |
- : BFD_RELOC_X86_64_GOTPCRELX);
|
|
|
58725c |
- else
|
|
|
58725c |
-#endif
|
|
|
58725c |
- fixp->fx_r_type = BFD_RELOC_X86_64_GOTPCREL;
|
|
|
58725c |
+ fixp->fx_r_type = BFD_RELOC_X86_64_GOTPCREL;
|
|
|
58725c |
}
|
|
|
58725c |
else
|
|
|
58725c |
{
|
|
|
58725c |
@@ -10674,14 +10667,6 @@ i386_validate_fix (fixS *fixp)
|
|
|
58725c |
fixp->fx_subsy = 0;
|
|
|
58725c |
}
|
|
|
58725c |
}
|
|
|
58725c |
-#if defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)
|
|
|
58725c |
- else if (!object_64bit)
|
|
|
58725c |
- {
|
|
|
58725c |
- if (fixp->fx_r_type == BFD_RELOC_386_GOT32
|
|
|
58725c |
- && fixp->fx_tcbit2)
|
|
|
58725c |
- fixp->fx_r_type = BFD_RELOC_386_GOT32X;
|
|
|
58725c |
- }
|
|
|
58725c |
-#endif
|
|
|
58725c |
}
|
|
|
58725c |
|
|
|
58725c |
arelent *
|
|
|
58725c |
diff -rup binutils.orig/gas/testsuite/gas/i386/got.d binutils-2.27/gas/testsuite/gas/i386/got.d
|
|
|
58725c |
--- binutils.orig/gas/testsuite/gas/i386/got.d 2017-10-25 12:52:20.045289685 +0100
|
|
|
58725c |
+++ binutils-2.27/gas/testsuite/gas/i386/got.d 2017-10-25 15:19:02.458621604 +0100
|
|
|
58725c |
@@ -8,23 +8,23 @@ Disassembly of section .text:
|
|
|
58725c |
|
|
|
58725c |
0+ <_start>:
|
|
|
58725c |
[ ]*[a-f0-9]+: b8 00 00 00 00 mov \$0x0,%eax 1: R_386_GOT32 foo
|
|
|
58725c |
-[ ]*[a-f0-9]+: 8b 05 00 00 00 00 mov 0x0,%eax 7: R_386_GOT32X foo
|
|
|
58725c |
-[ ]*[a-f0-9]+: 8b 80 00 00 00 00 mov 0x0\(%eax\),%eax d: R_386_GOT32X foo
|
|
|
58725c |
+[ ]*[a-f0-9]+: 8b 05 00 00 00 00 mov 0x0,%eax 7: R_386_GOT32 foo
|
|
|
58725c |
+[ ]*[a-f0-9]+: 8b 80 00 00 00 00 mov 0x0\(%eax\),%eax d: R_386_GOT32 foo
|
|
|
58725c |
[ ]*[a-f0-9]+: 05 00 00 00 00 add \$0x0,%eax 12: R_386_GOT32 foo
|
|
|
58725c |
-[ ]*[a-f0-9]+: 03 05 00 00 00 00 add 0x0,%eax 18: R_386_GOT32X foo
|
|
|
58725c |
-[ ]*[a-f0-9]+: 03 80 00 00 00 00 add 0x0\(%eax\),%eax 1e: R_386_GOT32X foo
|
|
|
58725c |
-[ ]*[a-f0-9]+: ff 15 00 00 00 00 call \*0x0 24: R_386_GOT32X foo
|
|
|
58725c |
-[ ]*[a-f0-9]+: ff 90 00 00 00 00 call \*0x0\(%eax\) 2a: R_386_GOT32X foo
|
|
|
58725c |
-[ ]*[a-f0-9]+: ff 25 00 00 00 00 jmp \*0x0 30: R_386_GOT32X foo
|
|
|
58725c |
-[ ]*[a-f0-9]+: ff a0 00 00 00 00 jmp \*0x0\(%eax\) 36: R_386_GOT32X foo
|
|
|
58725c |
+[ ]*[a-f0-9]+: 03 05 00 00 00 00 add 0x0,%eax 18: R_386_GOT32 foo
|
|
|
58725c |
+[ ]*[a-f0-9]+: 03 80 00 00 00 00 add 0x0\(%eax\),%eax 1e: R_386_GOT32 foo
|
|
|
58725c |
+[ ]*[a-f0-9]+: ff 15 00 00 00 00 call \*0x0 24: R_386_GOT32 foo
|
|
|
58725c |
+[ ]*[a-f0-9]+: ff 90 00 00 00 00 call \*0x0\(%eax\) 2a: R_386_GOT32 foo
|
|
|
58725c |
+[ ]*[a-f0-9]+: ff 25 00 00 00 00 jmp \*0x0 30: R_386_GOT32 foo
|
|
|
58725c |
+[ ]*[a-f0-9]+: ff a0 00 00 00 00 jmp \*0x0\(%eax\) 36: R_386_GOT32 foo
|
|
|
58725c |
[ ]*[a-f0-9]+: b8 00 00 00 00 mov \$0x0,%eax 3b: R_386_GOT32 foo
|
|
|
58725c |
-[ ]*[a-f0-9]+: 8b 05 00 00 00 00 mov 0x0,%eax 41: R_386_GOT32X foo
|
|
|
58725c |
-[ ]*[a-f0-9]+: 8b 80 00 00 00 00 mov 0x0\(%eax\),%eax 47: R_386_GOT32X foo
|
|
|
58725c |
+[ ]*[a-f0-9]+: 8b 05 00 00 00 00 mov 0x0,%eax 41: R_386_GOT32 foo
|
|
|
58725c |
+[ ]*[a-f0-9]+: 8b 80 00 00 00 00 mov 0x0\(%eax\),%eax 47: R_386_GOT32 foo
|
|
|
58725c |
[ ]*[a-f0-9]+: 05 00 00 00 00 add \$0x0,%eax 4c: R_386_GOT32 foo
|
|
|
58725c |
-[ ]*[a-f0-9]+: 03 05 00 00 00 00 add 0x0,%eax 52: R_386_GOT32X foo
|
|
|
58725c |
-[ ]*[a-f0-9]+: 03 80 00 00 00 00 add 0x0\(%eax\),%eax 58: R_386_GOT32X foo
|
|
|
58725c |
-[ ]*[a-f0-9]+: ff 90 00 00 00 00 call \*0x0\(%eax\) 5e: R_386_GOT32X foo
|
|
|
58725c |
-[ ]*[a-f0-9]+: ff 15 00 00 00 00 call \*0x0 64: R_386_GOT32X foo
|
|
|
58725c |
-[ ]*[a-f0-9]+: ff a0 00 00 00 00 jmp \*0x0\(%eax\) 6a: R_386_GOT32X foo
|
|
|
58725c |
-[ ]*[a-f0-9]+: ff 25 00 00 00 00 jmp \*0x0 70: R_386_GOT32X foo
|
|
|
58725c |
+[ ]*[a-f0-9]+: 03 05 00 00 00 00 add 0x0,%eax 52: R_386_GOT32 foo
|
|
|
58725c |
+[ ]*[a-f0-9]+: 03 80 00 00 00 00 add 0x0\(%eax\),%eax 58: R_386_GOT32 foo
|
|
|
58725c |
+[ ]*[a-f0-9]+: ff 90 00 00 00 00 call \*0x0\(%eax\) 5e: R_386_GOT32 foo
|
|
|
58725c |
+[ ]*[a-f0-9]+: ff 15 00 00 00 00 call \*0x0 64: R_386_GOT32 foo
|
|
|
58725c |
+[ ]*[a-f0-9]+: ff a0 00 00 00 00 jmp \*0x0\(%eax\) 6a: R_386_GOT32 foo
|
|
|
58725c |
+[ ]*[a-f0-9]+: ff 25 00 00 00 00 jmp \*0x0 70: R_386_GOT32 foo
|
|
|
58725c |
#pass
|
|
|
58725c |
diff -rup binutils.orig/gas/testsuite/gas/i386/got-no-relax.d binutils-2.27/gas/testsuite/gas/i386/got-no-relax.d
|
|
|
58725c |
--- binutils.orig/gas/testsuite/gas/i386/got-no-relax.d 2017-10-25 12:52:20.045289685 +0100
|
|
|
58725c |
+++ binutils-2.27/gas/testsuite/gas/i386/got-no-relax.d 2017-10-25 15:18:30.398991961 +0100
|
|
|
58725c |
@@ -9,23 +9,23 @@ Disassembly of section .text:
|
|
|
58725c |
|
|
|
58725c |
0+ <_start>:
|
|
|
58725c |
[ ]*[a-f0-9]+: b8 00 00 00 00 mov \$0x0,%eax 1: R_386_GOT32 foo
|
|
|
58725c |
-[ ]*[a-f0-9]+: 8b 05 00 00 00 00 mov 0x0,%eax 7: R_386_GOT32X foo
|
|
|
58725c |
+[ ]*[a-f0-9]+: 8b 05 00 00 00 00 mov 0x0,%eax 7: R_386_GOT32 foo
|
|
|
58725c |
[ ]*[a-f0-9]+: 8b 80 00 00 00 00 mov 0x0\(%eax\),%eax d: R_386_GOT32 foo
|
|
|
58725c |
[ ]*[a-f0-9]+: 05 00 00 00 00 add \$0x0,%eax 12: R_386_GOT32 foo
|
|
|
58725c |
-[ ]*[a-f0-9]+: 03 05 00 00 00 00 add 0x0,%eax 18: R_386_GOT32X foo
|
|
|
58725c |
+[ ]*[a-f0-9]+: 03 05 00 00 00 00 add 0x0,%eax 18: R_386_GOT32 foo
|
|
|
58725c |
[ ]*[a-f0-9]+: 03 80 00 00 00 00 add 0x0\(%eax\),%eax 1e: R_386_GOT32 foo
|
|
|
58725c |
-[ ]*[a-f0-9]+: ff 15 00 00 00 00 call \*0x0 24: R_386_GOT32X foo
|
|
|
58725c |
+[ ]*[a-f0-9]+: ff 15 00 00 00 00 call \*0x0 24: R_386_GOT32 foo
|
|
|
58725c |
[ ]*[a-f0-9]+: ff 90 00 00 00 00 call \*0x0\(%eax\) 2a: R_386_GOT32 foo
|
|
|
58725c |
-[ ]*[a-f0-9]+: ff 25 00 00 00 00 jmp \*0x0 30: R_386_GOT32X foo
|
|
|
58725c |
+[ ]*[a-f0-9]+: ff 25 00 00 00 00 jmp \*0x0 30: R_386_GOT32 foo
|
|
|
58725c |
[ ]*[a-f0-9]+: ff a0 00 00 00 00 jmp \*0x0\(%eax\) 36: R_386_GOT32 foo
|
|
|
58725c |
[ ]*[a-f0-9]+: b8 00 00 00 00 mov \$0x0,%eax 3b: R_386_GOT32 foo
|
|
|
58725c |
-[ ]*[a-f0-9]+: 8b 05 00 00 00 00 mov 0x0,%eax 41: R_386_GOT32X foo
|
|
|
58725c |
+[ ]*[a-f0-9]+: 8b 05 00 00 00 00 mov 0x0,%eax 41: R_386_GOT32 foo
|
|
|
58725c |
[ ]*[a-f0-9]+: 8b 80 00 00 00 00 mov 0x0\(%eax\),%eax 47: R_386_GOT32 foo
|
|
|
58725c |
[ ]*[a-f0-9]+: 05 00 00 00 00 add \$0x0,%eax 4c: R_386_GOT32 foo
|
|
|
58725c |
-[ ]*[a-f0-9]+: 03 05 00 00 00 00 add 0x0,%eax 52: R_386_GOT32X foo
|
|
|
58725c |
+[ ]*[a-f0-9]+: 03 05 00 00 00 00 add 0x0,%eax 52: R_386_GOT32 foo
|
|
|
58725c |
[ ]*[a-f0-9]+: 03 80 00 00 00 00 add 0x0\(%eax\),%eax 58: R_386_GOT32 foo
|
|
|
58725c |
[ ]*[a-f0-9]+: ff 90 00 00 00 00 call \*0x0\(%eax\) 5e: R_386_GOT32 foo
|
|
|
58725c |
-[ ]*[a-f0-9]+: ff 15 00 00 00 00 call \*0x0 64: R_386_GOT32X foo
|
|
|
58725c |
+[ ]*[a-f0-9]+: ff 15 00 00 00 00 call \*0x0 64: R_386_GOT32 foo
|
|
|
58725c |
[ ]*[a-f0-9]+: ff a0 00 00 00 00 jmp \*0x0\(%eax\) 6a: R_386_GOT32 foo
|
|
|
58725c |
-[ ]*[a-f0-9]+: ff 25 00 00 00 00 jmp \*0x0 70: R_386_GOT32X foo
|
|
|
58725c |
+[ ]*[a-f0-9]+: ff 25 00 00 00 00 jmp \*0x0 70: R_386_GOT32 foo
|
|
|
58725c |
#pass
|
|
|
58725c |
diff -rup binutils.orig/gas/testsuite/gas/i386/ilp32/x86-64-gotpcrel.d binutils-2.27/gas/testsuite/gas/i386/ilp32/x86-64-gotpcrel.d
|
|
|
58725c |
--- binutils.orig/gas/testsuite/gas/i386/ilp32/x86-64-gotpcrel.d 2017-10-25 12:52:20.047289662 +0100
|
|
|
58725c |
+++ binutils-2.27/gas/testsuite/gas/i386/ilp32/x86-64-gotpcrel.d 2017-10-25 15:12:35.549099037 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --x32 -mrelax-relocations=yes
|
|
|
58725c |
#objdump: -dwr
|
|
|
58725c |
#name: x86-64 (ILP32) gotpcrel
|
|
|
58725c |
+#skip: *-*-*
|
|
|
58725c |
+# SKIPed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/gas/testsuite/gas/i386/ilp32/x86-64-localpic.d binutils-2.27/gas/testsuite/gas/i386/ilp32/x86-64-localpic.d
|
|
|
58725c |
--- binutils.orig/gas/testsuite/gas/i386/ilp32/x86-64-localpic.d 2017-10-25 12:52:20.047289662 +0100
|
|
|
58725c |
+++ binutils-2.27/gas/testsuite/gas/i386/ilp32/x86-64-localpic.d 2017-10-25 15:12:35.549099037 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --x32 -mrelax-relocations=yes
|
|
|
58725c |
#readelf: -rsW
|
|
|
58725c |
#name: x86-64 (ILP32) local PIC
|
|
|
58725c |
+#skip: *-*-*
|
|
|
58725c |
+# SKIPed because generation of the R_X86_64_REX_GOTPCRELX reloc is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
Relocation section '.rela.text' at offset 0x[0-9a-f]+ contains 1 entries:
|
|
|
58725c |
+Offset +Info +Type +Sym. Value +Symbol's Name \+ Addend
|
|
|
58725c |
diff -rup binutils.orig/gas/testsuite/gas/i386/localpic.d binutils-2.27/gas/testsuite/gas/i386/localpic.d
|
|
|
58725c |
--- binutils.orig/gas/testsuite/gas/i386/localpic.d 2017-10-25 12:52:20.049289639 +0100
|
|
|
58725c |
+++ binutils-2.27/gas/testsuite/gas/i386/localpic.d 2017-10-25 15:18:13.799183724 +0100
|
|
|
58725c |
@@ -4,7 +4,7 @@
|
|
|
58725c |
|
|
|
58725c |
Relocation section '.rel.text' at offset 0x[0-9a-f]+ contains 1 entries:
|
|
|
58725c |
Offset Info Type Sym.Value Sym. Name
|
|
|
58725c |
-[0-9a-f]+ +[0-9a-f]+ R_386_GOT32X +[0-9a-f]+ +foo
|
|
|
58725c |
+[0-9a-f]+ +[0-9a-f]+ R_386_GOT32 +[0-9a-f]+ +foo
|
|
|
58725c |
#...
|
|
|
58725c |
+[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +NOTYPE +LOCAL +DEFAULT +[0-9]+ +foo
|
|
|
58725c |
#pass
|
|
|
58725c |
diff -rup binutils.orig/gas/testsuite/gas/i386/mixed-mode-reloc32.d binutils-2.27/gas/testsuite/gas/i386/mixed-mode-reloc32.d
|
|
|
58725c |
--- binutils.orig/gas/testsuite/gas/i386/mixed-mode-reloc32.d 2017-10-25 12:52:20.050289627 +0100
|
|
|
58725c |
+++ binutils-2.27/gas/testsuite/gas/i386/mixed-mode-reloc32.d 2017-10-25 15:18:02.186317878 +0100
|
|
|
58725c |
@@ -7,9 +7,9 @@
|
|
|
58725c |
|
|
|
58725c |
RELOCATION RECORDS FOR \[.text\]:
|
|
|
58725c |
OFFSET[ ]+TYPE[ ]+VALUE[ ]*
|
|
|
58725c |
-[0-9a-f]+[ ]+R_386_GOT32X[ ]+xtrn[ ]*
|
|
|
58725c |
+[0-9a-f]+[ ]+R_386_GOT32[ ]+xtrn[ ]*
|
|
|
58725c |
[0-9a-f]+[ ]+R_386_PLT32[ ]+xtrn[ ]*
|
|
|
58725c |
-[0-9a-f]+[ ]+R_386_GOT32X[ ]+xtrn[ ]*
|
|
|
58725c |
+[0-9a-f]+[ ]+R_386_GOT32[ ]+xtrn[ ]*
|
|
|
58725c |
[0-9a-f]+[ ]+R_386_PLT32[ ]+xtrn[ ]*
|
|
|
58725c |
-[0-9a-f]+[ ]+R_386_GOT32X[ ]+xtrn[ ]*
|
|
|
58725c |
+[0-9a-f]+[ ]+R_386_GOT32[ ]+xtrn[ ]*
|
|
|
58725c |
[0-9a-f]+[ ]+R_386_PLT32[ ]+xtrn[ ]*
|
|
|
58725c |
diff -rup binutils.orig/gas/testsuite/gas/i386/reloc32.d binutils-2.27/gas/testsuite/gas/i386/reloc32.d
|
|
|
58725c |
--- binutils.orig/gas/testsuite/gas/i386/reloc32.d 2017-10-25 12:52:20.052289604 +0100
|
|
|
58725c |
+++ binutils-2.27/gas/testsuite/gas/i386/reloc32.d 2017-10-25 15:16:06.161659763 +0100
|
|
|
58725c |
@@ -19,7 +19,7 @@ Disassembly of section \.text:
|
|
|
58725c |
.*[ ]+R_386_PC32[ ]+xtrn
|
|
|
58725c |
.*[ ]+R_386_PC8[ ]+xtrn
|
|
|
58725c |
.*[ ]+R_386_GOT32[ ]+xtrn
|
|
|
58725c |
-.*[ ]+R_386_GOT32X[ ]+xtrn
|
|
|
58725c |
+.*[ ]+R_386_GOT32[ ]+xtrn
|
|
|
58725c |
.*[ ]+R_386_GOTOFF[ ]+xtrn
|
|
|
58725c |
.*[ ]+R_386_GOTOFF[ ]+xtrn
|
|
|
58725c |
.*[ ]+R_386_GOTPC[ ]+_GLOBAL_OFFSET_TABLE_
|
|
|
58725c |
diff -rup binutils.orig/gas/testsuite/gas/i386/x86-64-gotpcrel.d binutils-2.27/gas/testsuite/gas/i386/x86-64-gotpcrel.d
|
|
|
58725c |
--- binutils.orig/gas/testsuite/gas/i386/x86-64-gotpcrel.d 2017-10-25 12:52:20.063289476 +0100
|
|
|
58725c |
+++ binutils-2.27/gas/testsuite/gas/i386/x86-64-gotpcrel.d 2017-10-25 15:12:35.549099037 +0100
|
|
|
58725c |
@@ -1,5 +1,7 @@
|
|
|
58725c |
#as: -mrelax-relocations=yes
|
|
|
58725c |
#objdump: -dwr
|
|
|
58725c |
+#skip: *-*-*
|
|
|
58725c |
+# SKIPed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/gas/testsuite/gas/i386/x86-64-localpic.d binutils-2.27/gas/testsuite/gas/i386/x86-64-localpic.d
|
|
|
58725c |
--- binutils.orig/gas/testsuite/gas/i386/x86-64-localpic.d 2017-10-25 12:52:20.064289465 +0100
|
|
|
58725c |
+++ binutils-2.27/gas/testsuite/gas/i386/x86-64-localpic.d 2017-10-25 15:12:35.549099037 +0100
|
|
|
58725c |
@@ -1,6 +1,8 @@
|
|
|
58725c |
#as: -mrelax-relocations=yes
|
|
|
58725c |
#readelf: -rsW
|
|
|
58725c |
#name: x86-64 local PIC
|
|
|
58725c |
+#skip: *-*-*
|
|
|
58725c |
+# SKIPed because generation of the R_X86_64_REX_GOTPCRELX reloc is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
Relocation section '.rela.text' at offset 0x[0-9a-f]+ contains 1 entries:
|
|
|
58725c |
+Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-cdtest/cdtest-foo.cc binutils-2.27/ld/testsuite/ld-cdtest/cdtest-foo.cc
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-cdtest/cdtest-foo.cc 2017-10-25 12:52:20.549283841 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-cdtest/cdtest-foo.cc 2017-10-25 15:12:35.549099037 +0100
|
|
|
58725c |
@@ -8,7 +8,7 @@
|
|
|
58725c |
#if (__GNUG__ == 2)
|
|
|
58725c |
typedef __SIZE_TYPE__ size_t;
|
|
|
58725c |
#else
|
|
|
58725c |
-typedef unsigned int size_t;
|
|
|
58725c |
+typedef unsigned long size_t;
|
|
|
58725c |
#endif
|
|
|
58725c |
|
|
|
58725c |
extern "C" {
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-elf/shared.exp binutils-2.27/ld/testsuite/ld-elf/shared.exp
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-elf/shared.exp 2017-10-25 12:52:20.578283504 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-elf/shared.exp 2017-10-25 15:45:58.374968233 +0100
|
|
|
58725c |
@@ -483,10 +483,10 @@ set build_cxx_tests {
|
|
|
58725c |
"-shared -Wl,--dynamic-list-cpp-typeinfo" "-fPIC"
|
|
|
58725c |
{dl3.cc} {} "libdl3c.so" "c++"}
|
|
|
58725c |
{"Build libdnew1a.so with --Bsymbolic-functions --dynamic-list-cpp-new"
|
|
|
58725c |
- "-shared -Wl,-Bsymbolic-functions,--dynamic-list-cpp-new" "-fPIC"
|
|
|
58725c |
+ "-shared -Wl,-Bsymbolic-functions,--dynamic-list-cpp-new" "-fPIC -ansi"
|
|
|
58725c |
{del.cc new.cc} {} "libnew1a.so" "c++"}
|
|
|
58725c |
{"Build libdnew1b.so with --dynamic-list-data --dynamic-list-cpp-new"
|
|
|
58725c |
- "-shared -Wl,--dynamic-list-data,--dynamic-list-cpp-new" "-fPIC"
|
|
|
58725c |
+ "-shared -Wl,--dynamic-list-data,--dynamic-list-cpp-new" "-fPIC -ansi"
|
|
|
58725c |
{del.cc new.cc} {} "libnew1b.so" "c++"}
|
|
|
58725c |
}
|
|
|
58725c |
|
|
|
58725c |
@@ -503,10 +503,10 @@ set run_cxx_tests {
|
|
|
58725c |
{dl3main.cc} "dl3c" "dl3a.out" "" "c++"}
|
|
|
58725c |
{"Run with libnew1a.so"
|
|
|
58725c |
"tmpdir/libnew1a.so" ""
|
|
|
58725c |
- {dl5.cc} "dl5a" "dl5.out" "" "c++"}
|
|
|
58725c |
+ {dl5.cc} "dl5a" "dl5.out" "-ansi" "c++"}
|
|
|
58725c |
{"Run with libnew1b.so"
|
|
|
58725c |
"tmpdir/libnew1b.so" ""
|
|
|
58725c |
- {dl5.cc} "dl5b" "dl5.out" "" "c++"}
|
|
|
58725c |
+ {dl5.cc} "dl5b" "dl5.out" "-ansi" "c++"}
|
|
|
58725c |
}
|
|
|
58725c |
|
|
|
58725c |
run_cc_link_tests $build_cxx_tests
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/branch1.d binutils-2.27/ld/testsuite/ld-i386/branch1.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/branch1.d 2017-10-25 12:52:20.657282588 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/branch1.d 2017-10-25 15:26:26.015497567 +0100
|
|
|
58725c |
@@ -1,6 +1,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_i386
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/call1.d binutils-2.27/ld/testsuite/ld-i386/call1.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/call1.d 2017-10-25 12:52:20.658282576 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/call1.d 2017-10-25 15:26:33.407412174 +0100
|
|
|
58725c |
@@ -1,3 +1,5 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -shared -melf_i386
|
|
|
58725c |
#error: direct GOT relocation R_386_GOT32X against `foo' without base register can not be used when making a shared object
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/call2.d binutils-2.27/ld/testsuite/ld-i386/call2.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/call2.d 2017-10-25 12:52:20.658282576 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/call2.d 2017-10-25 15:26:43.024301080 +0100
|
|
|
58725c |
@@ -1,3 +1,5 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -shared -melf_i386
|
|
|
58725c |
#error: direct GOT relocation R_386_GOT32X against `foo' without base register can not be used when making a shared object
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/call3a.d binutils-2.27/ld/testsuite/ld-i386/call3a.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/call3a.d 2017-10-25 12:52:20.658282576 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/call3a.d 2017-10-25 15:29:17.042521838 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_i386
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/call3b.d binutils-2.27/ld/testsuite/ld-i386/call3b.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/call3b.d 2017-10-25 12:52:20.658282576 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/call3b.d 2017-10-25 15:29:21.756467382 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_i386 -z call-nop=prefix-addr
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/call3c.d binutils-2.27/ld/testsuite/ld-i386/call3c.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/call3c.d 2017-10-25 12:52:20.658282576 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/call3c.d 2017-10-25 15:29:26.457413076 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_i386 -z call-nop=prefix-nop
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/call3d.d binutils-2.27/ld/testsuite/ld-i386/call3d.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/call3d.d 2017-10-25 12:52:20.658282576 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/call3d.d 2017-10-25 15:29:30.925361461 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_i386 -z call-nop=suffix-nop
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/call3e.d binutils-2.27/ld/testsuite/ld-i386/call3e.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/call3e.d 2017-10-25 12:52:20.658282576 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/call3e.d 2017-10-25 15:29:38.894269403 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_i386 -z call-nop=prefix-0x67
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/call3f.d binutils-2.27/ld/testsuite/ld-i386/call3f.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/call3f.d 2017-10-25 12:52:20.658282576 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/call3f.d 2017-10-25 15:29:47.134174215 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_i386 -z call-nop=prefix-0x90
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/call3g.d binutils-2.27/ld/testsuite/ld-i386/call3g.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/call3g.d 2017-10-25 12:52:20.658282576 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/call3g.d 2017-10-25 15:29:52.341114063 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_i386 -z call-nop=suffix-0x90
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/call3h.d binutils-2.27/ld/testsuite/ld-i386/call3h.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/call3h.d 2017-10-25 12:52:20.658282576 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/call3h.d 2017-10-25 15:29:57.237057504 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_i386 -z call-nop=suffix-144
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/i386.exp binutils-2.27/ld/testsuite/ld-i386/i386.exp
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/i386.exp 2017-10-25 12:52:20.661282542 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/i386.exp 2017-10-25 15:42:06.083647050 +0100
|
|
|
58725c |
@@ -133,13 +133,6 @@ set i386tests {
|
|
|
58725c |
{{readelf -Ssrl tlspic.rd} {objdump -drj.text tlspic.dd}
|
|
|
58725c |
{objdump -sj.got tlspic.sd} {objdump -sj.tdata tlspic.td}}
|
|
|
58725c |
"libtlspic.so"}
|
|
|
58725c |
- {"TLS -fpic -shared transitions without PLT"
|
|
|
58725c |
- "-shared -melf_i386 --no-ld-generated-unwind-info" ""
|
|
|
58725c |
- "-mrelax-relocations=yes --32"
|
|
|
58725c |
- {tlspic3.s tlspic2.s}
|
|
|
58725c |
- {{readelf -Ssrl tlspic2.rd} {objdump -drj.text tlspic2.dd}
|
|
|
58725c |
- {objdump -sj.got tlspic2.sd} {objdump -sj.tdata tlspic2.td}}
|
|
|
58725c |
- "libtlspic2.so"}
|
|
|
58725c |
{"TLS descriptor -fpic -shared transitions"
|
|
|
58725c |
"-shared -melf_i386 --no-ld-generated-unwind-info" ""
|
|
|
58725c |
"--32" {tlsdesc.s tlspic2.s}
|
|
|
58725c |
@@ -154,13 +147,6 @@ set i386tests {
|
|
|
58725c |
{{readelf -Ssrl tlsbin.rd} {objdump -drj.text tlsbin.dd}
|
|
|
58725c |
{objdump -sj.got tlsbin.sd} {objdump -sj.tdata tlsbin.td}}
|
|
|
58725c |
"tlsbin"}
|
|
|
58725c |
- {"TLS -fpic and -fno-pic exec transitions without PLT"
|
|
|
58725c |
- "-melf_i386 tmpdir/libtlslib.so --no-ld-generated-unwind-info" ""
|
|
|
58725c |
- "-mrelax-relocations=yes --32"
|
|
|
58725c |
- {tlsbinpic2.s tlsbin.s}
|
|
|
58725c |
- {{readelf -Ssrl tlsbin2.rd} {objdump -drj.text tlsbin2.dd}
|
|
|
58725c |
- {objdump -sj.got tlsbin2.sd} {objdump -sj.tdata tlsbin2.td}}
|
|
|
58725c |
- "tlsbin2"}
|
|
|
58725c |
{"TLS descriptor -fpic and -fno-pic exec transitions"
|
|
|
58725c |
"-melf_i386 tmpdir/libtlslib.so --no-ld-generated-unwind-info" ""
|
|
|
58725c |
"--32" {tlsbindesc.s tlsbin.s}
|
|
|
58725c |
@@ -191,17 +177,9 @@ set i386tests {
|
|
|
58725c |
{"TLS GD->LE transition" "-melf_i386" ""
|
|
|
58725c |
"--32" {tlsgd1.s}
|
|
|
58725c |
{{objdump -dwr tlsgd1.dd}} "tlsgd1"}
|
|
|
58725c |
- {"TLS GD->LE transition without PLT" "-melf_i386" ""
|
|
|
58725c |
- "-mrelax-relocations=yes --32"
|
|
|
58725c |
- {tlsgd3.s}
|
|
|
58725c |
- {{objdump -dwr tlsgd3.dd}} "tlsgd3"}
|
|
|
58725c |
{"TLS LD->LE transition" "-melf_i386" ""
|
|
|
58725c |
"--32" {tlsld1.s}
|
|
|
58725c |
{{objdump -dwr tlsld1.dd}} "tlsld1"}
|
|
|
58725c |
- {"TLS LD->LE transition without PLT" "-melf_i386" ""
|
|
|
58725c |
- "-mrelax-relocations=yes --32"
|
|
|
58725c |
- {tlsld2.s}
|
|
|
58725c |
- {{objdump -dwr tlsld2.dd}} "tlsld2"}
|
|
|
58725c |
{"TLS IE->LE transition" "-melf_i386" ""
|
|
|
58725c |
"--32" {tlsie1.s}
|
|
|
58725c |
{{objdump -dwr tlsie1.dd}} "tlsie1"}
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/jmp1.d binutils-2.27/ld/testsuite/ld-i386/jmp1.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/jmp1.d 2017-10-25 12:52:20.661282542 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/jmp1.d 2017-10-25 15:30:06.805946963 +0100
|
|
|
58725c |
@@ -1,3 +1,5 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -shared -melf_i386
|
|
|
58725c |
#error: direct GOT relocation R_386_GOT32X against `foo' without base register can not be used when making a shared object
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/jmp2.d binutils-2.27/ld/testsuite/ld-i386/jmp2.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/jmp2.d 2017-10-25 12:52:20.662282530 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/jmp2.d 2017-10-25 15:30:14.181861755 +0100
|
|
|
58725c |
@@ -1,3 +1,5 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -shared -melf_i386
|
|
|
58725c |
#error: direct GOT relocation R_386_GOT32X against `foo' without base register can not be used when making a shared object
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/lea1a.d binutils-2.27/ld/testsuite/ld-i386/lea1a.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/lea1a.d 2017-10-25 12:52:20.662282530 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/lea1a.d 2017-10-25 15:25:33.592103171 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -Bsymbolic -shared -melf_i386
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/lea1b.d binutils-2.27/ld/testsuite/ld-i386/lea1b.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/lea1b.d 2017-10-25 12:52:20.662282530 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/lea1b.d 2017-10-25 15:25:39.289037359 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -pie -melf_i386
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/lea1c.d binutils-2.27/ld/testsuite/ld-i386/lea1c.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/lea1c.d 2017-10-25 12:52:20.662282530 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/lea1c.d 2017-10-25 15:25:46.777950846 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_i386
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/lea1d.d binutils-2.27/ld/testsuite/ld-i386/lea1d.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/lea1d.d 2017-10-25 12:52:20.662282530 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/lea1d.d 2017-10-25 15:25:55.802846589 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -Bsymbolic -shared -melf_i386
|
|
|
58725c |
#readelf: -Sw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
#failif
|
|
|
58725c |
#...
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/lea1e.d binutils-2.27/ld/testsuite/ld-i386/lea1e.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/lea1e.d 2017-10-25 12:52:20.662282530 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/lea1e.d 2017-10-25 15:26:03.115762109 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -pie -melf_i386
|
|
|
58725c |
#readelf: -Sw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
#failif
|
|
|
58725c |
#...
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/lea1f.d binutils-2.27/ld/testsuite/ld-i386/lea1f.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/lea1f.d 2017-10-25 12:52:20.662282530 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/lea1f.d 2017-10-25 15:26:09.485688523 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_i386
|
|
|
58725c |
#readelf: -Sw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
#failif
|
|
|
58725c |
#...
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/load1.d binutils-2.27/ld/testsuite/ld-i386/load1.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/load1.d 2017-10-25 12:52:20.662282530 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/load1.d 2017-10-25 15:30:23.543753605 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#ld: -melf_i386
|
|
|
58725c |
#objdump: -dw --sym
|
|
|
58725c |
#notarget: i?86-*-nacl* x86_64-*-nacl*
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/load2.d binutils-2.27/ld/testsuite/ld-i386/load2.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/load2.d 2017-10-25 12:52:20.662282530 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/load2.d 2017-10-25 15:31:10.090215894 +0100
|
|
|
58725c |
@@ -1,3 +1,3 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_i386 -shared
|
|
|
58725c |
-#error: direct GOT relocation R_386_GOT32X against `foo' without base register can not be used when making a shared object
|
|
|
58725c |
+#error: direct GOT relocation R_386_GOT32 against `foo' without base register can not be used when making a shared object
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/load3.d binutils-2.27/ld/testsuite/ld-i386/load3.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/load3.d 2017-10-25 12:52:20.663282518 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/load3.d 2017-10-25 15:31:24.220052664 +0100
|
|
|
58725c |
@@ -1,3 +1,3 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_i386 -shared
|
|
|
58725c |
-#error: direct GOT relocation R_386_GOT32X against `foo' without base register can not be used when making a shared object
|
|
|
58725c |
+#error: direct GOT relocation R_386_GOT32 against `foo' without base register can not be used when making a shared object
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/load4a.d binutils-2.27/ld/testsuite/ld-i386/load4a.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/load4a.d 2017-10-25 12:52:20.663282518 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/load4a.d 2017-10-25 15:31:33.802941960 +0100
|
|
|
58725c |
@@ -1,4 +1,4 @@
|
|
|
58725c |
#source: load4.s
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -Bsymbolic -shared -melf_i386
|
|
|
58725c |
-#error: direct GOT relocation R_386_GOT32X against `foo' without base register can not be used when making a shared object
|
|
|
58725c |
+#error: direct GOT relocation R_386_GOT32 against `foo' without base register can not be used when making a shared object
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/load4b.d binutils-2.27/ld/testsuite/ld-i386/load4b.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/load4b.d 2017-10-25 12:52:20.663282518 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/load4b.d 2017-10-25 15:31:50.701746743 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32
|
|
|
58725c |
#ld: -melf_i386
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/load5a.d binutils-2.27/ld/testsuite/ld-i386/load5a.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/load5a.d 2017-10-25 12:52:20.663282518 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/load5a.d 2017-10-25 15:31:59.182648770 +0100
|
|
|
58725c |
@@ -1,4 +1,4 @@
|
|
|
58725c |
#source: load5.s
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -Bsymbolic -shared -melf_i386
|
|
|
58725c |
-#error: direct GOT relocation R_386_GOT32X against `foo' without base register can not be used when making a shared object
|
|
|
58725c |
+#error: direct GOT relocation R_386_GOT32 against `foo' without base register can not be used when making a shared object
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/load5b.d binutils-2.27/ld/testsuite/ld-i386/load5b.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/load5b.d 2017-10-25 12:52:20.663282518 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/load5b.d 2017-10-25 15:32:05.614574468 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32
|
|
|
58725c |
#ld: -melf_i386
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/load7.d binutils-2.27/ld/testsuite/ld-i386/load7.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/load7.d 2017-10-25 12:52:20.663282518 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/load7.d 2017-10-25 15:32:15.231463372 +0100
|
|
|
58725c |
@@ -1,6 +1,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -shared -melf_i386 --version-script load7.map
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/mov1b.d binutils-2.27/ld/testsuite/ld-i386/mov1b.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/mov1b.d 2017-10-25 12:52:20.664282507 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/mov1b.d 2017-10-25 15:26:17.582594986 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -pie -melf_i386 --no-dynamic-linker
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/pr19175.d binutils-2.27/ld/testsuite/ld-i386/pr19175.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/pr19175.d 2017-10-25 12:52:20.671282426 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/pr19175.d 2017-10-25 15:34:05.638187937 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -Bsymbolic -shared -melf_i386 -T pr19175.t
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/pr19609-1a.d binutils-2.27/ld/testsuite/ld-i386/pr19609-1a.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/pr19609-1a.d 2017-10-25 12:52:20.672282414 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/pr19609-1a.d 2017-10-25 15:34:17.143055031 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_i386
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/pr19609-1b.d binutils-2.27/ld/testsuite/ld-i386/pr19609-1b.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/pr19609-1b.d 2017-10-25 12:52:20.672282414 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/pr19609-1b.d 2017-10-25 15:34:25.735955848 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -pie -melf_i386 --no-dynamic-linker
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/pr19609-1d.d binutils-2.27/ld/testsuite/ld-i386/pr19609-1d.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/pr19609-1d.d 2017-10-25 12:52:20.673282403 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/pr19609-1d.d 2017-10-25 15:35:05.258500067 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -E -melf_i386 --no-dynamic-linker
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/pr19609-1f.d binutils-2.27/ld/testsuite/ld-i386/pr19609-1f.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/pr19609-1f.d 2017-10-25 12:52:20.673282403 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/pr19609-1f.d 2017-10-25 15:35:18.620345975 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -pie --dynamic-list-data -melf_i386 --no-dynamic-linker
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/pr19609-1g.d binutils-2.27/ld/testsuite/ld-i386/pr19609-1g.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/pr19609-1g.d 2017-10-25 12:52:20.673282403 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/pr19609-1g.d 2017-10-25 15:35:26.379256499 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -pie -E -melf_i386 --no-dynamic-linker
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/pr19609-1h.d binutils-2.27/ld/testsuite/ld-i386/pr19609-1h.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/pr19609-1h.d 2017-10-25 12:52:20.673282403 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/pr19609-1h.d 2017-10-25 15:35:33.308176593 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -pie -E -Bsymbolic-functions -melf_i386 --no-dynamic-linker
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/pr19609-2a.d binutils-2.27/ld/testsuite/ld-i386/pr19609-2a.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/pr19609-2a.d 2017-10-25 12:52:20.673282403 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/pr19609-2a.d 2017-10-25 15:35:46.253027313 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_i386
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/pr20244-2d.d binutils-2.27/ld/testsuite/ld-i386/pr20244-2d.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/pr20244-2d.d 2017-10-25 12:52:20.677282356 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/pr20244-2d.d 2017-10-25 15:38:34.521086821 +0100
|
|
|
58725c |
@@ -1,4 +1,4 @@
|
|
|
58725c |
#source: pr20244-2.s
|
|
|
58725c |
#as: --32
|
|
|
58725c |
#ld: -pie -m elf_i386
|
|
|
58725c |
-#error: direct GOT relocation R_386_GOT32X against `foo' without base register can not be used when making a shared object
|
|
|
58725c |
+#error: direct GOT relocation R_386_GOT32 against `foo' without base register can not be used when making a shared object
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/pr20253-4b.d binutils-2.27/ld/testsuite/ld-i386/pr20253-4b.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/pr20253-4b.d 2017-10-25 12:52:20.678282345 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/pr20253-4b.d 2017-10-25 15:36:45.185347695 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -pie -melf_i386
|
|
|
58725c |
#readelf: -r --wide
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 1 entries:
|
|
|
58725c |
+Offset +Info +Type +Sym.* Value +Symbol's Name
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/tlspie3a.d binutils-2.27/ld/testsuite/ld-i386/tlspie3a.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/tlspie3a.d 2017-10-25 12:52:20.682282298 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/tlspie3a.d 2017-10-25 15:25:02.726459735 +0100
|
|
|
58725c |
@@ -2,5 +2,7 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_i386 -pie
|
|
|
58725c |
#readelf: -r
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
There are no relocations in this file.
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/tlspie3b.d binutils-2.27/ld/testsuite/ld-i386/tlspie3b.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/tlspie3b.d 2017-10-25 12:52:20.682282298 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/tlspie3b.d 2017-10-25 15:25:10.854365839 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_i386 -pie
|
|
|
58725c |
#objdump: -dwr
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-i386/tlspie3c.d binutils-2.27/ld/testsuite/ld-i386/tlspie3c.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-i386/tlspie3c.d 2017-10-25 12:52:20.682282298 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-i386/tlspie3c.d 2017-10-25 15:25:21.319244949 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_i386 -pie -z call-nop=suffix-nop
|
|
|
58725c |
#objdump: -dwr
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-ifunc/ifunc-13-i386.d binutils-2.27/ld/testsuite/ld-ifunc/ifunc-13-i386.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-ifunc/ifunc-13-i386.d 2017-10-25 12:52:20.686282252 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-ifunc/ifunc-13-i386.d 2017-10-25 15:22:29.230232946 +0100
|
|
|
58725c |
@@ -4,6 +4,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#readelf: -r --wide
|
|
|
58725c |
#target: x86_64-*-* i?86-*-*
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
Relocation section '.rel.ifunc' at offset 0x[0-9a-f]+ contains 1 entries:
|
|
|
58725c |
[ ]+Offset[ ]+Info[ ]+Type[ ]+.*
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-ifunc/ifunc-21-i386.d binutils-2.27/ld/testsuite/ld-ifunc/ifunc-21-i386.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-ifunc/ifunc-21-i386.d 2017-10-25 12:52:20.688282229 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-ifunc/ifunc-21-i386.d 2017-10-25 15:23:08.637777705 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
#target: x86_64-*-* i?86-*-*
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-ifunc/ifunc-21-x86-64.d binutils-2.27/ld/testsuite/ld-ifunc/ifunc-21-x86-64.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-ifunc/ifunc-21-x86-64.d 2017-10-25 12:52:20.690282205 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-ifunc/ifunc-21-x86-64.d 2017-10-25 15:12:35.549099037 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#ld: -melf_x86_64
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
#target: x86_64-*-*
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-ifunc/ifunc-22-i386.d binutils-2.27/ld/testsuite/ld-ifunc/ifunc-22-i386.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-ifunc/ifunc-22-i386.d 2017-10-25 12:52:20.688282229 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-ifunc/ifunc-22-i386.d 2017-10-25 15:23:00.698869415 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --32 -mrelax-relocations=yes
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
#target: x86_64-*-* i?86-*-*
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_386_GOT32X relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-ifunc/ifunc-22-x86-64.d binutils-2.27/ld/testsuite/ld-ifunc/ifunc-22-x86-64.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-ifunc/ifunc-22-x86-64.d 2017-10-25 12:52:20.690282205 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-ifunc/ifunc-22-x86-64.d 2017-10-25 15:12:35.549099037 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#ld: -melf_x86_64
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
#target: x86_64-*-*
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-ifunc/ifunc-5r-local-x86-64.d binutils-2.27/ld/testsuite/ld-ifunc/ifunc-5r-local-x86-64.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-ifunc/ifunc-5r-local-x86-64.d 2017-10-25 12:52:20.689282217 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-ifunc/ifunc-5r-local-x86-64.d 2017-10-25 15:12:35.549099037 +0100
|
|
|
58725c |
@@ -3,6 +3,8 @@
|
|
|
58725c |
#ld: -r -melf_x86_64
|
|
|
58725c |
#readelf: -r --wide
|
|
|
58725c |
#target: x86_64-*-*
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
Relocation section '.rela.text' at .*
|
|
|
58725c |
[ ]+Offset[ ]+Info[ ]+Type[ ]+.*
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-selective/selective.exp binutils-2.27/ld/testsuite/ld-selective/selective.exp
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-selective/selective.exp 2017-10-25 12:52:20.872280095 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-selective/selective.exp 2017-10-25 15:21:30.397912586 +0100
|
|
|
58725c |
@@ -102,7 +102,7 @@ foreach testitem $seltests {
|
|
|
58725c |
# the functionality we try to test for cannot be expected to work.
|
|
|
58725c |
set version [remote_exec host "$CXX -dumpversion"]
|
|
|
58725c |
set version [lindex $version 1]
|
|
|
58725c |
- if [regexp "^(\[1-9\]\[0-9\]+|\[4-9\]|3.(\[1-9\]\[0-9\]+|\[4-9\]))\\." $version] {
|
|
|
58725c |
+ if [regexp "^(\[1-9\]\[0-9\]+|\[4-9\]|3.(\[1-9\]\[0-9\]+|\[4-9\]))" $version] {
|
|
|
58725c |
set testflags "$cflags $cxxflags"
|
|
|
58725c |
setup_xfail {*-*-*}
|
|
|
58725c |
} else {
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/call1a.d binutils-2.27/ld/testsuite/ld-x86-64/call1a.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/call1a.d 2017-10-25 12:52:21.010278494 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/call1a.d 2017-10-25 15:12:35.550099025 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --64 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_x86_64
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/call1b.d binutils-2.27/ld/testsuite/ld-x86-64/call1b.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/call1b.d 2017-10-25 12:52:21.010278494 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/call1b.d 2017-10-25 15:12:35.550099025 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --64 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_x86_64 -z call-nop=prefix-addr
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/call1c.d binutils-2.27/ld/testsuite/ld-x86-64/call1c.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/call1c.d 2017-10-25 12:52:21.010278494 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/call1c.d 2017-10-25 15:12:35.550099025 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --64 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_x86_64 -z call-nop=prefix-nop
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/call1d.d binutils-2.27/ld/testsuite/ld-x86-64/call1d.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/call1d.d 2017-10-25 12:52:21.011278483 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/call1d.d 2017-10-25 15:12:35.550099025 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --64 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_x86_64 -z call-nop=suffix-nop
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/call1e.d binutils-2.27/ld/testsuite/ld-x86-64/call1e.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/call1e.d 2017-10-25 12:52:21.011278483 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/call1e.d 2017-10-25 15:12:35.550099025 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --64 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_x86_64 -z call-nop=prefix-0x67
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/call1f.d binutils-2.27/ld/testsuite/ld-x86-64/call1f.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/call1f.d 2017-10-25 12:52:21.011278483 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/call1f.d 2017-10-25 15:12:35.550099025 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --64 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_x86_64 -z call-nop=prefix-0x90
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/call1g.d binutils-2.27/ld/testsuite/ld-x86-64/call1g.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/call1g.d 2017-10-25 12:52:21.011278483 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/call1g.d 2017-10-25 15:12:35.550099025 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --64 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_x86_64 -z call-nop=suffix-0x90
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/call1h.d binutils-2.27/ld/testsuite/ld-x86-64/call1h.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/call1h.d 2017-10-25 12:52:21.011278483 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/call1h.d 2017-10-25 15:12:35.550099025 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --64 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_x86_64 -z call-nop=suffix-144
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/call1i.d binutils-2.27/ld/testsuite/ld-x86-64/call1i.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/call1i.d 2017-10-25 12:52:21.011278483 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/call1i.d 2017-10-25 15:12:35.550099025 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --x32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf32_x86_64 -z call-nop=suffix-0x90
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/lea1c.d binutils-2.27/ld/testsuite/ld-x86-64/lea1c.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/lea1c.d 2017-10-25 12:52:21.015278436 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/lea1c.d 2017-10-25 15:12:35.550099025 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --64 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_x86_64
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/lea1f.d binutils-2.27/ld/testsuite/ld-x86-64/lea1f.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/lea1f.d 2017-10-25 12:52:21.016278425 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/lea1f.d 2017-10-25 15:12:35.550099025 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --x32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf32_x86_64
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/load1a.d binutils-2.27/ld/testsuite/ld-x86-64/load1a.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/load1a.d 2017-10-25 12:52:21.016278425 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/load1a.d 2017-10-25 15:12:35.550099025 +0100
|
|
|
58725c |
@@ -3,6 +3,8 @@
|
|
|
58725c |
#ld: -melf_x86_64
|
|
|
58725c |
#objdump: -dw --sym
|
|
|
58725c |
#notarget: x86_64-*-nacl*
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/load1b.d binutils-2.27/ld/testsuite/ld-x86-64/load1b.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/load1b.d 2017-10-25 12:52:21.017278414 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/load1b.d 2017-10-25 15:12:35.550099025 +0100
|
|
|
58725c |
@@ -3,6 +3,8 @@
|
|
|
58725c |
#ld: -melf32_x86_64
|
|
|
58725c |
#objdump: -dw --sym
|
|
|
58725c |
#notarget: x86_64-*-nacl*
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/mov1b.d binutils-2.27/ld/testsuite/ld-x86-64/mov1b.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/mov1b.d 2017-10-25 12:52:21.041278135 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/mov1b.d 2017-10-25 15:12:35.550099025 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --64 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -pie -melf_x86_64 --no-dynamic-linker
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/mov1d.d binutils-2.27/ld/testsuite/ld-x86-64/mov1d.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/mov1d.d 2017-10-25 12:52:21.041278135 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/mov1d.d 2017-10-25 15:12:35.551099013 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --x32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -pie -melf32_x86_64 --no-dynamic-linker
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/no-plt.exp binutils-2.27/ld/testsuite/ld-x86-64/no-plt.exp
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/no-plt.exp 2017-10-25 12:52:21.020278378 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/no-plt.exp 2017-10-25 15:12:35.551099013 +0100
|
|
|
58725c |
@@ -70,15 +70,6 @@ run_cc_link_tests [list \
|
|
|
58725c |
"libno-plt-1b.so" \
|
|
|
58725c |
] \
|
|
|
58725c |
[list \
|
|
|
58725c |
- "No PLT (dynamic 1a)" \
|
|
|
58725c |
- "tmpdir/no-plt-check1.o tmpdir/no-plt-main1.o \
|
|
|
58725c |
- tmpdir/no-plt-func1.o tmpdir/no-plt-extern1.o" \
|
|
|
58725c |
- "" \
|
|
|
58725c |
- {dummy.s} \
|
|
|
58725c |
- {{readelf -Wr no-plt-1a.rd} {objdump -dwrj.text no-plt-1a.dd}} \
|
|
|
58725c |
- "no-plt-1a" \
|
|
|
58725c |
- ] \
|
|
|
58725c |
- [list \
|
|
|
58725c |
"No PLT (dynamic 1b)" \
|
|
|
58725c |
"tmpdir/no-plt-check1.o tmpdir/no-plt-main1.o \
|
|
|
58725c |
tmpdir/libno-plt-1a.so tmpdir/libno-plt-1b.so" \
|
|
|
58725c |
@@ -88,33 +79,6 @@ run_cc_link_tests [list \
|
|
|
58725c |
"no-plt-1b" \
|
|
|
58725c |
] \
|
|
|
58725c |
[list \
|
|
|
58725c |
- "No PLT (dynamic 1c)" \
|
|
|
58725c |
- "tmpdir/no-plt-check1.o tmpdir/no-plt-main1.o \
|
|
|
58725c |
- tmpdir/no-plt-func1.o tmpdir/libno-plt-1b.so" \
|
|
|
58725c |
- "" \
|
|
|
58725c |
- {dummy.s} \
|
|
|
58725c |
- {{readelf -Wr no-plt-1c.rd} {objdump -dwrj.text no-plt-1c.dd}} \
|
|
|
58725c |
- "no-plt-1c" \
|
|
|
58725c |
- ] \
|
|
|
58725c |
- [list \
|
|
|
58725c |
- "No PLT (static 1d)" \
|
|
|
58725c |
- "-static tmpdir/no-plt-check1.o tmpdir/no-plt-main1.o \
|
|
|
58725c |
- tmpdir/no-plt-func1.o tmpdir/no-plt-extern1.o" \
|
|
|
58725c |
- "" \
|
|
|
58725c |
- {dummy.s} \
|
|
|
58725c |
- {{readelf -Wr no-plt-1d.rd} {objdump -dwrj.text no-plt-1d.dd}} \
|
|
|
58725c |
- "no-plt-1d" \
|
|
|
58725c |
- ] \
|
|
|
58725c |
- [list \
|
|
|
58725c |
- "No PLT (PIE 1e)" \
|
|
|
58725c |
- "-pie tmpdir/no-plt-check1.o tmpdir/no-plt-main1.o \
|
|
|
58725c |
- tmpdir/no-plt-func1.o tmpdir/no-plt-extern1.o" \
|
|
|
58725c |
- "" \
|
|
|
58725c |
- {dummy.s} \
|
|
|
58725c |
- {{readelf -Wr no-plt-1e.rd} {objdump -dwrj.text no-plt-1e.dd}} \
|
|
|
58725c |
- "no-plt-1e" \
|
|
|
58725c |
- ] \
|
|
|
58725c |
- [list \
|
|
|
58725c |
"No PLT (PIE 1f)" \
|
|
|
58725c |
"-pie tmpdir/no-plt-check1.o tmpdir/no-plt-main1.o \
|
|
|
58725c |
tmpdir/libno-plt-1a.so tmpdir/libno-plt-1b.so" \
|
|
|
58725c |
@@ -123,15 +87,6 @@ run_cc_link_tests [list \
|
|
|
58725c |
{{readelf -Wr no-plt-1f.rd} {objdump -dwrj.text no-plt-1f.dd}} \
|
|
|
58725c |
"no-plt-1f" \
|
|
|
58725c |
] \
|
|
|
58725c |
- [list \
|
|
|
58725c |
- "No PLT (PIE 1g)" \
|
|
|
58725c |
- "-pie tmpdir/no-plt-check1.o tmpdir/no-plt-main1.o \
|
|
|
58725c |
- tmpdir/no-plt-func1.o tmpdir/libno-plt-1b.so" \
|
|
|
58725c |
- "" \
|
|
|
58725c |
- { dummy.s } \
|
|
|
58725c |
- {{readelf -Wr no-plt-1g.rd} {objdump -dwrj.text no-plt-1g.dd}} \
|
|
|
58725c |
- "no-plt-1g" \
|
|
|
58725c |
- ] \
|
|
|
58725c |
]
|
|
|
58725c |
|
|
|
58725c |
run_ld_link_exec_tests [] [list \
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr19609-1a.d binutils-2.27/ld/testsuite/ld-x86-64/pr19609-1a.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/pr19609-1a.d 2017-10-25 12:52:21.029278274 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/pr19609-1a.d 2017-10-25 15:12:35.551099013 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --64 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_x86_64 --no-relax
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr19609-1b.d binutils-2.27/ld/testsuite/ld-x86-64/pr19609-1b.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/pr19609-1b.d 2017-10-25 12:52:21.029278274 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/pr19609-1b.d 2017-10-25 15:12:35.551099013 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --64 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -pie -melf_x86_64 --no-dynamic-linker
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr19609-1d.d binutils-2.27/ld/testsuite/ld-x86-64/pr19609-1d.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/pr19609-1d.d 2017-10-25 12:52:21.029278274 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/pr19609-1d.d 2017-10-25 15:12:35.551099013 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --64 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -E -melf_x86_64 --no-dynamic-linker
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr19609-1f.d binutils-2.27/ld/testsuite/ld-x86-64/pr19609-1f.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/pr19609-1f.d 2017-10-25 12:52:21.029278274 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/pr19609-1f.d 2017-10-25 15:12:35.551099013 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --64 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -pie --dynamic-list-data -melf_x86_64 --no-dynamic-linker
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr19609-1g.d binutils-2.27/ld/testsuite/ld-x86-64/pr19609-1g.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/pr19609-1g.d 2017-10-25 12:52:21.029278274 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/pr19609-1g.d 2017-10-25 15:12:35.551099013 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --64 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -pie -E -melf_x86_64 --no-dynamic-linker
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr19609-1h.d binutils-2.27/ld/testsuite/ld-x86-64/pr19609-1h.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/pr19609-1h.d 2017-10-25 12:52:21.029278274 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/pr19609-1h.d 2017-10-25 15:12:35.551099013 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --x32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf32_x86_64 --no-relax
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr19609-1i.d binutils-2.27/ld/testsuite/ld-x86-64/pr19609-1i.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/pr19609-1i.d 2017-10-25 12:52:21.029278274 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/pr19609-1i.d 2017-10-25 15:12:35.551099013 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --x32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -pie -melf32_x86_64 --no-dynamic-linker
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr19609-1k.d binutils-2.27/ld/testsuite/ld-x86-64/pr19609-1k.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/pr19609-1k.d 2017-10-25 12:52:21.029278274 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/pr19609-1k.d 2017-10-25 15:12:35.551099013 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --64 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -pie -E -Bsymbolic-functions -melf_x86_64 --no-dynamic-linker
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr19609-2a.d binutils-2.27/ld/testsuite/ld-x86-64/pr19609-2a.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/pr19609-2a.d 2017-10-25 12:52:21.029278274 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/pr19609-2a.d 2017-10-25 15:12:35.551099013 +0100
|
|
|
58725c |
@@ -2,3 +2,5 @@
|
|
|
58725c |
#as: --64 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_x86_64 -Ttext=0x70000000 -Tdata=0xa0000000
|
|
|
58725c |
#error: .*relocation truncated to fit: R_X86_64_32S .*
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr19609-2b.d binutils-2.27/ld/testsuite/ld-x86-64/pr19609-2b.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/pr19609-2b.d 2017-10-25 12:52:21.029278274 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/pr19609-2b.d 2017-10-25 15:12:35.551099013 +0100
|
|
|
58725c |
@@ -2,3 +2,5 @@
|
|
|
58725c |
#as: --x32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf32_x86_64 -Ttext=0x70000000 -Tdata=0xa0000000
|
|
|
58725c |
#error: .*relocation truncated to fit: R_X86_64_32S .*
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr19609-3a.d binutils-2.27/ld/testsuite/ld-x86-64/pr19609-3a.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/pr19609-3a.d 2017-10-25 12:52:21.030278263 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/pr19609-3a.d 2017-10-25 15:12:35.551099013 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --64 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_x86_64 -Ttext=0x70000000 -Tdata=0xa0000000
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr19609-3b.d binutils-2.27/ld/testsuite/ld-x86-64/pr19609-3b.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/pr19609-3b.d 2017-10-25 12:52:21.030278263 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/pr19609-3b.d 2017-10-25 15:12:35.552099002 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --x32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf32_x86_64 -Ttext=0x70000000 -Tdata=0xa0000000
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr19609-4a.d binutils-2.27/ld/testsuite/ld-x86-64/pr19609-4a.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/pr19609-4a.d 2017-10-25 12:52:21.030278263 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/pr19609-4a.d 2017-10-25 15:12:35.552099002 +0100
|
|
|
58725c |
@@ -3,3 +3,5 @@
|
|
|
58725c |
#ld: -melf_x86_64 -Ttext=0x70000000 -Tdata=0xa0000000
|
|
|
58725c |
#error: .*relocation truncated to fit: R_X86_64_32S .*
|
|
|
58725c |
#error: .*relocation truncated to fit: R_X86_64_32S .*
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr19609-4b.d binutils-2.27/ld/testsuite/ld-x86-64/pr19609-4b.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/pr19609-4b.d 2017-10-25 12:52:21.030278263 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/pr19609-4b.d 2017-10-25 15:12:35.552099002 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --x32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf32_x86_64 -Ttext=0x70000000 -Tdata=0xa0000000
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr19609-4c.d binutils-2.27/ld/testsuite/ld-x86-64/pr19609-4c.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/pr19609-4c.d 2017-10-25 12:52:21.030278263 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/pr19609-4c.d 2017-10-25 15:12:35.552099002 +0100
|
|
|
58725c |
@@ -3,3 +3,5 @@
|
|
|
58725c |
#ld: -melf_x86_64 -Ttext=0x70000000 -Tdata=0xa0000000
|
|
|
58725c |
#error: .*relocation truncated to fit: R_X86_64_32S .*
|
|
|
58725c |
#error: .*relocation truncated to fit: R_X86_64_32S .*
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr19609-4d.d binutils-2.27/ld/testsuite/ld-x86-64/pr19609-4d.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/pr19609-4d.d 2017-10-25 12:52:21.030278263 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/pr19609-4d.d 2017-10-25 15:12:35.552099002 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --x32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf32_x86_64 -Ttext=0x70000000 -Tdata=0xa0000000
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr19609-5a.d binutils-2.27/ld/testsuite/ld-x86-64/pr19609-5a.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/pr19609-5a.d 2017-10-25 12:52:21.030278263 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/pr19609-5a.d 2017-10-25 15:12:35.552099002 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --64 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_x86_64
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr19609-5d.d binutils-2.27/ld/testsuite/ld-x86-64/pr19609-5d.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/pr19609-5d.d 2017-10-25 12:52:21.030278263 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/pr19609-5d.d 2017-10-25 15:12:35.552099002 +0100
|
|
|
58725c |
@@ -2,3 +2,5 @@
|
|
|
58725c |
#as: --64 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_x86_64 -Ttext=0x80000000
|
|
|
58725c |
#error: .*relocation truncated to fit: R_X86_64_PC32 .*
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr19609-6a.d binutils-2.27/ld/testsuite/ld-x86-64/pr19609-6a.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/pr19609-6a.d 2017-10-25 12:52:21.031278251 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/pr19609-6a.d 2017-10-25 15:12:35.552099002 +0100
|
|
|
58725c |
@@ -2,3 +2,5 @@
|
|
|
58725c |
#as: --64 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_x86_64 --defsym foobar=0x80000000
|
|
|
58725c |
#error: .*relocation truncated to fit: R_X86_64_32S .*
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr19609-6c.d binutils-2.27/ld/testsuite/ld-x86-64/pr19609-6c.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/pr19609-6c.d 2017-10-25 12:52:21.031278251 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/pr19609-6c.d 2017-10-25 15:12:35.552099002 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --64 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_x86_64 --defsym foobar=0x70000000
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr19609-6d.d binutils-2.27/ld/testsuite/ld-x86-64/pr19609-6d.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/pr19609-6d.d 2017-10-25 12:52:21.031278251 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/pr19609-6d.d 2017-10-25 15:12:35.552099002 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --x32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf32_x86_64 --defsym foobar=0x80000000
|
|
|
58725c |
#objdump: -dw
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr19609-7a.d binutils-2.27/ld/testsuite/ld-x86-64/pr19609-7a.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/pr19609-7a.d 2017-10-25 12:52:21.031278251 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/pr19609-7a.d 2017-10-25 15:12:35.552099002 +0100
|
|
|
58725c |
@@ -2,3 +2,5 @@
|
|
|
58725c |
#as: --64 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_x86_64 -Ttext=0x80000000
|
|
|
58725c |
#error: .*relocation truncated to fit: R_X86_64_PC32 .*
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr19609-7c.d binutils-2.27/ld/testsuite/ld-x86-64/pr19609-7c.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/pr19609-7c.d 2017-10-25 12:52:21.031278251 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/pr19609-7c.d 2017-10-25 15:12:35.552099002 +0100
|
|
|
58725c |
@@ -2,3 +2,5 @@
|
|
|
58725c |
#as: --x32 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf32_x86_64 -Ttext=0x80000000
|
|
|
58725c |
#error: .*relocation truncated to fit: R_X86_64_PC32 .*
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/tls.exp binutils-2.27/ld/testsuite/ld-x86-64/tls.exp
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/tls.exp 2017-10-25 12:52:21.036278193 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/tls.exp 2017-10-25 15:12:35.552099002 +0100
|
|
|
58725c |
@@ -69,42 +69,6 @@ run_cc_link_tests [list \
|
|
|
58725c |
|
|
|
58725c |
run_ld_link_exec_tests [] [list \
|
|
|
58725c |
[list \
|
|
|
58725c |
- "TLS GD/LD -> LE transition without PLT (dynamic)" \
|
|
|
58725c |
- "tmpdir/tls-def1.o tmpdir/tls-main1.o tmpdir/tls-gd1.o \
|
|
|
58725c |
- tmpdir/tls-ld1.o" \
|
|
|
58725c |
- "" \
|
|
|
58725c |
- { dummy.s } \
|
|
|
58725c |
- "tls-1a" \
|
|
|
58725c |
- "pass.out" \
|
|
|
58725c |
- ] \
|
|
|
58725c |
- [list \
|
|
|
58725c |
- "TLS GD/LD -> LE transition without PLT (PIE)" \
|
|
|
58725c |
- "-pie tmpdir/tls-def1.o tmpdir/tls-main1.o tmpdir/tls-gd1.o \
|
|
|
58725c |
- tmpdir/tls-ld1.o" \
|
|
|
58725c |
- "" \
|
|
|
58725c |
- { dummy.s } \
|
|
|
58725c |
- "tls-1b" \
|
|
|
58725c |
- "pass.out" \
|
|
|
58725c |
- ] \
|
|
|
58725c |
- [list \
|
|
|
58725c |
- "TLS GD/LD -> LE transition without PLT (static)" \
|
|
|
58725c |
- "-static tmpdir/tls-def1.o tmpdir/tls-main1.o tmpdir/tls-gd1.o \
|
|
|
58725c |
- tmpdir/tls-ld1.o" \
|
|
|
58725c |
- "" \
|
|
|
58725c |
- { dummy.s } \
|
|
|
58725c |
- "tls-1c" \
|
|
|
58725c |
- "pass.out" \
|
|
|
58725c |
- ] \
|
|
|
58725c |
- [list \
|
|
|
58725c |
- "TLS GD/LD -> IE transition without PLT" \
|
|
|
58725c |
- "tmpdir/tls-main1.o tmpdir/tls-gd1.o tmpdir/tls-ld1.o \
|
|
|
58725c |
- tmpdir/libtls-1a.so -R tmpdir" \
|
|
|
58725c |
- "" \
|
|
|
58725c |
- { dummy.s } \
|
|
|
58725c |
- "tls-1d" \
|
|
|
58725c |
- "pass.out" \
|
|
|
58725c |
- ] \
|
|
|
58725c |
- [list \
|
|
|
58725c |
"TLS without PLT (1)" \
|
|
|
58725c |
"tmpdir/tls-main1.o \
|
|
|
58725c |
tmpdir/libtls-1a.so tmpdir/libtls-1b.so -R tmpdir" \
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/tlspie2a.d binutils-2.27/ld/testsuite/ld-x86-64/tlspie2a.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/tlspie2a.d 2017-10-25 12:52:21.039278158 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/tlspie2a.d 2017-10-25 15:12:35.552099002 +0100
|
|
|
58725c |
@@ -2,5 +2,7 @@
|
|
|
58725c |
#as: --64 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_x86_64 -pie
|
|
|
58725c |
#readelf: -r
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
There are no relocations in this file.
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/tlspie2b.d binutils-2.27/ld/testsuite/ld-x86-64/tlspie2b.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/tlspie2b.d 2017-10-25 12:52:21.039278158 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/tlspie2b.d 2017-10-25 15:12:35.552099002 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --64 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_x86_64 -pie
|
|
|
58725c |
#objdump: -dwr
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/tlspie2c.d binutils-2.27/ld/testsuite/ld-x86-64/tlspie2c.d
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/tlspie2c.d 2017-10-25 12:52:21.039278158 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/tlspie2c.d 2017-10-25 15:12:35.553098990 +0100
|
|
|
58725c |
@@ -2,6 +2,8 @@
|
|
|
58725c |
#as: --64 -mrelax-relocations=yes
|
|
|
58725c |
#ld: -melf_x86_64 -pie -z call-nop=suffix-nop
|
|
|
58725c |
#objdump: -dwr
|
|
|
58725c |
+#xfail: *-*-*
|
|
|
58725c |
+# XFAILed because generation of the R_X86_64_REX_GOTPCRELX and R_X86_64_GOTPCRELX relocs is currently suppressed.
|
|
|
58725c |
|
|
|
58725c |
.*: +file format .*
|
|
|
58725c |
|
|
|
58725c |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/x86-64.exp binutils-2.27/ld/testsuite/ld-x86-64/x86-64.exp
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/x86-64.exp 2017-10-25 12:52:21.040278147 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/x86-64.exp 2017-10-25 15:12:35.553098990 +0100
|
|
|
58725c |
@@ -55,13 +55,6 @@ set x86_64tests {
|
|
|
58725c |
{{readelf -WSsrl tlspic.rd} {objdump -drj.text\ -Mintel64 tlspic.dd}
|
|
|
58725c |
{objdump -sj.got tlspic.sd} {objdump -sj.tdata tlspic.td}}
|
|
|
58725c |
"libtlspic.so"}
|
|
|
58725c |
- {"TLS -fpic -shared transitions with r15 as GOT base"
|
|
|
58725c |
- "-shared -melf_x86_64 --no-ld-generated-unwind-info" ""
|
|
|
58725c |
- "--64 -mrelax-relocations=yes"
|
|
|
58725c |
- {tlspic3.s tlspic2.s}
|
|
|
58725c |
- {{readelf -WSsrl tlspic2.rd} {objdump -drj.text\ -Mintel64 tlspic2.dd}
|
|
|
58725c |
- {objdump -sj.got tlspic2.sd} {objdump -sj.tdata tlspic2.td}}
|
|
|
58725c |
- "libtlspic2.so"}
|
|
|
58725c |
{"TLS descriptor -fpic -shared transitions"
|
|
|
58725c |
"-shared -melf_x86_64 --no-ld-generated-unwind-info" ""
|
|
|
58725c |
"--64" {tlsdesc.s tlspic2.s}
|
|
|
58725c |
@@ -76,12 +69,6 @@ set x86_64tests {
|
|
|
58725c |
{{readelf -WSsrl tlsbin.rd} {objdump -drj.text tlsbin.dd}
|
|
|
58725c |
{objdump -sj.got tlsbin.sd} {objdump -sj.tdata tlsbin.td}}
|
|
|
58725c |
"tlsbin"}
|
|
|
58725c |
- {"TLS -fpic and -fno-pic exec transitions without PLT"
|
|
|
58725c |
- "-melf_x86_64 tmpdir/libtlslib.so --no-ld-generated-unwind-info" ""
|
|
|
58725c |
- "-mrelax-relocations=yes --64" {tlsbinpic2.s tlsbin.s}
|
|
|
58725c |
- {{readelf -WSsrl tlsbin2.rd} {objdump -drj.text tlsbin2.dd}
|
|
|
58725c |
- {objdump -sj.got tlsbin2.sd} {objdump -sj.tdata tlsbin2.td}}
|
|
|
58725c |
- "tlsbin2"}
|
|
|
58725c |
{"TLS descriptor -fpic and -fno-pic exec transitions"
|
|
|
58725c |
"-melf_x86_64 tmpdir/libtlslib.so --no-ld-generated-unwind-info" ""
|
|
|
58725c |
"--64" {tlsbindesc.s tlsbin.s}
|
|
|
58725c |
@@ -128,19 +115,11 @@ set x86_64tests {
|
|
|
58725c |
{"TLS GD->IE transition" "-melf_x86_64 tmpdir/libtlsgd5.so" ""
|
|
|
58725c |
"--64" {tlsgd5a.s}
|
|
|
58725c |
{{objdump -dwr tlsgd5.dd}} "tlsgd5a"}
|
|
|
58725c |
- {"TLS GD->IE transition without PLT"
|
|
|
58725c |
- "-melf_x86_64 tmpdir/libtlsgd5.so" ""
|
|
|
58725c |
- "-mrelax-relocations=yes --64" {tlsgd5c.s}
|
|
|
58725c |
- {{objdump -dwr tlsgd5.dd}} "tlsgd5b"}
|
|
|
58725c |
{"Helper TLS X32 GD->IE transition DSO" "-shared -melf32_x86_64" ""
|
|
|
58725c |
"--x32" {tlsgd6b.s} {} "libtlsgd6.so"}
|
|
|
58725c |
{"TLS X32 GD->IE transition" "-melf32_x86_64 tmpdir/libtlsgd6.so" ""
|
|
|
58725c |
"--x32" {tlsgd6a.s}
|
|
|
58725c |
{{objdump -dwr tlsgd6.dd}} "tlsgd6a"}
|
|
|
58725c |
- {"TLS X32 GD->IE transition without PLT"
|
|
|
58725c |
- "-melf32_x86_64 tmpdir/libtlsgd6.so" ""
|
|
|
58725c |
- "-mrelax-relocations=yes --x32" {tlsgd6c.s}
|
|
|
58725c |
- {{objdump -dwr tlsgd6.dd}} "tlsgd6b"}
|
|
|
58725c |
{"TLS X32 LD->LE transition" "-melf32_x86_64" ""
|
|
|
58725c |
"--x32" {tlsld2.s}
|
|
|
58725c |
{{objdump -dwr tlsld2.dd}} "tlsld2"}
|
|
|
58725c |
@@ -154,15 +133,6 @@ set x86_64tests {
|
|
|
58725c |
"-melf_x86_64" ""
|
|
|
58725c |
"--64" {tlsld4.s}
|
|
|
58725c |
{{objdump -dwr tlsld4.dd}} "tlsld4"}
|
|
|
58725c |
- {"TLS LD->LE transition without PLT"
|
|
|
58725c |
- "-melf_x86_64" ""
|
|
|
58725c |
- "--64 -mrelax-relocations=yes"
|
|
|
58725c |
- {tlsld5.s}
|
|
|
58725c |
- {{objdump -dwr tlsld5.dd}} "tlsld5"}
|
|
|
58725c |
- {"TLS X32 LD->LE transition without PLT" "-melf32_x86_64" ""
|
|
|
58725c |
- "--x32 -mrelax-relocations=yes"
|
|
|
58725c |
- {tlsld6.s}
|
|
|
58725c |
- {{objdump -dwr tlsld6.dd}} "tlsld6"}
|
|
|
58725c |
{"TLS -mcmodel=large GD->IE transition" "-melf_x86_64 tmpdir/libtlsgd5.so" ""
|
|
|
58725c |
"--64" {tlsgd8.s}
|
|
|
58725c |
{{objdump -dwrj.text tlsgd8.dd}} "tlsgd8"}
|
|
|
58725c |
@@ -620,7 +590,7 @@ if { [isnative] && [which $CC] != 0 } {
|
|
|
58725c |
"" \
|
|
|
58725c |
"-fPIC -Wa,-mrelax-relocations=yes" \
|
|
|
58725c |
{ plt-main1.c } \
|
|
|
58725c |
- {{readelf {-Wr} plt-main1.rd}} \
|
|
|
58725c |
+ {} \
|
|
|
58725c |
"libplt-main1.a" \
|
|
|
58725c |
] \
|
|
|
58725c |
[list \
|
|
|
58725c |
@@ -644,7 +614,7 @@ if { [isnative] && [which $CC] != 0 } {
|
|
|
58725c |
"" \
|
|
|
58725c |
"-fPIC -Wa,-mrelax-relocations=yes $PLT_CFLAGS" \
|
|
|
58725c |
{ plt-main4.c } \
|
|
|
58725c |
- {{readelf {-Wr} plt-main4.rd}} \
|
|
|
58725c |
+ {} \
|
|
|
58725c |
"libplt-main4.a" \
|
|
|
58725c |
] \
|
|
|
58725c |
[list \
|
|
|
58725c |
@@ -799,14 +769,6 @@ if { [isnative] && [which $CC] != 0 } {
|
|
|
58725c |
{ gotpcrel1a.S gotpcrel1b.c gotpcrel1c.c } \
|
|
|
58725c |
] \
|
|
|
58725c |
[list \
|
|
|
58725c |
- "Build gotpcrel1" \
|
|
|
58725c |
- "-Wl,--as-needed tmpdir/gotpcrel1a.o tmpdir/gotpcrel1b.o tmpdir/gotpcrel1c.o tmpdir/gotpcrel1d.so" \
|
|
|
58725c |
- { dummy.s } \
|
|
|
58725c |
- "" \
|
|
|
58725c |
- {{objdump {-dw} gotpcrel1.dd}} \
|
|
|
58725c |
- "gotpcrel1" \
|
|
|
58725c |
- ] \
|
|
|
58725c |
- [list \
|
|
|
58725c |
"Build pr19319.so" \
|
|
|
58725c |
"-shared" \
|
|
|
58725c |
"" \
|
|
|
58725c |
--- binutils.orig/ld/testsuite/ld-x86-64/x86-64.exp 2019-04-15 13:13:09.203928459 +0100
|
|
|
58725c |
+++ binutils-2.27/ld/testsuite/ld-x86-64/x86-64.exp 2019-04-15 13:15:31.960858042 +0100
|
|
|
58725c |
@@ -623,7 +623,7 @@ if { [isnative] && [which $CC] != 0 } {
|
|
|
58725c |
tmpdir/plt-main4.o tmpdir/libplt-lib.so" \
|
|
|
58725c |
"" \
|
|
|
58725c |
{ plt-main5.c } \
|
|
|
58725c |
- {{readelf {-Wr} plt-main.rd}} \
|
|
|
58725c |
+ {} \
|
|
|
58725c |
"plt-main" \
|
|
|
58725c |
] \
|
|
|
58725c |
[list \
|
|
|
58725c |
@@ -632,7 +632,7 @@ if { [isnative] && [which $CC] != 0 } {
|
|
|
58725c |
tmpdir/plt-main4.o tmpdir/libplt-lib.so -pie" \
|
|
|
58725c |
"-fPIC" \
|
|
|
58725c |
{ plt-main5.c } \
|
|
|
58725c |
- {{readelf {-Wr} plt-main.rd}} \
|
|
|
58725c |
+ {} \
|
|
|
58725c |
"plt-main" \
|
|
|
58725c |
] \
|
|
|
58725c |
[list \
|
|
|
58725c |
@@ -866,7 +866,7 @@ if { [isnative] && [which $CC] != 0 } {
|
|
|
58725c |
tmpdir/plt-main4.o tmpdir/libplt-lib.so -z bndplt" \
|
|
|
58725c |
"" \
|
|
|
58725c |
{ plt-main5.c } \
|
|
|
58725c |
- {{objdump {-drw} plt-main-bnd.dd}} \
|
|
|
58725c |
+ {} \
|
|
|
58725c |
"plt-main-bnd" \
|
|
|
58725c |
] \
|
|
|
58725c |
[list \
|
|
|
58725c |
@@ -875,7 +875,7 @@ if { [isnative] && [which $CC] != 0 } {
|
|
|
58725c |
tmpdir/plt-main4.o tmpdir/libplt-lib.so -z bndplt -pie" \
|
|
|
58725c |
"-fPIC" \
|
|
|
58725c |
{ plt-main5.c } \
|
|
|
58725c |
- {{objdump {-drw} plt-main-bnd.dd}} \
|
|
|
58725c |
+ {} \
|
|
|
58725c |
"plt-main-pie-bnd" \
|
|
|
58725c |
] \
|
|
|
58725c |
]
|
|
|
58725c |
@@ -916,5 +916,5 @@ if { ![istarget "x86_64-*-linux*"]} {
|
|
|
58725c |
|
|
|
58725c |
# Linux only tests
|
|
|
58725c |
run_dump_test "pr17618"
|
|
|
58725c |
-run_dump_test "pltgot-1"
|
|
|
58725c |
-run_dump_test "pltgot-2"
|
|
|
58725c |
+# run_dump_test "pltgot-1"
|
|
|
58725c |
+# run_dump_test "pltgot-2"
|