Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-i386/pr19645.d
2023-03-06 14:48:14 +01:00

13 lines
463 B
Makefile

#as: --32 --elf-stt-common=yes
#ld: -shared -Bsymbolic-functions -melf_i386
#readelf: -r --wide --dyn-syms
Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 1 entry:
+Offset +Info +Type +Sym. Value +Symbol's Name
[0-9a-f]+ +[0-9a-f]+ +R_386_GLOB_DAT +[0-9a-f]+ +foobar
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