binutils-gdb/ld/testsuite/ld-x86-64/pr19636-2k.d

21 lines
575 B
D
Raw Normal View History

#source: pr19636-2.s
#as: --64 -mrelax-relocations=no
#ld: -pie -E -m elf_x86_64 --no-dynamic-linker -z dynamic-undefined-weak
#readelf : -r --wide -x .got -x .got.plt --dyn-syms
There are no relocations in this file.
Symbol table '\.dynsym' contains [0-9]+ entries:
+Num: +Value +Size Type +Bind +Vis +Ndx Name
+0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND +
#...
+[0-9]+: +[a-f0-9]+ +0 +NOTYPE +GLOBAL +DEFAULT +[0-9]+ +_start
#...
Hex dump of section '.got':
0x[0-9a-f]+ [0 ]+\.+
Hex dump of section '.got.plt':
0x[0-9a-f]+ +[0-9a-f]+ +[0 ]+ .+
0x[0-9a-f]+ [0 ]+\.+