arm.c (arm_file_start): Update the assignment of Tag_ABI_HardFP_use.

2015-01-26  Terry Guo  <terry.guo@arm.com>

	* config/arm/arm.c (arm_file_start): Update the assignment of
	Tag_ABI_HardFP_use.

From-SVN: r220106
This commit is contained in:
Terry Guo 2015-01-26 10:14:04 +00:00 committed by Xuepeng Guo
parent 44d59462a3
commit 04385d25c2
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2015-01-26 Terry Guo <terry.guo@arm.com>
* config/arm/arm.c (arm_file_start): Update the assignment of
Tag_ABI_HardFP_use.
2014-01-25 James Greenhalgh <james.greenhalgh@arm.com>
* config/arm/arm-cores.def (cortex-a57): Use the new Cortex-A57

View File

@ -25695,8 +25695,9 @@ arm_file_start (void)
fpu_name = arm_fpu_desc->name;
if (arm_fpu_desc->model == ARM_FP_MODEL_VFP)
{
if (TARGET_HARD_FLOAT)
arm_emit_eabi_attribute ("Tag_ABI_HardFP_use", 27, 3);
if (TARGET_HARD_FLOAT && TARGET_VFP_SINGLE)
arm_emit_eabi_attribute ("Tag_ABI_HardFP_use", 27, 1);
if (TARGET_HARD_FLOAT_ABI)
arm_emit_eabi_attribute ("Tag_ABI_VFP_args", 28, 1);
}