[PATCH] gas/arm: Misses deprecated IT instruction warning for ARMv8

Jiong Wang jiong.wang@arm.com
Thu Jun 5 15:46:00 GMT 2014


given code:

.thumb .syntax unified

it eq
addeq sp, sp, #12

assembled with -march=armv8-a -mthumb, gas fails to warn
that this is a deprecated form.

this patch add this into the deprecated pattern list for armv8.

OK for trunk?

thanks.

gas/
   * config/tc-arm.c (depr_it_insns): New check for inc/dec sp.

gas/testsuite/
   * gas/arm/armv8-a-it-bad.s: Likewise.
   * gas/arm/armv8-a-it-bad.l: Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inc-sp.patch
Type: text/x-patch
Size: 1931 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20140605/14e13f6a/attachment.bin>


More information about the Binutils mailing list