]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-x86-64/pr19645.d
Properly implement STT_COMMON
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-x86-64 / pr19645.d
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