Blame SOURCES/binutils-aarch64-ld-test-fixes.patch

0519c2
diff -rup binutils.orig/ld/testsuite/ld-aarch64/variant_pcs-now.d binutils-2.30/ld/testsuite/ld-aarch64/variant_pcs-now.d
0519c2
--- binutils.orig/ld/testsuite/ld-aarch64/variant_pcs-now.d	2020-04-06 16:21:53.296852157 +0100
0519c2
+++ binutils-2.30/ld/testsuite/ld-aarch64/variant_pcs-now.d	2020-04-06 16:28:56.733001935 +0100
0519c2
@@ -5,28 +5,29 @@
0519c2
 
0519c2
 Relocation section '\.rela\.plt' at offset 0x11000 contains 12 entries:
0519c2
     Offset             Info             Type               Symbol's Value  Symbol's Name \+ Addend
0519c2
-0000000000009020  0000000100000402 R_AARCH64_JUMP_SLOT    0000000000000000 f_base_global_default_undef \+ 0
0519c2
-0000000000009028  0000000200000402 R_AARCH64_JUMP_SLOT    0000000000000000 f_spec_global_default_undef \+ 0
0519c2
-0000000000009030  0000000400000402 R_AARCH64_JUMP_SLOT    0000000000008000 f_base_global_default_def \+ 0
0519c2
-0000000000009038  0000000500000402 R_AARCH64_JUMP_SLOT    0000000000008000 f_spec_global_default_def \+ 0
0519c2
+0000000000009020  0000000.00000402 R_AARCH64_JUMP_SLOT    0000000000000000 f_base_global_default_undef \+ 0
0519c2
+0000000000009028  0000000.00000402 R_AARCH64_JUMP_SLOT    0000000000000000 f_spec_global_default_undef \+ 0
0519c2
+0000000000009030  0000000.00000402 R_AARCH64_JUMP_SLOT    0000000000008000 f_base_global_default_def \+ 0
0519c2
+0000000000009038  0000000.00000402 R_AARCH64_JUMP_SLOT    0000000000008000 f_spec_global_default_def \+ 0
0519c2
 0000000000009040  0000000000000408 R_AARCH64_IRELATIVE                       8000
0519c2
-0000000000009048  0000000300000402 R_AARCH64_JUMP_SLOT    f_spec_global_default_ifunc\(\) f_spec_global_default_ifunc \+ 0
0519c2
+0000000000009048  0000000.00000402 R_AARCH64_JUMP_SLOT    f_spec_global_default_ifunc\(\) f_spec_global_default_ifunc \+ 0
0519c2
 0000000000009050  0000000000000408 R_AARCH64_IRELATIVE                       8000
0519c2
-0000000000009058  0000000600000402 R_AARCH64_JUMP_SLOT    f_base_global_default_ifunc\(\) f_base_global_default_ifunc \+ 0
0519c2
+0000000000009058  0000000.00000402 R_AARCH64_JUMP_SLOT    f_base_global_default_ifunc\(\) f_base_global_default_ifunc \+ 0
0519c2
 0000000000009060  0000000000000408 R_AARCH64_IRELATIVE                       8038
0519c2
 0000000000009068  0000000000000408 R_AARCH64_IRELATIVE                       8000
0519c2
 0000000000009070  0000000000000408 R_AARCH64_IRELATIVE                       8000
0519c2
 0000000000009078  0000000000000408 R_AARCH64_IRELATIVE                       8038
0519c2
 
0519c2
-Symbol table '\.dynsym' contains 7 entries:
0519c2
+Symbol table '\.dynsym' contains . entries:
0519c2
    Num:    Value          Size Type    Bind   Vis      Ndx Name
0519c2
-     0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND 
0519c2
-     1: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND f_base_global_default_undef
0519c2
-     2: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND f_spec_global_default_undef 	\[VARIANT_PCS\] 
0519c2
-     3: 0000000000008000     0 IFUNC   GLOBAL DEFAULT    1 f_spec_global_default_ifunc 	\[VARIANT_PCS\] 
0519c2
-     4: 0000000000008000     0 NOTYPE  GLOBAL DEFAULT    1 f_base_global_default_def
0519c2
-     5: 0000000000008000     0 NOTYPE  GLOBAL DEFAULT    1 f_spec_global_default_def 	\[VARIANT_PCS\] 
0519c2
-     6: 0000000000008000     0 IFUNC   GLOBAL DEFAULT    1 f_base_global_default_ifunc
0519c2
+     0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND 
0519c2
+#...
0519c2
+     .: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND f_base_global_default_undef
0519c2
+     .: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND f_spec_global_default_undef 	\[VARIANT_PCS\] 
0519c2
+     .: 0000000000008000     0 IFUNC   GLOBAL DEFAULT    1 f_spec_global_default_ifunc 	\[VARIANT_PCS\] 
0519c2
+     .: 0000000000008000     0 NOTYPE  GLOBAL DEFAULT    1 f_base_global_default_def
0519c2
+     .: 0000000000008000     0 NOTYPE  GLOBAL DEFAULT    1 f_spec_global_default_def 	\[VARIANT_PCS\] 
0519c2
+     .: 0000000000008000     0 IFUNC   GLOBAL DEFAULT    1 f_base_global_default_ifunc
0519c2
 
