Retro68/binutils/ld/testsuite/ld-size/size64-1-x32.d

24 lines
764 B
D

#source: size64-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_SIZE64 xxx-0x0000001e
[[:xdigit:]]+ R_X86_64_SIZE64 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 00000000 ................
[[:xdigit:]]+ 00000000 00000000 00000000 00000000 ................