1 #source: variant_pcs-1.s 2 #source: variant_pcs-2.s 3 #target: [check_shared_lib_support] 4 #ld: -shared --hash-style=sysv -T variant_pcs.ld -z now 5 #readelf: -rsW 6 7 Relocation section '\.rela\.plt' at offset 0x11000 contains 12 entries: 8 Offset Info Type Symbol's Value Symbol's Name \+ Addend 9 0000000000009020 0000000100000402 R_AARCH64_JUMP_SLOT 0000000000000000 f_base_global_default_undef \+ 0 10 0000000000009028 0000000200000402 R_AARCH64_JUMP_SLOT 0000000000000000 f_spec_global_default_undef \+ 0 11 0000000000009030 0000000400000402 R_AARCH64_JUMP_SLOT 0000000000008000 f_base_global_default_def \+ 0 12 0000000000009038 0000000500000402 R_AARCH64_JUMP_SLOT 0000000000008000 f_spec_global_default_def \+ 0 13 0000000000009040 0000000000000408 R_AARCH64_IRELATIVE 8000 14 0000000000009048 0000000300000402 R_AARCH64_JUMP_SLOT f_spec_global_default_ifunc\(\) f_spec_global_default_ifunc \+ 0 15 0000000000009050 0000000000000408 R_AARCH64_IRELATIVE 8000 16 0000000000009058 0000000600000402 R_AARCH64_JUMP_SLOT f_base_global_default_ifunc\(\) f_base_global_default_ifunc \+ 0 17 0000000000009060 0000000000000408 R_AARCH64_IRELATIVE 8038 18 0000000000009068 0000000000000408 R_AARCH64_IRELATIVE 8000 19 0000000000009070 0000000000000408 R_AARCH64_IRELATIVE 8000 20 0000000000009078 0000000000000408 R_AARCH64_IRELATIVE 8038 21 22 Symbol table '\.dynsym' contains 7 entries: 23 Num: Value Size Type Bind Vis Ndx Name 24 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND 25 1: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND f_base_global_default_undef 26 2: 0000000000000000 0 NOTYPE GLOBAL DEFAULT \[VARIANT_PCS\] UND f_spec_global_default_undef 27 3: 0000000000008000 0 IFUNC GLOBAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_default_ifunc 28 4: 0000000000008000 0 NOTYPE GLOBAL DEFAULT 1 f_base_global_default_def 29 5: 0000000000008000 0 NOTYPE GLOBAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_default_def 30 6: 0000000000008000 0 IFUNC GLOBAL DEFAULT 1 f_base_global_default_ifunc 31 32 Symbol table '\.symtab' contains 35 entries: 33 Num: Value Size Type Bind Vis Ndx Name 34 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND 35 1: 0000000000008000 0 SECTION LOCAL DEFAULT 1.* 36 2: 0000000000008070 0 SECTION LOCAL DEFAULT 2.* 37 3: 0000000000009000 0 SECTION LOCAL DEFAULT 3.* 38 4: 0000000000009080 0 SECTION LOCAL DEFAULT 4.* 39 5: 0000000000011000 0 SECTION LOCAL DEFAULT 5.* 40 6: 0000000000011120 0 SECTION LOCAL DEFAULT 6.* 41 7: 00000000000111c8 0 SECTION LOCAL DEFAULT 7.* 42 8: 0000000000011270 0 SECTION LOCAL DEFAULT 8.* 43 9: 0000000000000000 0 FILE LOCAL DEFAULT ABS .*variant_pcs-1\.o 44 10: 0000000000008000 0 NOTYPE LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local 45 11: 0000000000008000 0 IFUNC LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local_ifunc 46 12: 0000000000008000 0 IFUNC LOCAL DEFAULT 1 f_base_local_ifunc 47 13: 0000000000008000 0 NOTYPE LOCAL DEFAULT 1 f_base_local 48 14: 0000000000008000 0 NOTYPE LOCAL DEFAULT 1 \$x 49 15: 0000000000000000 0 FILE LOCAL DEFAULT ABS .*variant_pcs-2\.o 50 16: 0000000000008038 0 NOTYPE LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local2 51 17: 0000000000008038 0 IFUNC LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local2_ifunc 52 18: 0000000000008038 0 IFUNC LOCAL DEFAULT 1 f_base_local2_ifunc 53 19: 0000000000008038 0 NOTYPE LOCAL DEFAULT 1 f_base_local2 54 20: 0000000000008038 0 NOTYPE LOCAL DEFAULT 1 \$x 55 21: 0000000000000000 0 FILE LOCAL DEFAULT ABS 56 22: 0000000000009080 0 OBJECT LOCAL DEFAULT ABS _DYNAMIC 57 23: 0000000000008000 0 NOTYPE LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_hidden_def 58 24: 0000000000008000 0 IFUNC LOCAL DEFAULT 1 f_base_global_hidden_ifunc 59 25: 0000000000008000 0 NOTYPE LOCAL DEFAULT 1 f_base_global_hidden_def 60 26: 0000000000009000 0 OBJECT LOCAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_ 61 27: 0000000000008000 0 IFUNC LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_hidden_ifunc 62 28: 0000000000008070 0 NOTYPE LOCAL DEFAULT 2 \$x 63 29: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND f_base_global_default_undef 64 30: 0000000000000000 0 NOTYPE GLOBAL DEFAULT \[VARIANT_PCS\] UND f_spec_global_default_undef 65 31: 0000000000008000 0 IFUNC GLOBAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_default_ifunc 66 32: 0000000000008000 0 NOTYPE GLOBAL DEFAULT 1 f_base_global_default_def 67 33: 0000000000008000 0 NOTYPE GLOBAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_default_def 68 34: 0000000000008000 0 IFUNC GLOBAL DEFAULT 1 f_base_global_default_ifunc 69