The diff adds support for dl_iterate_phdr from FreeBSD 7.0 libc, and also uses --as-needed when linking to libgcc_s. The main spec source is the FreeBSD spec from their cvs. The extras for dl_iterate_phdr adapted (they set -D__GLIBC__=3 on the cmdline/Makefile) on the code/config. This is only for i[3456]86 tho. Don't have the hardware to complete/test the x64/sparc64 (missing) parts.
-- Summary: Updated spec for freebsd7.0 Product: gcc Version: 4.3.1 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: the_paya at gentoo dot org GCC build triplet: i686-gentoo-freebsd7.0 GCC host triplet: i686-gentoo-freebsd7.0 GCC target triplet: i686-gentoo-freebsd7.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37246