diff options
author | Terry Guo <terry.guo@arm.com> | 2015-01-26 10:14:04 +0000 |
---|---|---|
committer | Xuepeng Guo <xguo@gcc.gnu.org> | 2015-01-26 10:14:04 +0000 |
commit | 04385d25c2da83dcd197649af5d1b3836f4a4323 (patch) | |
tree | 6f3348248474aade301a786e48ce817c22292b47 /gcc | |
parent | 44d59462a3176960c5e48682658a13265f888ede (diff) | |
download | gcc-04385d25c2da83dcd197649af5d1b3836f4a4323.zip gcc-04385d25c2da83dcd197649af5d1b3836f4a4323.tar.gz gcc-04385d25c2da83dcd197649af5d1b3836f4a4323.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/arm/arm.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6aace03..fc2d12f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 0f255e3..c9701b7 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -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); } |