On Tue, Oct 21, 2014 at 10:18 AM, Terry Guo <terry....@arm.com> wrote: > Hi There, > > This is the first patch to enable GCC generate UAL assembly code for Thumb1 > target. This new option enables user to specify which syntax is used in > their inline assembly code. If the inline assembly code uses UAL format, > then gcc does nothing because gcc generates UAL code as well. If the inline > assembly code uses non-UAL, then gcc will insert some directives in final > assembly code. Is it ok to trunk? > > BR, > Terry > > 2014-10-21 Terry Guo <terry....@arm.com> > > * config/arm/arm.h (TARGET_UNIFIED_ASM): Also include thumb1. > (ASM_APP_ON): Redefined. > * config/arm/arm.c (arm_option_override): Thumb2 always uses UAL > for inline assembly code. > * config/arm/arm.opt (masm-syntax-unified): New option. > * doc/invoke.texi (-masm-syntax-unified): Document new option.
Minor tweaks to documentation are required about ARM state, you should also state that currently we default to divided syntax in ARM state too. Otherwise I'm ok with this. This deserves a news article entry - so please consider writing something up for wwwdocs. Ramana