3 #ld
: -shared -Bsymbolic
-m elf_x86_64
4 #readelf
: -r
--wide
--dyn
-syms
6 Relocation section
'\.rela?\..*' at offset
0x
[0-9a
-f
]+ contains
[0-9]+ entries
:
8 [0-9a
-f
]+[ \t]+[0-9a
-f
]+[ \t]+R_
.*[ \t]+[0-9a
-f
]+[ \t]+func
.*
10 Symbol table
'\.dynsym' contains
[0-9]+ entries
:
11 +Num
: +Value
+Size Type
+Bind
+Vis
+Ndx Name
13 +[0-9]+: +[a
-f0
-9]+ +0 +NOTYPE
+WEAK
+DEFAULT
+UND
+func