Retro68/binutils/ld/testsuite/ld-size/size32-1-x32.d
Wolfgang Thaller f485e125c4 binutils 2.39
2022-10-27 20:45:45 +02:00

23 lines
681 B
D

#source: size32-1.s
#as: --x32
#ld: -shared -melf32_x86_64
#objdump: -R -s -j .data
#target: x86_64-*-*
.*: +file format .*
DYNAMIC RELOCATION RECORDS
OFFSET +TYPE +VALUE
[[:xdigit:]]+ R_X86_64_SIZE32 xxx
[[:xdigit:]]+ R_X86_64_SIZE32 xxx-0x0000001e
[[:xdigit:]]+ R_X86_64_SIZE32 xxx\+0x0000001e
[[:xdigit:]]+ R_X86_64_SIZE32 yyy
[[:xdigit:]]+ R_X86_64_SIZE32 zzz
Contents of section .data:
[[:xdigit:]]+ 00000000 00000000 00000000 00000000 ................
[[:xdigit:]]+ 00000000 00000000 00000000 00000000 ................
[[:xdigit:]]+ 00000000 00000000 00000000 00000000 ................
[[:xdigit:]]+ 00000000 00000000 00000000 ............