summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-08 01:11:35 +0000
committerljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-08 01:11:35 +0000
commit02f3e5fd1372fada53ffa58084bb3cade2be92be (patch)
tree222723c32bf50aed4465b41fe28c55bf4b1417fd /gcc
parentd6f0c806eaa6ee802c56caee5581bd3e52214f8f (diff)
downloadgcc-02f3e5fd1372fada53ffa58084bb3cade2be92be.tar.gz
* config/alpha/freebsd.h (LINK_SPEC): Weaken error to notice.
* config/ia64/freebsd.h (LINK_SPEC): Likewise. * config/sparc/freebsd.h (LINK_SPEC): Likewise. * config/i386/freebsd.h (LINK_SPEC): Add clause to mirror other arches. * gcc.dg/20021014-1.c: Annotate with expected notice text. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62567 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/alpha/freebsd.h2
-rw-r--r--gcc/config/i386/freebsd.h1
-rw-r--r--gcc/config/ia64/freebsd.h4
-rw-r--r--gcc/config/sparc/freebsd.h2
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/20021014-1.c1
7 files changed, 17 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 80f94bc64bd..3c3bc7e5a4e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2003-02-07 Loren James Rittle <ljrittle@acm.org>
+
+ * config/alpha/freebsd.h (LINK_SPEC): Weaken error to notice.
+ * config/ia64/freebsd.h (LINK_SPEC): Likewise.
+ * config/sparc/freebsd.h (LINK_SPEC): Likewise.
+ * config/i386/freebsd.h (LINK_SPEC): Add clause to mirror other arches.
+
2003-02-07 Wolfgang Bangerth <bangerth@ticam.utexas.edu>
* doc/trouble.texi: Document pitfalls of two-stage name lookup.
diff --git a/gcc/config/alpha/freebsd.h b/gcc/config/alpha/freebsd.h
index 0ec96885527..c77d85640f6 100644
--- a/gcc/config/alpha/freebsd.h
+++ b/gcc/config/alpha/freebsd.h
@@ -39,7 +39,7 @@ Boston, MA 02111-1307, USA. */
#define CPP_SPEC "%(cpp_subtarget) %{posix:-D_POSIX_SOURCE}"
#define LINK_SPEC "%{G*} %{relax:-relax} \
- %{p:%e`-p' not supported; use `-pg' and gprof(1)} \
+ %{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \
%{Wl,*:%*} \
%{assert*} %{R*} %{rpath*} %{defsym*} \
%{shared:-Bshareable %{h*} %{soname*}} \
diff --git a/gcc/config/i386/freebsd.h b/gcc/config/i386/freebsd.h
index e0160b1e048..7e9af2e818e 100644
--- a/gcc/config/i386/freebsd.h
+++ b/gcc/config/i386/freebsd.h
@@ -100,6 +100,7 @@ Boston, MA 02111-1307, USA. */
#undef LINK_SPEC
#define LINK_SPEC "\
+ %{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \
%{Wl,*:%*} \
%{v:-V} \
%{assert*} %{R*} %{rpath*} %{defsym*} \
diff --git a/gcc/config/ia64/freebsd.h b/gcc/config/ia64/freebsd.h
index 34dc885905b..3082f4f701a 100644
--- a/gcc/config/ia64/freebsd.h
+++ b/gcc/config/ia64/freebsd.h
@@ -19,8 +19,8 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-#define LINK_SPEC \
- "%{p:%e`-p' not supported; use `-pg' and gprof(1)} \
+#define LINK_SPEC " \
+ %{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \
%{Wl,*:%*} \
%{assert*} %{R*} %{rpath*} %{defsym*} \
%{shared:-Bshareable %{h*} %{soname*}} \
diff --git a/gcc/config/sparc/freebsd.h b/gcc/config/sparc/freebsd.h
index bd7fcd24445..3bc6b4f2b7e 100644
--- a/gcc/config/sparc/freebsd.h
+++ b/gcc/config/sparc/freebsd.h
@@ -30,7 +30,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define LINK_SPEC "%(link_arch) \
%{!mno-relax:%{!r:-relax}} \
- %{p:%e`-p' not supported; use `-pg' and gprof(1)} \
+ %{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \
%{Wl,*:%*} \
%{assert*} %{R*} %{rpath*} %{defsym*} \
%{shared:-Bshareable %{h*} %{soname*}} \
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index c701328315b..58350ce9738 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2003-02-07 Loren James Rittle <ljrittle@acm.org>
+
+ * gcc.dg/20021014-1.c: Annotate with expected notice text.
+
2003-02-07 Roger Sayle <roger@eyesopen.com>
* testsuite/gcc.dg/builtins-4.c: New test case.
diff --git a/gcc/testsuite/gcc.dg/20021014-1.c b/gcc/testsuite/gcc.dg/20021014-1.c
index 8a3ad1d8642..cfb90d88f9e 100644
--- a/gcc/testsuite/gcc.dg/20021014-1.c
+++ b/gcc/testsuite/gcc.dg/20021014-1.c
@@ -1,6 +1,7 @@
/* { dg-do run } */
/* { dg-options "-O2 -p" } */
/* { dg-error "profiler" "No profiler support" { target mmix-*-* } 0 } */
+/* { dg-error "" "consider using `-pg' instead of `-p' with gprof(1)" { target *-*-freebsd* } 0 } */
/* Support for -p on solaris2 relies on mcrt1.o which comes with the
vendor compiler. We cannot reiably predict the directory where the
vendor compiler (and thus mcrt1.o) is installed so we can't