This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch, ARM]Update the usages of Tag_ABI_HardFP_use per the latest EABI

Hi there,

According to the latest EABI at
da.pdf, the new definition to Tag_ABI_HardFP_use is as below:

Tag_ABI_HardFP_use, (=27), uleb128
0 The user intended that FP use should be implied by Tag_FP_arch
1 The user intended this code to execute on the single-precision variant
 derived from Tag_FP_arch
2 Reserved
3 The user intended that FP use should be implied by Tag_FP_arch
 (Note: This is a deprecated duplicate of the default encoded by 0)
This patch intends to update Binutils to follow above definition. A big
difference is there will be no "Tag_ABI_HardFP_use: SP and DP" when
"arm-none-eabi-readelf -A a.axf"

Tested with Binutils regression test. No regression. Is it OK?


2015-01-28  Terry Guo  <>

	* bfd/elf32-arm.c (elf32_arm_merge_eabi_attributes): Update how we
merge Tag_ABI_HardFP_use.

2015-01-28  Terry Guo  <>

	* binutils/readelf.c (arm_attr_tag_ABI_HardFP_use): Update how we
display it.

2015-01-28  Terry Guo  <>

	* ld/testsuite/ld-arm/attr-merge-3.attr: Remove Tag_ABI_HardFP_use.
	* ld/testsuite/ld-arm/attr-merge-vfp-10.d: Likewise.
	* ld/testsuite/ld-arm/attr-merge-vfp-10r.d: Likewise.
	* ld/testsuite/ld-arm/attr-merge-vfp-12.d: Likewise.
	* ld/testsuite/ld-arm/attr-merge-vfp-12r.d: Likewise.
	* ld/testsuite/ld-arm/attr-merge-vfp-13.d: Likewise.
	* ld/testsuite/ld-arm/attr-merge-vfp-13r.d: Likewise.
	* ld/testsuite/ld-arm/attr-merge-vfp-14.d: Likewise.
	* ld/testsuite/ld-arm/attr-merge-vfp-14r.d: Likewise.
	* ld/testsuite/ld-arm/attr-merge-vfp-6.d: Likewise.
	* ld/testsuite/ld-arm/attr-merge-vfp-6r.d: Likewise.
	* ld/testsuite/ld-arm/attr-merge-vfp-7.d: Likewise.
	* ld/testsuite/ld-arm/attr-merge-vfp-7r.d: Likewise.
	* ld/testsuite/ld-arm/attr-merge-vfp-8.d: Likewise.
	* ld/testsuite/ld-arm/attr-merge-vfp-8r.d: Likewise.

Attachment: update-Tag_ABI_HardFP_use-v2.txt
Description: Text document

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]