binutils-gdb/ld/testsuite/ld-arc/attr-merge-6b.s
claziss 2fd43d7870 [ARC] Update merging attributes.
Some attributes were ignored during merging. Fix that, and add some
errors.

bfd/
2017-09-19  Claudiu Zissulescu <claziss@synopsys.com>

	* elf32-arc.c (arc_elf_merge_attributes): Fix merge attributes.

ld/
2017-09-19  Claudiu Zissulescu <claziss@synopsys.com>

	* testsuite/ld-arc/attr-merge-6.d: New file.
	* testsuite/ld-arc/attr-merge-6a.s: Likewise.
	* testsuite/ld-arc/attr-merge-6b.s: Likewise.
	* testsuite/ld-arc/attr-merge-6bis.d: Likewise.
2018-08-06 16:41:32 +03:00

9 lines
282 B
ArmAsm

#GCC like attribute structure
.cpu EM
.arc_attribute Tag_ARC_PCS_config, 2
.arc_attribute Tag_ARC_CPU_variation, 2
.arc_attribute Tag_ARC_CPU_name, "arcem"
.arc_attribute Tag_ARC_ABI_osver, 4
.arc_attribute Tag_ARC_ISA_config, "CD"
.arc_attribute Tag_ARC_ATR_version, 1