binutils-gdb/ld/testsuite/ld-size/size32-2-x86-64.d
Alan Modra 99f647e200 Trailing spaces in objdump -r header
git commit 202be274a4 went a little wild in removing trailing spaces
in gas/testsuite/gas/i386/{secidx.d,secrel.d}, causing
x86_64-w64-mingw32  +FAIL: i386 secrel reloc
x86_64-w64-mingw32  +FAIL: i386 secidx reloc

I could have just replaced the trailing space, but let's fix the
objdump output instead.  Touches lots of testsuite files.
2022-05-31 11:25:09 +09:30

21 lines
556 B
D

#source: size32-2.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_SIZE32 xxx
[[:xdigit:]]+ R_X86_64_SIZE32 yyy
[[:xdigit:]]+ R_X86_64_SIZE32 zzz
[[:xdigit:]]+ R_X86_64_SIZE32 zzz-0x000000000000001e
[[:xdigit:]]+ R_X86_64_SIZE32 zzz\+0x000000000000001e
Contents of section .data:
[[:xdigit:]]+ 00000000 00000000 00000000 00000000 ................
[[:xdigit:]]+ 00000000 ....