[PATCH 2/2] S/390: Implement "target" attribute.
authorDominik Vogt <vogt@linux.vnet.ibm.com>
Fri, 4 Dec 2015 14:33:01 +0000 (14:33 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Fri, 4 Dec 2015 14:33:01 +0000 (14:33 +0000)
commit7763d9729422ddc5dda9a3fe71a024c4ca7e0435
tree7654d0a26e192edcaabf33543737706b1692596d
parentec47b0863aca86b7edd03ec9906d14556317d585
[PATCH 2/2] S/390: Implement "target" attribute.

gcc/ChangeLog

* config/s390/s390.c (s390_asm_file_start): Implement hook function to
emit .machine and .machinemode to the top of the assembler file.
(TARGET_ASM_FILE_START): Provide target hook.
(s390_asm_output_machine_for_arch): Protect with
HAVE_AS_MACHINE_MACHINEMODE instead of S390_USE_TARGET_ATTRIBUTE.

gcc/testsuite/ChangeLog

* gcc.target/s390/asm-machine-1.c: Updated.
* gcc.target/s390/asm-machine-2.c: Updated.
* gcc.target/s390/asm-machine-3.c: Updated.
* gcc.target/s390/asm-machine-4.c: Updated.

From-SVN: r231272
gcc/ChangeLog
gcc/config/s390/s390.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/s390/asm-machine-1.c
gcc/testsuite/gcc.target/s390/asm-machine-2.c
gcc/testsuite/gcc.target/s390/asm-machine-3.c
gcc/testsuite/gcc.target/s390/asm-machine-4.c