diff options
author | John Polstra <jdp@FreeBSD.org> | 1997-04-05 16:19:08 +0000 |
---|---|---|
committer | John Polstra <jdp@FreeBSD.org> | 1997-04-05 16:19:08 +0000 |
commit | 5a55bb419e27389dd32740e827b052f374e09461 (patch) | |
tree | ee5aa5fa62aa18617f3489b4d99d27f8d5707ccd /contrib | |
parent | c749b25885320acfbd6a18b1435142f33df0a0f3 (diff) | |
download | src-5a55bb419e27389dd32740e827b052f374e09461.tar.gz src-5a55bb419e27389dd32740e827b052f374e09461.zip |
Notes
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/gcc/config/i386/freebsd.h | 11 | ||||
-rw-r--r-- | contrib/gcc/config/i386/freebsd.h.fixed | 11 |
2 files changed, 12 insertions, 10 deletions
diff --git a/contrib/gcc/config/i386/freebsd.h b/contrib/gcc/config/i386/freebsd.h index 6908bc3f1fc8..264a5e0ec0fa 100644 --- a/contrib/gcc/config/i386/freebsd.h +++ b/contrib/gcc/config/i386/freebsd.h @@ -86,17 +86,18 @@ Boston, MA 02111-1307, USA. */ #define ASM_SPEC " %| %{fpic:-k} %{fPIC:-k}" -/* Like the default, except no -lg. */ -#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}" +/* Like the default, except no -lg, and no -p. */ +#define LIB_SPEC "%{!pg:-lc}%{pg:-lc_p}" #define LINK_SPEC \ - "%{!nostdlib:%{!r:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} %{assert*} \ - %{p:-Bstatic} %{pg:-Bstatic} %{Z} %{R*}" + "%{p:%e`-p' not supported; use `-pg' and gprof(1)} \ + %{!nostdlib:%{!r:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} %{assert*} \ + %{pg:-Bstatic} %{Z} %{R*}" #define LINK_LIBGCC_SPECIAL_1 1 #define STARTFILE_SPEC \ - "%{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:%{static:scrt0.o%s}%{!static:crt0.o%s}}}" + "%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}" /* This goes away when the math emulator is fixed. */ #undef TARGET_DEFAULT diff --git a/contrib/gcc/config/i386/freebsd.h.fixed b/contrib/gcc/config/i386/freebsd.h.fixed index 6908bc3f1fc8..264a5e0ec0fa 100644 --- a/contrib/gcc/config/i386/freebsd.h.fixed +++ b/contrib/gcc/config/i386/freebsd.h.fixed @@ -86,17 +86,18 @@ Boston, MA 02111-1307, USA. */ #define ASM_SPEC " %| %{fpic:-k} %{fPIC:-k}" -/* Like the default, except no -lg. */ -#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}" +/* Like the default, except no -lg, and no -p. */ +#define LIB_SPEC "%{!pg:-lc}%{pg:-lc_p}" #define LINK_SPEC \ - "%{!nostdlib:%{!r:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} %{assert*} \ - %{p:-Bstatic} %{pg:-Bstatic} %{Z} %{R*}" + "%{p:%e`-p' not supported; use `-pg' and gprof(1)} \ + %{!nostdlib:%{!r:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} %{assert*} \ + %{pg:-Bstatic} %{Z} %{R*}" #define LINK_LIBGCC_SPECIAL_1 1 #define STARTFILE_SPEC \ - "%{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:%{static:scrt0.o%s}%{!static:crt0.o%s}}}" + "%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}" /* This goes away when the math emulator is fixed. */ #undef TARGET_DEFAULT |