Blob Blame History Raw
diff -rupN --no-dereference binutils-2.42/bfd/elfxx-x86.c binutils-2.42-new/bfd/elfxx-x86.c
--- binutils-2.42/bfd/elfxx-x86.c	2024-01-29 01:00:00.000000000 +0100
+++ binutils-2.42-new/bfd/elfxx-x86.c	2024-02-18 23:54:41.446100990 +0100
@@ -105,7 +105,7 @@ elf_x86_allocate_dynrelocs (struct elf_l
   plt_entry_size = htab->plt.plt_entry_size;
 
   resolved_to_zero = UNDEFINED_WEAK_RESOLVED_TO_ZERO (info, eh);
-
+#if 0
   /* We can't use the GOT PLT if pointer equality is needed since
      finish_dynamic_symbol won't clear symbol value and the dynamic
      linker won't update the GOT slot.  We will get into an infinite
@@ -123,7 +123,7 @@ elf_x86_allocate_dynrelocs (struct elf_l
       /* Use the GOT PLT.  */
       eh->plt_got.refcount = 1;
     }
-
+#endif
   /* Since STT_GNU_IFUNC symbol must go through PLT, we handle it
      here if it is defined and referenced in a non-shared object.  */
   if (h->type == STT_GNU_IFUNC
diff -rupN --no-dereference binutils-2.42/ld/testsuite/ld-i386/pltgot-1.d binutils-2.42-new/ld/testsuite/ld-i386/pltgot-1.d
--- binutils-2.42/ld/testsuite/ld-i386/pltgot-1.d	2024-01-29 01:00:00.000000000 +0100
+++ binutils-2.42-new/ld/testsuite/ld-i386/pltgot-1.d	2024-02-18 23:54:41.446100990 +0100
@@ -2,6 +2,7 @@
 #readelf: -S --wide
 #as: --32
 
+#pass
 #...
  +\[ *[0-9]+\] \.plt +PROGBITS +[0-9a-f]+ +[0-9a-f]+ +0+10 +.*
 #...
diff -rupN --no-dereference binutils-2.42/ld/testsuite/ld-i386/pltgot-2.d binutils-2.42-new/ld/testsuite/ld-i386/pltgot-2.d
--- binutils-2.42/ld/testsuite/ld-i386/pltgot-2.d	2024-01-29 01:00:00.000000000 +0100
+++ binutils-2.42-new/ld/testsuite/ld-i386/pltgot-2.d	2024-02-18 23:54:41.451100611 +0100
@@ -3,7 +3,6 @@
 #readelf: -d --wide
 #as: --32
 
-#failif
 #...
  +0x[0-9a-f]+ +\(PLTREL.*
 #...
diff -rupN --no-dereference binutils-2.42/ld/testsuite/ld-i386/pr19636-2d.d binutils-2.42-new/ld/testsuite/ld-i386/pr19636-2d.d
--- binutils-2.42/ld/testsuite/ld-i386/pr19636-2d.d	2024-01-29 01:00:00.000000000 +0100
+++ binutils-2.42-new/ld/testsuite/ld-i386/pr19636-2d.d	2024-02-18 23:54:41.455100308 +0100
@@ -8,7 +8,7 @@ Relocation section '\.rel\.dyn' at offse
 [0-9a-f]+ +[0-9a-f]+ +R_386_32 +0+ +func
 [0-9a-f]+ +[0-9a-f]+ +R_386_PC32 +0+ +func
 [0-9a-f]+ +[0-9a-f]+ +R_386_GLOB_DAT +0+ +func
-
+#...
 Symbol table '\.dynsym' contains [0-9]+ entries:
  +Num: +Value +Size Type +Bind +Vis +Ndx Name
 #...
diff -rupN --no-dereference binutils-2.42/ld/testsuite/ld-i386/pr19636-2e.d binutils-2.42-new/ld/testsuite/ld-i386/pr19636-2e.d
--- binutils-2.42/ld/testsuite/ld-i386/pr19636-2e.d	2024-01-29 01:00:00.000000000 +0100
+++ binutils-2.42-new/ld/testsuite/ld-i386/pr19636-2e.d	2024-02-18 23:54:41.458100081 +0100
@@ -8,7 +8,7 @@ Relocation section '\.rel\.dyn' at offse
 [0-9a-f]+ +[0-9a-f]+ +R_386_32 +0+ +func
 [0-9a-f]+ +[0-9a-f]+ +R_386_PC32 +0+ +func
 [0-9a-f]+ +[0-9a-f]+ +R_386_GLOB_DAT +0+ +func
-
+#...
 Symbol table '\.dynsym' contains [0-9]+ entries:
  +Num: +Value +Size Type +Bind +Vis +Ndx Name
 #...
diff -rupN --no-dereference binutils-2.42/ld/testsuite/ld-i386/pr20830.d binutils-2.42-new/ld/testsuite/ld-i386/pr20830.d
--- binutils-2.42/ld/testsuite/ld-i386/pr20830.d	2024-01-29 01:00:00.000000000 +0100
+++ binutils-2.42-new/ld/testsuite/ld-i386/pr20830.d	2024-02-18 23:54:41.462099778 +0100
@@ -19,7 +19,7 @@ Contents of the .eh_frame section:
   DW_CFA_offset: r8 \(eip\) at cfa-4
   DW_CFA_nop
   DW_CFA_nop
-
+#pass
 0+18 00000010 0000001c FDE cie=00000000 pc=00000128..00000133
   DW_CFA_nop
   DW_CFA_nop
diff -rupN --no-dereference binutils-2.42/ld/testsuite/ld-x86-64/pltgot-1.d binutils-2.42-new/ld/testsuite/ld-x86-64/pltgot-1.d
--- binutils-2.42/ld/testsuite/ld-x86-64/pltgot-1.d	2024-01-29 01:00:00.000000000 +0100
+++ binutils-2.42-new/ld/testsuite/ld-x86-64/pltgot-1.d	2024-02-18 23:54:41.466099475 +0100
@@ -2,8 +2,4 @@
 #readelf: -S --wide
 #as: --64
 
-#...
- +\[ *[0-9]+\] \.plt +PROGBITS +[0-9a-f]+ +[0-9a-f]+ +0+10 +.*
-#...
- +\[ *[0-9]+\] \.got\.plt +PROGBITS +[0-9a-f]+ +[0-9a-f]+ +0+18 +.*
 #pass
diff -rupN --no-dereference binutils-2.42/ld/testsuite/ld-x86-64/pltgot-2.d binutils-2.42-new/ld/testsuite/ld-x86-64/pltgot-2.d
--- binutils-2.42/ld/testsuite/ld-x86-64/pltgot-2.d	2024-01-29 01:00:00.000000000 +0100
+++ binutils-2.42-new/ld/testsuite/ld-x86-64/pltgot-2.d	2024-02-18 23:54:41.469099248 +0100
@@ -3,7 +3,6 @@
 #readelf: -d --wide
 #as: --64
 
-#failif
 #...
  +0x[0-9a-f]+ +\(PLTREL.*
 #...
diff -rupN --no-dereference binutils-2.42/ld/testsuite/ld-x86-64/plt-main.rd binutils-2.42-new/ld/testsuite/ld-x86-64/plt-main.rd
--- binutils-2.42/ld/testsuite/ld-x86-64/plt-main.rd	2024-01-29 01:00:00.000000000 +0100
+++ binutils-2.42-new/ld/testsuite/ld-x86-64/plt-main.rd	2024-02-18 23:54:41.473098945 +0100
@@ -1,4 +1,3 @@
-#failif
 #...
 [0-9a-f ]+R_X86_64_JUMP_SLOT +0+ +bar \+ 0
 #...
diff -rupN --no-dereference binutils-2.42/ld/testsuite/ld-x86-64/pr20830a.d binutils-2.42-new/ld/testsuite/ld-x86-64/pr20830a.d
--- binutils-2.42/ld/testsuite/ld-x86-64/pr20830a.d	2024-01-29 01:00:00.000000000 +0100
+++ binutils-2.42-new/ld/testsuite/ld-x86-64/pr20830a.d	2024-02-18 23:54:41.477098642 +0100
@@ -20,6 +20,7 @@ Contents of the .eh_frame section:
   DW_CFA_offset: r16 \(rip\) at cfa-8
   DW_CFA_nop
   DW_CFA_nop
+#pass
 
 0+18 0000000000000014 0000001c FDE cie=00000000 pc=00000000000001c8..00000000000001d4
   DW_CFA_nop
diff -rupN --no-dereference binutils-2.42/ld/testsuite/ld-x86-64/pr20830a-now.d binutils-2.42-new/ld/testsuite/ld-x86-64/pr20830a-now.d
--- binutils-2.42/ld/testsuite/ld-x86-64/pr20830a-now.d	2024-01-29 01:00:00.000000000 +0100
+++ binutils-2.42-new/ld/testsuite/ld-x86-64/pr20830a-now.d	2024-02-18 23:54:41.481098339 +0100
@@ -20,6 +20,7 @@ Contents of the .eh_frame section:
   DW_CFA_offset: r16 \(rip\) at cfa-8
   DW_CFA_nop
   DW_CFA_nop
+#pass
 
 0+18 0000000000000014 0000001c FDE cie=00000000 pc=00000000000001c8..00000000000001d4
   DW_CFA_nop
diff -rupN --no-dereference binutils-2.42/ld/testsuite/ld-x86-64/pr20830b.d binutils-2.42-new/ld/testsuite/ld-x86-64/pr20830b.d
--- binutils-2.42/ld/testsuite/ld-x86-64/pr20830b.d	2024-01-29 01:00:00.000000000 +0100
+++ binutils-2.42-new/ld/testsuite/ld-x86-64/pr20830b.d	2024-02-18 23:54:41.486097960 +0100
@@ -20,7 +20,8 @@ Contents of the .eh_frame section:
   DW_CFA_offset: r16 \(rip\) at cfa-8
   DW_CFA_nop
   DW_CFA_nop
-
+#pass
+ 
 0+18 0000000000000010 0000001c FDE cie=00000000 pc=0000000000000138..0000000000000144
   DW_CFA_nop
   DW_CFA_nop
diff -rupN --no-dereference binutils-2.42/ld/testsuite/ld-x86-64/pr20830b-now.d binutils-2.42-new/ld/testsuite/ld-x86-64/pr20830b-now.d
--- binutils-2.42/ld/testsuite/ld-x86-64/pr20830b-now.d	2024-01-29 01:00:00.000000000 +0100
+++ binutils-2.42-new/ld/testsuite/ld-x86-64/pr20830b-now.d	2024-02-18 23:54:41.491097581 +0100
@@ -20,7 +20,8 @@ Contents of the .eh_frame section:
   DW_CFA_offset: r16 \(rip\) at cfa-8
   DW_CFA_nop
   DW_CFA_nop
-
+#pass
+ 
 0+18 0000000000000010 0000001c FDE cie=00000000 pc=0000000000000138..0000000000000144
   DW_CFA_nop
   DW_CFA_nop
diff -rupN --no-dereference binutils-2.42/ld/testsuite/ld-x86-64/tlspic2.rd binutils-2.42-new/ld/testsuite/ld-x86-64/tlspic2.rd
--- binutils-2.42/ld/testsuite/ld-x86-64/tlspic2.rd	2024-01-29 01:00:00.000000000 +0100
+++ binutils-2.42-new/ld/testsuite/ld-x86-64/tlspic2.rd	2024-02-18 23:54:41.496097203 +0100
@@ -14,6 +14,7 @@ Section Headers:
  +\[[ 0-9]+\] .dynsym +.*
  +\[[ 0-9]+\] .dynstr +.*
  +\[[ 0-9]+\] .rela.dyn +.*
+#pass
  +\[[ 0-9]+\] .plt +.*
  +\[[ 0-9]+\] .plt.got +.*
  +\[[ 0-9]+\] .text +PROGBITS +0+1000 0+1000 0+31a 00 +AX +0 +0 4096