freebsd.h (LINK_SPEC): Weaken error to notice.

* 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.

From-SVN: r62567
This commit is contained in:
Loren J. Rittle 2003-02-08 01:11:35 +00:00 committed by Loren J. Rittle
parent 0a6bc31450
commit 8f37dd984b
7 changed files with 17 additions and 4 deletions

View File

@ -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.

View File

@ -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*}} \

View File

@ -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*} \

View File

@ -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*}} \

View File

@ -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*}} \

View File

@ -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.

View File

@ -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