1 #as: --64 --elf-stt-common=yes 2 #ld: -shared -Bsymbolic-functions -melf_x86_64 3 #readelf: -r --wide --dyn-syms 4 5 Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 1 entries: 6 +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend 7 [0-9a-f]+ +[0-9a-f]+ +R_X86_64_GLOB_DAT +[0-9a-f]+ +foobar \+ 0 8 9 Symbol table '.dynsym' contains [0-9]+ entries: 10 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name 11 #... 12 +[0-9]+: +[0-9a-f]+ +30 +OBJECT +GLOBAL +DEFAULT +[0-9]+ foobar 13 #pass 14