From 04385d25c2da83dcd197649af5d1b3836f4a4323 Mon Sep 17 00:00:00 2001 From: Terry Guo Date: Mon, 26 Jan 2015 10:14:04 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/arm/arm.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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); } -- 2.30.2