binutils-gdb/ld/testsuite/ld-i386/pr19636-3e.d

15 lines
415 B
Makefile

#source: pr19636-3.s
#as: --32
#ld: -shared -Bsymbolic -m elf_i386
#readelf : -r --wide --dyn-syms
Relocation section '\.rela?\..*' at offset 0x[0-9a-f]+ contains [0-9]+ entries:
#...
[0-9a-f]+[ \t]+[0-9a-f]+[ \t]+R_.*[ \t]+[0-9a-f]+[ \t]+func.*
#...
Symbol table '\.dynsym' contains [0-9]+ entries:
+Num: +Value +Size Type +Bind +Vis +Ndx Name
#...
+[0-9]+: +[a-f0-9]+ +0 +NOTYPE +WEAK +DEFAULT +UND +func
#...