binutils-gdb/ld/testsuite/ld-arm/attr-merge-incompatible.d
Matthew Gretton-Dann 5488d830ec * ld/testsuite/ld-arm/arm-merge-incompatible.d: New test.
* ld/testsuite/ld-arm/arm-merge-incompatiblea.s: Likewise.
	* ld/testsuite/ld-arm/arm-merge-incompatibleb.s: Likewise.
	* ld/testsuite/ld-arm/arm-elf.exp: Run the new test.
	* bfd/elf32-arm.c (elf32_arm_merge_eabi_attributes): Add a check of the
	return value from the call to _bfd_elf_merge_object_attributes.
2010-03-02 11:40:24 +00:00

6 lines
171 B
Makefile

#source: attr-merge-incompatibleb.s
#source: attr-merge-incompatiblea.s
#as:
#ld:
#error: Object has vendor-specific contents that must be processed by the '.+' toolchain