diff options
author | obrien <obrien@FreeBSD.org> | 2002-02-03 15:15:30 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-02-03 15:15:30 +0800 |
commit | 9d6d6e922c693030224986914cdcc291bddef008 (patch) | |
tree | ff15933ec7fc56f40112294d299b3d2d1539f284 /lang/gcc43/files/patch-af | |
parent | 9bfd28e77a5c76fd575e7269d5d8526464c4cdf7 (diff) | |
download | freebsd-ports-graphics-9d6d6e922c693030224986914cdcc291bddef008.tar.gz freebsd-ports-graphics-9d6d6e922c693030224986914cdcc291bddef008.tar.zst freebsd-ports-graphics-9d6d6e922c693030224986914cdcc291bddef008.zip |
Upgrade to the 28-Jan-2002 GCC 3.1 development snapshot.
Diffstat (limited to 'lang/gcc43/files/patch-af')
-rw-r--r-- | lang/gcc43/files/patch-af | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/lang/gcc43/files/patch-af b/lang/gcc43/files/patch-af index 3941ebdce31..9da4d3279d7 100644 --- a/lang/gcc43/files/patch-af +++ b/lang/gcc43/files/patch-af @@ -1,14 +1,10 @@ ---- gcc/config/i386/freebsd.h.orig Thu Nov 2 15:29:09 2000 -+++ gcc/config/i386/freebsd.h Mon Nov 27 01:52:39 2000 -@@ -76,11 +76,15 @@ +--- gcc/config/i386/freebsd.h.orig Wed May 30 16:05:31 2001 ++++ gcc/config/i386/freebsd.h Mon Jun 18 17:47:30 2001 +@@ -76,6 +76,14 @@ #undef WCHAR_TYPE_SIZE #define WCHAR_TYPE_SIZE BITS_PER_WORD -- --#undef CPP_PREDEFINES --#define CPP_PREDEFINES "-Dunix -D__ELF__ -D__FreeBSD__\ -- -Asystem=unix -Asystem=bsd -Asystem=FreeBSD" - ++ +#undef CC1_SPEC +#define CC1_SPEC "\ + %{gline:%{!g:%{!g0:%{!g1:%{!g2: -g1}}}}} \ @@ -16,11 +12,10 @@ + +#undef ASM_SPEC +#define ASM_SPEC "%{v*: -v} %{maout: %{fpic:-k} %{fPIC:-k}}" -+ + /* 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 -@@ -88,11 +92,11 @@ +@@ -84,11 +92,18 @@ #undef STARTFILE_SPEC #define STARTFILE_SPEC \ @@ -31,13 +26,20 @@ - crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}" + "%{maout: %{shared:c++rt0.o%s} \ + %{!shared:%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}}} \ -+ %{!maout: %{!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}}" ++ %{!maout: \ ++ %{!shared: \ ++ %{pg:gcrt1.o%s} \ ++ %{!pg:%{p:gcrt1.o%s} \ ++ %{!p:%{profile:gcrt1.o%s} \ ++ %{!profile:crt1.o%s}}}} \ ++ crti.o%s \ ++ %{!shared:crtbegin.o%s} \ ++ %{shared:crtbeginS.o%s} \ ++ }" /* Provide a ENDFILE_SPEC appropriate for FreeBSD. Here we tack on the magical crtend.o file (see crtstuff.c) which provides part of -@@ -102,7 +106,7 @@ +@@ -98,7 +113,7 @@ #undef ENDFILE_SPEC #define ENDFILE_SPEC \ |