gas/ChangeLog:

2013-03-12  Will Newton  <will.newton@linaro.org>

	* 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  <will.newton@linaro.org>

	* gas/arm/vstr-thumb-bad.d: Assemble with -mcpu=arm1156t2f-s.
This commit is contained in:
Will Newton 2013-03-15 15:53:39 +00:00
parent b3ccdeb53f
commit ba86b375f0
4 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2013-03-15 Will Newton <will.newton@linaro.org>
* 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 <schwab@suse.de>
* doc/c-arc.texi (ARC Directives): Revert last change and use

View File

@ -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"));

View File

@ -1,3 +1,7 @@
2013-03-15 Will Newton <will.newton@linaro.org>
* gas/arm/vstr-thumb-bad.d: Assemble with -mcpu=arm1156t2f-s.
2013-03-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
* gas/nios2/nios2.exp: Use run_dump_tests.

View File

@ -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