arm, aarch64: Add support for __GCC_ASM_FLAG_OUTPUTS__
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 14 Nov 2019 13:44:34 +0000 (13:44 +0000)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 14 Nov 2019 13:44:34 +0000 (05:44 -0800)
commit1a7a35c70b5375e5067194d7430e49007f04e243
tree334934499375400e71c8d32fb105b5d874874c6c
parent54138d95c6b234ec5857782deca4a0a24ea3dcfc
arm, aarch64: Add support for __GCC_ASM_FLAG_OUTPUTS__

Since all but a couple of lines is shared between the two targets,
enable them both at once.

* config/arm/aarch-common-protos.h (arm_md_asm_adjust): Declare.
* config/arm/aarch-common.c (arm_md_asm_adjust): New.
* config/arm/arm-c.c (arm_cpu_builtins): Define
__GCC_ASM_FLAG_OUTPUTS__.
* config/arm/arm.c (TARGET_MD_ASM_ADJUST): New.
* config/aarch64/aarch64-c.c (aarch64_define_unconditional_macros):
Define __GCC_ASM_FLAG_OUTPUTS__.
* config/aarch64/aarch64.c (TARGET_MD_ASM_ADJUST): New.
* doc/extend.texi (FlagOutputOperands): Add documentation
for ARM and AArch64.

From-SVN: r278226
gcc/ChangeLog
gcc/config/aarch64/aarch64-c.c
gcc/config/aarch64/aarch64.c
gcc/config/arm/aarch-common-protos.h
gcc/config/arm/aarch-common.c
gcc/config/arm/arm-c.c
gcc/config/arm/arm.c
gcc/doc/extend.texi