binutils-gdb/ld/testsuite/ld-size/size64-1-x86-64.d

24 lines
785 B
D

#source: size64-1.s
#as: --64
#ld: -shared -melf_x86_64
#objdump: -R -s -j .data
#target: x86_64-*-*
.*: +file format .*
DYNAMIC RELOCATION RECORDS
OFFSET TYPE VALUE
[[:xdigit:]]+ R_X86_64_SIZE64 xxx
[[:xdigit:]]+ R_X86_64_SIZE64 xxx-0x000000000000001e
[[:xdigit:]]+ R_X86_64_SIZE64 xxx\+0x000000000000001e
[[:xdigit:]]+ R_X86_64_SIZE64 yyy
[[:xdigit:]]+ R_X86_64_SIZE64 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 ................