2017-10-12 04:32:20 +08:00
|
|
|
#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
|
2017-10-12 16:52:33 +08:00
|
|
|
#warning: -z dynamic-undefined-weak ignored
|
2017-10-12 04:32:20 +08:00
|
|
|
|
|
|
|
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 ]+\.+
|