FreeBSD libc now supports dl_iterate_phdr. Instead of hardcoding glibc tests, maybe it would be better to autotool a test for it instead?
-- Summary: [PATCH] FreeBSD libc now supports dl_iterate_phdr Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: uberlord at gentoo dot org GCC build triplet: i686-gentoo-freebsd6.2 GCC host triplet: i686-gentoo-freebsd6.2 GCC target triplet: i686-gentoo-freebsd6.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33417