From ba86b375f001b2f270b0d0a08197940e6b194b2e Mon Sep 17 00:00:00 2001 From: Will Newton Date: Fri, 15 Mar 2013 15:53:39 +0000 Subject: [PATCH] gas/ChangeLog: 2013-03-12 Will Newton * config/tc-arm.c (do_neon_ldr_str): Fix error check for PC register in vstr in Thumb mode for pre-ARMv7 cores. gas/testsuite/ChangeLog: 2013-03-12 Will Newton * gas/arm/vstr-thumb-bad.d: Assemble with -mcpu=arm1156t2f-s. --- gas/ChangeLog | 5 +++++ gas/config/tc-arm.c | 2 +- gas/testsuite/ChangeLog | 4 ++++ gas/testsuite/gas/arm/vstr-thumb-bad.d | 2 +- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index de4de625ec5..cc6d28363c0 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2013-03-15 Will Newton + + * config/tc-arm.c (do_neon_ldr_str): Fix error check for PC register + in vstr in Thumb mode for pre-ARMv7 cores. + 2013-03-14 Andreas Schwab * doc/c-arc.texi (ARC Directives): Revert last change and use diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 27d236161b5..ee09e1472b8 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -15690,7 +15690,7 @@ do_neon_ldr_str (void) And is UNPREDICTABLE in thumb mode. */ if (!is_ldr && inst.operands[1].reg == REG_PC - && ARM_CPU_HAS_FEATURE (selected_cpu, arm_ext_v7)) + && (ARM_CPU_HAS_FEATURE (selected_cpu, arm_ext_v7) || thumb_mode)) { if (!thumb_mode && warn_on_deprecated) as_warn (_("Use of PC here is deprecated")); diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index cba8216390b..1817e5d115e 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2013-03-15 Will Newton + + * gas/arm/vstr-thumb-bad.d: Assemble with -mcpu=arm1156t2f-s. + 2013-03-12 Sebastian Huber * gas/nios2/nios2.exp: Use run_dump_tests. diff --git a/gas/testsuite/gas/arm/vstr-thumb-bad.d b/gas/testsuite/gas/arm/vstr-thumb-bad.d index 798f16d5bf0..354689f49a5 100644 --- a/gas/testsuite/gas/arm/vstr-thumb-bad.d +++ b/gas/testsuite/gas/arm/vstr-thumb-bad.d @@ -1,4 +1,4 @@ # name: VFP PC-relative VSTR thumb mode -# as: -mfpu=vfp3 -mthumb -mcpu=cortex-a8 +# as: -mfpu=vfp -mthumb -mcpu=arm1156t2f-s # source: vstr-bad.s # error-output: vstr-thumb-bad.l -- 2.30.2