diff options
author | krebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-06-24 06:36:46 +0000 |
---|---|---|
committer | krebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-06-24 06:36:46 +0000 |
commit | 6b7cfb9c850f777a90c9a85a1ffc304658410d29 (patch) | |
tree | 1dc0d37c5782af35011ad84bf3a3235d9aeea5e7 /gcc/configure.ac | |
parent | 431da5f0e26e328c59411469cb90f428a76f4292 (diff) | |
download | gcc-6b7cfb9c850f777a90c9a85a1ffc304658410d29.tar.gz |
S/390 Vector ABI GNU Attribute.
gcc/
* config/s390/s390.c (s390_vector_abi): New variable definition.
(s390_check_type_for_vector_abi): New function.
(TARGET_ASM_FILE_END): New macro definition.
(s390_asm_file_end): New function.
(s390_function_arg): Call s390_check_type_for_vector_abi.
(s390_gimplify_va_arg): Likewise.
* configure: Regenerate.
* configure.ac: Check for .gnu_attribute Binutils feature.
gcc/testsuite/
* gcc.target/s390/vector/vec-abi-1.c: Add gnu attribute check.
* gcc.target/s390/vector/vec-abi-attr-1.c: New test.
* gcc.target/s390/vector/vec-abi-attr-2.c: New test.
* gcc.target/s390/vector/vec-abi-attr-3.c: New test.
* gcc.target/s390/vector/vec-abi-attr-4.c: New test.
* gcc.target/s390/vector/vec-abi-attr-5.c: New test.
* gcc.target/s390/vector/vec-abi-attr-6.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224867 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r-- | gcc/configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac index c09f3ae5454..85f72d50dbf 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -4442,6 +4442,13 @@ pointers into PC-relative form.]) [Requesting --with-nan= requires assembler support for -mnan=]) fi ;; + s390*-*-*) + gcc_GAS_CHECK_FEATURE([.gnu_attribute support], + gcc_cv_as_s390_gnu_attribute, [2,18,0],, + [.gnu_attribute 8,1],, + [AC_DEFINE(HAVE_AS_GNU_ATTRIBUTE, 1, + [Define if your assembler supports .gnu_attribute.])]) + ;; esac # Mips and HP-UX need the GNU assembler. |