0519c2
 Symbol table '\.symtab' contains 35 entries:
0519c2
    Num:    Value          Size Type    Bind   Vis      Ndx Name
0519c2
diff -rup binutils.orig/ld/testsuite/ld-aarch64/variant_pcs-shared.d binutils-2.30/ld/testsuite/ld-aarch64/variant_pcs-shared.d
0519c2
--- binutils.orig/ld/testsuite/ld-aarch64/variant_pcs-shared.d	2020-04-06 16:21:53.296852157 +0100
0519c2
+++ binutils-2.30/ld/testsuite/ld-aarch64/variant_pcs-shared.d	2020-04-06 16:28:35.565094429 +0100
0519c2
@@ -5,28 +5,29 @@
0519c2
 
0519c2
 Relocation section '\.rela\.plt' at offset 0x11000 contains 12 entries:
0519c2
     Offset             Info             Type               Symbol's Value  Symbol's Name \+ Addend
0519c2
-0000000000009020  0000000100000402 R_AARCH64_JUMP_SLOT    0000000000000000 f_base_global_default_undef \+ 0
0519c2
-0000000000009028  0000000200000402 R_AARCH64_JUMP_SLOT    0000000000000000 f_spec_global_default_undef \+ 0
0519c2
-0000000000009030  0000000400000402 R_AARCH64_JUMP_SLOT    0000000000008000 f_base_global_default_def \+ 0
0519c2
-0000000000009038  0000000500000402 R_AARCH64_JUMP_SLOT    0000000000008000 f_spec_global_default_def \+ 0
0519c2
+0000000000009020  0000000.00000402 R_AARCH64_JUMP_SLOT    0000000000000000 f_base_global_default_undef \+ 0
0519c2
+0000000000009028  0000000.00000402 R_AARCH64_JUMP_SLOT    0000000000000000 f_spec_global_default_undef \+ 0
0519c2
+0000000000009030  0000000.00000402 R_AARCH64_JUMP_SLOT    0000000000008000 f_base_global_default_def \+ 0
0519c2
+0000000000009038  0000000.00000402 R_AARCH64_JUMP_SLOT    0000000000008000 f_spec_global_default_def \+ 0
0519c2
 0000000000009040  0000000000000408 R_AARCH64_IRELATIVE                       8000
0519c2
-0000000000009048  0000000300000402 R_AARCH64_JUMP_SLOT    f_spec_global_default_ifunc\(\) f_spec_global_default_ifunc \+ 0
0519c2
+0000000000009048  0000000.00000402 R_AARCH64_JUMP_SLOT    f_spec_global_default_ifunc\(\) f_spec_global_default_ifunc \+ 0
0519c2
 0000000000009050  0000000000000408 R_AARCH64_IRELATIVE                       8000
0519c2
-0000000000009058  0000000600000402 R_AARCH64_JUMP_SLOT    f_base_global_default_ifunc\(\) f_base_global_default_ifunc \+ 0
0519c2
+0000000000009058  0000000.00000402 R_AARCH64_JUMP_SLOT    f_base_global_default_ifunc\(\) f_base_global_default_ifunc \+ 0
0519c2
 0000000000009060  0000000000000408 R_AARCH64_IRELATIVE                       8038
0519c2
 0000000000009068  0000000000000408 R_AARCH64_IRELATIVE                       8000
0519c2
 0000000000009070  0000000000000408 R_AARCH64_IRELATIVE                       8000
0519c2
 0000000000009078  0000000000000408 R_AARCH64_IRELATIVE                       8038
0519c2
 
0519c2
-Symbol table '\.dynsym' contains 7 entries:
0519c2
+Symbol table '\.dynsym' contains . entries:
0519c2
    Num:    Value          Size Type    Bind   Vis      Ndx Name
