From: Terry Guo Date: Mon, 26 Jan 2015 10:14:04 +0000 (+0000) Subject: arm.c (arm_file_start): Update the assignment of Tag_ABI_HardFP_use. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=04385d25c2da83dcd197649af5d1b3836f4a4323;p=gcc.git arm.c (arm_file_start): Update the assignment of Tag_ABI_HardFP_use. 2015-01-26 Terry Guo * config/arm/arm.c (arm_file_start): Update the assignment of Tag_ABI_HardFP_use. From-SVN: r220106 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6aace0376b7..fc2d12f04ba 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-01-26 Terry Guo + + * config/arm/arm.c (arm_file_start): Update the assignment of + Tag_ABI_HardFP_use. + 2014-01-25 James Greenhalgh * 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 0f255e37fdf..c9701b7a435 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); }