binutils-gdb/ld/testsuite/ld-mips-elf/reloc-estimate-1.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

19 lines
491 B
Makefile

#name: MIPS reloc estimation 1
#source: reloc-estimate-1a.s
#source: reloc-estimate-1b.s
#ld: -shared -T reloc-estimate-1.ld
#objdump: -R -sj.foo
.*
DYNAMIC RELOCATION RECORDS
OFFSET +TYPE +VALUE
00000000 R_MIPS_NONE \*ABS\*
00010000 R_MIPS_REL32 foo@@V2
# The address must be 0x810. We should only ever allocate one dynamic
# reloc over and above the first R_MIPS_NONE entry.
Contents of section \.foo:
0810 (deadbeef|efbeadde) ....