diff options
Diffstat (limited to 'ld/testsuite/ld-x86-64/pr19645.d')
-rw-r--r-- | ld/testsuite/ld-x86-64/pr19645.d | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/pr19645.d b/ld/testsuite/ld-x86-64/pr19645.d new file mode 100644 index 0000000..9445fda --- /dev/null +++ b/ld/testsuite/ld-x86-64/pr19645.d @@ -0,0 +1,13 @@ +#as: --64 --elf-stt-common=yes +#ld: -shared -Bsymbolic-functions -melf_x86_64 +#readelf: -r --wide --dyn-syms + +Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 1 entries: + +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend +[0-9a-f]+ +[0-9a-f]+ +R_X86_64_GLOB_DAT +[0-9a-f]+ +foobar \+ 0 + +Symbol table '.dynsym' contains [0-9]+ entries: + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +#... + +[0-9]+: +[0-9a-f]+ +30 +OBJECT +GLOBAL +DEFAULT +[0-9]+ foobar +#pass |