0519c2
-     0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND 
0519c2
-     1: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND f_base_global_default_undef
0519c2
-     2: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND f_spec_global_default_undef 	\[VARIANT_PCS\] 
0519c2
-     3: 0000000000008000     0 IFUNC   GLOBAL DEFAULT    1 f_spec_global_default_ifunc 	\[VARIANT_PCS\] 
0519c2
-     4: 0000000000008000     0 NOTYPE  GLOBAL DEFAULT    1 f_base_global_default_def
0519c2
-     5: 0000000000008000     0 NOTYPE  GLOBAL DEFAULT    1 f_spec_global_default_def 	\[VARIANT_PCS\] 
0519c2
-     6: 0000000000008000     0 IFUNC   GLOBAL DEFAULT    1 f_base_global_default_ifunc
0519c2
+     0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND 
0519c2
+#...
0519c2
+     .: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND f_base_global_default_undef
0519c2
+     .: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND f_spec_global_default_undef 	\[VARIANT_PCS\] 
0519c2
+     .: 0000000000008000     0 IFUNC   GLOBAL DEFAULT    1 f_spec_global_default_ifunc 	\[VARIANT_PCS\] 
0519c2
+     .: 0000000000008000     0 NOTYPE  GLOBAL DEFAULT    1 f_base_global_default_def
0519c2
+     .: 0000000000008000     0 NOTYPE  GLOBAL DEFAULT    1 f_spec_global_default_def 	\[VARIANT_PCS\] 
0519c2
+     .: 0000000000008000     0 IFUNC   GLOBAL DEFAULT    1 f_base_global_default_ifunc
0519c2
 
0519c2
 Symbol table '\.symtab' contains 35 entries:
0519c2
    Num:    Value          Size Type    Bind   Vis      Ndx Name
0519c2
diff -rup binutils.orig/ld/testsuite/ld-aarch64/variant_pcs-now.d binutils-2.30/ld/testsuite/ld-aarch64/variant_pcs-now.d
0519c2
--- binutils.orig/ld/testsuite/ld-aarch64/variant_pcs-now.d	2020-04-06 17:27:02.890275588 +0100
0519c2
+++ binutils-2.30/ld/testsuite/ld-aarch64/variant_pcs-now.d	2020-04-06 17:33:51.136464165 +0100
0519c2
@@ -38,8 +38,8 @@ Symbol table '\.symtab' contains 35 entr
0519c2
      4: 0000000000009080     0 SECTION LOCAL  DEFAULT    4 
0519c2
      5: 0000000000011000     0 SECTION LOCAL  DEFAULT    5 
0519c2
      6: 0000000000011120     0 SECTION LOCAL  DEFAULT    6 
0519c2
-     7: 00000000000111c8     0 SECTION LOCAL  DEFAULT    7 
0519c2
-     8: 0000000000011270     0 SECTION LOCAL  DEFAULT    8 
0519c2
+     7: 00000000000111..     0 SECTION LOCAL  DEFAULT    7 
0519c2
+     8: 00000000000112..     0 SECTION LOCAL  DEFAULT    8 
0519c2
      9: 0000000000000000     0 FILE    LOCAL  DEFAULT  ABS .*variant_pcs-1\.o
0519c2
     10: 0000000000008000     0 NOTYPE  LOCAL  DEFAULT    1 f_spec_local 	\[VARIANT_PCS\] 
0519c2
     11: 0000000000008000     0 IFUNC   LOCAL  DEFAULT    1 f_spec_local_ifunc 	\[VARIANT_PCS\] 
0519c2
diff -rup binutils.orig/ld/testsuite/ld-aarch64/variant_pcs-shared.d binutils-2.30/ld/testsuite/ld-aarch64/variant_pcs-shared.d
0519c2
--- binutils.orig/ld/testsuite/ld-aarch64/variant_pcs-shared.d	2020-04-06 17:27:02.890275588 +0100
0519c2
+++ binutils-2.30/ld/testsuite/ld-aarch64/variant_pcs-shared.d	2020-04-06 17:33:56.512440347 +0100
0519c2
@@ -38,8 +38,8 @@ Symbol table '\.symtab' contains 35 entr
0519c2
      4: 0000000000009080     0 SECTION LOCAL  DEFAULT    4 
0519c2
      5: 0000000000011000     0 SECTION LOCAL  DEFAULT    5 
0519c2
      6: 0000000000011120     0 SECTION LOCAL  DEFAULT    6 
0519c2
-     7: 00000000000111c8     0 SECTION LOCAL  DEFAULT    7 
0519c2
-     8: 0000000000011270     0 SECTION LOCAL  DEFAULT    8 
0519c2
+     7: 00000000000111..     0 SECTION LOCAL  DEFAULT    7 
0519c2
+     8: 00000000000112..     0 SECTION LOCAL  DEFAULT    8 
0519c2
      9: 0000000000000000     0 FILE    LOCAL  DEFAULT  ABS .*variant_pcs-1\.o
0519c2
     10: 0000000000008000     0 NOTYPE  LOCAL  DEFAULT    1 f_spec_local 	\[VARIANT_PCS\] 
0519c2
     11: 0000000000008000     0 IFUNC   LOCAL  DEFAULT    1 f_spec_local_ifunc 	\[VARIANT_PCS\]