diff options
Diffstat (limited to 'contrib/gcc/config/i386/freebsd.h')
-rw-r--r-- | contrib/gcc/config/i386/freebsd.h | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/contrib/gcc/config/i386/freebsd.h b/contrib/gcc/config/i386/freebsd.h index b6ec571..be9729c 100644 --- a/contrib/gcc/config/i386/freebsd.h +++ b/contrib/gcc/config/i386/freebsd.h @@ -58,30 +58,16 @@ Boston, MA 02111-1307, USA. */ %{static:-Bstatic}} \ %{symbolic:-Bsymbolic}" -/* Provide a STARTFILE_SPEC appropriate for FreeBSD. Here we add the magical - crtbegin.o file (see crtstuff.c) which provides part of the support for - getting C++ file-scope static object constructed before entering `main'. */ +/* Reset our STARTFILE_SPEC which was properly set in config/freebsd.h + but trashed by config/<cpu>/<file.h>. */ #undef STARTFILE_SPEC -#define STARTFILE_SPEC "\ - %{!shared: \ - %{pg:gcrt1.o%s} \ - %{!pg: \ - %{p:gcrt1.o%s} \ - %{!p:crt1.o%s}}} \ - crti.o%s \ - %{!shared:crtbegin.o%s} \ - %{shared:crtbeginS.o%s}" - -/* Provide an ENDFILE_SPEC appropriate for FreeBSD/i386. Here we tack on our - own magical crtend.o file (see crtstuff.c) which provides part of the - support for getting C++ file-scope static object constructed before - entering `main', followed by the normal "finalizer" file, `crtn.o'. */ +#define STARTFILE_SPEC FBSD_STARTFILE_SPEC + +/* Provide an ENDFILE_SPEC appropriate for FreeBSD/i386. */ #undef ENDFILE_SPEC -#define ENDFILE_SPEC "\ - %{!shared:crtend.o%s} \ - %{shared:crtendS.o%s} crtn.o%s" +#define ENDFILE_SPEC FBSD_ENDFILE_SPEC /************************[ Target stuff ]***********************************/ |