binutils-gdb/ld/testsuite/ld-aarch64/ifunc-2-local.d
Alan Modra 8f5e83fb73 More support for ld --hash-style in the ld testsuite
These were discovered when running --hash-style=gnu as default, the
previous batch being --hash-style=both.

	* testsuite/ld-aarch64/ifunc-1-local.d: Run ld with --hash-style=sysv.
	* testsuite/ld-aarch64/ifunc-2-local.d: Likewise.
	* testsuite/ld-aarch64/ifunc-3a.d: Likewise.
	* testsuite/ld-frv/fdpic-pie-1.d: Likewise.
	* testsuite/ld-frv/fdpic-pie-2.d: Likewise.
	* testsuite/ld-frv/fdpic-pie-7.d: Likewise.
	* testsuite/ld-frv/fdpic-pie-8.d: Likewise.
	* testsuite/ld-arm/arm-elf.exp: Add --hash-style=sysv to "Using
	Thumb lib by another lib" test's ld options.
	* testsuite/ld-elf/note-3.l: Match .gnu.hash.
	* testsuite/ld-elf/note-3.t: Add .gnu.hash output section.
2017-08-08 07:22:36 +09:30

10 lines
250 B
Makefile

#ld: -shared --hash-style=sysv
#objdump: -dw
#target: aarch64*-*-*
#...
[ \t0-9a-f]+:[ \t0-9a-f]+bl[ \t0-9a-f]+<\*ABS\*\+(0x2a0|0x2f0)@plt>
[ \t0-9a-f]+:[ \t0-9a-f]+adrp[ \t]+x0, 0 <.*>
[ \t0-9a-f]+:[ \t0-9a-f]+add[ \t]+x0, x0, #(0x290|0x2e0)
#pass