$NetBSD: patch-gcc_configure,v 1.2 2014/05/31 13:06:25 ryoon Exp $

Add dl_iterate_phdr detection for FreeBSD and DragonFly.
Detection for NetBSD and OpenBSD is added but commented out in case this
error handling mechanism is activated for these platforms later.

--- gcc/configure.orig	2014-04-28 10:05:29.000000000 +0000
+++ gcc/configure
@@ -26864,6 +26864,7 @@ else
 fi
 
         ;;
+  *-*-openbsd*) gcc_cv_libc_provides_ssp=yes ;;
   *) gcc_cv_libc_provides_ssp=no ;;
     esac
 fi
