Check avx2_available in check_avx2_available
[gcc.git] / libvtv / configure.tgt
index adcff5c50ce453c77e144f2abc583db58b2b6efa..5d421681f2c8d6cc871e0b6942c2c92977aa45df 100644 (file)
@@ -1,5 +1,5 @@
 # -*- shell-script -*-
-#   Copyright (C) 2013-2015 Free Software Foundation, Inc.
+#   Copyright (C) 2013-2019 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -23,6 +23,12 @@ VTV_SUPPORTED=no
 case "${target}" in
   *-*-*android*)
        ;;
+  *-*-solaris2.1[1-9]*)
+        # Vtable verification requires constructor priority support and
+        # dl_iterate_phdr.  The former requires a dynamic check in
+        # configure.ac, the latter is fully present in Solaris 11 only.
+       VTV_SUPPORTED=yes
+       ;;
   x86_64-*-linux* | i?86-*-linux*)
        VTV_SUPPORTED=yes
        ;;