binutils-gdb/ld/testsuite/ld-i386/property-x86-4a.d
H.J. Lu 4bb3c591b2 ld: Pass -z separate-code to ld for property-x86-4a tests
Pass -z separate-code to ld for property-x86-4a tests to generate
the expected .note.gnu.property section.  Also run i386 tests for
x86_64-*-elf* targets.

	* testsuite/ld-i386/i386.exp: Also run for x86_64-*-elf* targets.
	* testsuite/ld-i386/property-x86-4a.d: Pass -z separate-code to
	ld.
	* testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise.
	* testsuite/ld-x86-64/property-x86-4a.d: Likewise.
2018-08-31 05:11:03 -07:00

14 lines
418 B
Makefile

#source: property-x86-4a.s
#source: property-x86-4b.s
#as: --32 -mx86-used-note=yes
#ld: -m elf_i386 --gc-sections --entry=main -z separate-code
#readelf: -n
Displaying notes found in: .note.gnu.property
Owner Data size Description
GNU 0x0000002c NT_GNU_PROPERTY_TYPE_0
Properties: no copy on protected
x86 feature needed: x86
x86 ISA used: <None>
x86 feature used: x86