arm.c (arm_file_start): Update the assignment of Tag_ABI_HardFP_use.
authorTerry Guo <terry.guo@arm.com>
Mon, 26 Jan 2015 10:14:04 +0000 (10:14 +0000)
committerXuepeng Guo <xguo@gcc.gnu.org>
Mon, 26 Jan 2015 10:14:04 +0000 (10:14 +0000)
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

gcc/ChangeLog
gcc/config/arm/arm.c

index 6aace0376b7629f769dbeeee413efff8044ae716..fc2d12f04baf07d17a91537d8b703eddee1ac1f6 100644 (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
index 0f255e37fdf81ca888f07138f356811ab51f3111..c9701b7a435229b44714775a0fa754c4cd034ba3 100644 (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);
            }