[Patch][gas][arm] Set context table for '.arch_extension'
Vladimir Murzin
vladimir.murzin@arm.com
Wed Nov 27 17:53:00 GMT 2019
This patch fixes .arch_extension behaviour.
Currently, context table for '.arch_extension' is only set while
"-march" processing, but it is not set while .arch processing,
so following code is rejected
.syntax unified
.thumb
.arch armv8.1-m.main
.arch_extension mve.fp
unless -march=armv8.1-m.main is given.
gas/ChangeLog:
2019-11-27 Vladimir Murzin <vladimir.murzin@arm.com>
* config/tc-arm.c (s_arm_arch): Set selected_ctx_ext_table.
* gas/testsuite/gas/arm/mve-arch-ext.s: New.
* gas/testsuite/gas/arm/mve-arch-ext.d: New.
Build and regression tests all pass on arm-none-elf and arm-wince-pe
Ok for trunk?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gas-arm-Set-context-table-for-.arch_extension.patch
Type: text/x-patch
Size: 2232 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20191127/8f9ef0d2/attachment.bin>
More information about the Binutils
mailing list