diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-02-23 22:36:54 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-02-23 22:36:54 +0000 |
commit | 48ec607c1f8d1f1783850f1d2729fd23716b1b1b (patch) | |
tree | 34eaec34d3588e09f9a77abba776266f124dc823 /libobjc | |
parent | cb1ee43f1c87cc08bb7f930138fba0476879499a (diff) | |
parent | 8af2826bb0cd48d90dc04fc044a9ddbf978a5281 (diff) | |
download | gcc-48ec607c1f8d1f1783850f1d2729fd23716b1b1b.zip gcc-48ec607c1f8d1f1783850f1d2729fd23716b1b1b.tar.gz gcc-48ec607c1f8d1f1783850f1d2729fd23716b1b1b.tar.bz2 |
Merge from trunk revision 257954.
From-SVN: r257955
Diffstat (limited to 'libobjc')
-rw-r--r-- | libobjc/ChangeLog | 5 | ||||
-rwxr-xr-x | libobjc/configure | 21 |
2 files changed, 23 insertions, 3 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index 50d0769..b5422e3 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,8 @@ +2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com> + + PR target/84148 + * configure: Regenerate. + 2018-01-03 Jakub Jelinek <jakub@redhat.com> Update copyright years. diff --git a/libobjc/configure b/libobjc/configure index 3a2b2e3..ce52fab 100755 --- a/libobjc/configure +++ b/libobjc/configure @@ -3369,18 +3369,28 @@ else fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5 +$as_echo_n "checking for CET support... " >&6; } + case "$host" in i[34567]86-*-linux* | x86_64-*-linux*) case "$enable_cet" in default) - # Check if assembler supports CET. + # Check if target supports multi-byte NOPs + # and if assembler supports CET insn. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { + +#if !defined(__SSE2__) +#error target does not support multi-byte NOPs +#else asm ("setssbsy"); +#endif + ; return 0; } @@ -3420,6 +3430,11 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext esac if test x$enable_cet = xyes; then CET_FLAGS="-fcf-protection -mcet" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi XCFLAGS="$XCFLAGS $CET_FLAGS" @@ -10668,7 +10683,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10671 "configure" +#line 10686 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -10774,7 +10789,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10777 "configure" +#line 10792 "configure" #include "confdefs.h" #if HAVE_DLFCN_H |