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

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