1 #source
: relr
-discard
.s
2 #ld
: -shared --no
-apply
-dynamic
-relocs
-z pack
-relative
-relocs
-T relr
-discard
.ld
5 # Note
: There are unnecessary GOT entries
and *_NONE relocations
6 #
for those GOT entries
and discarded locations
, this is bug
31850.
8 Relocation section
'\.rela\.dyn' at offset
0x1.* contains
5 entries
:
9 Offset Info Type Symbol
's Value Symbol's Name \
+ Addend
10 0000000000000000 0000000000000000 R_AARCH64_NONE
0
11 0000000000000000 0000000000000000 R_AARCH64_NONE
0
12 0000000000000000 0000000000000000 R_AARCH64_NONE
0
13 0000000000000000 0000000000000000 R_AARCH64_NONE
0
14 0000000000020010 .* R_AARCH64_GLOB_DAT
000000000001000c sym_global \
+ 0
16 Relocation section
'\.relr\.dyn' at offset
0x1.* contains
1 entry which relocates
1 location
:
17 Index
: Entry Address Symbolic Address
18 0000: 0000000000020008 0000000000020008 _GLOBAL_OFFSET_TABLE_ \
+ 0x8