binutils-gdb/ld/testsuite/ld-x86-64/ilp32-5.d

9 lines
228 B
Makefile

#as: --x32
#ld: -m elf32_x86_64 -shared
#readelf: -r --wide
#...
[0-9a-f]+ +[0-9a-f]+ +R_X86_64_RELATIVE +[0-9a-f]+
[0-9a-f]+ +[0-9a-f]+ +R_X86_64_PC32 +[0-9a-f]+ +foo - 4
[0-9a-f]+ +[0-9a-f]+ +R_X86_64_32 +[0-9a-f]+ +foo \+ 0