aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Tobler <andreast@fgznet.ch>2011-10-26 08:59:47 +0200
committerAndreas Tobler <andreast@gcc.gnu.org>2011-10-26 08:59:47 +0200
commitfd44464875797e55975bb3b5f62900d60bbbec2a (patch)
treefa75d148a530308d7fbd912ca7e7d7b64b446cbd
parent0a9ef9723d717a8c350197a933fe4d333f83eeae (diff)
downloadgcc-fd44464875797e55975bb3b5f62900d60bbbec2a.zip
gcc-fd44464875797e55975bb3b5f62900d60bbbec2a.tar.gz
gcc-fd44464875797e55975bb3b5f62900d60bbbec2a.tar.bz2
freebsd64.h (LINK_SPEC): Emit the same warning as the 32-bit target does.
2011-10-26 Andreas Tobler <andreast@fgznet.ch> * config/i386/freebsd64.h (LINK_SPEC): Emit the same warning as the 32-bit target does. From-SVN: r180468
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/freebsd64.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 14bc189..931a6f5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-26 Andreas Tobler <andreast@fgznet.ch>
+
+ * config/i386/freebsd64.h (LINK_SPEC): Emit the same warning as the
+ 32-bit target does.
+
2011-10-25 Paolo Carlini <paolo.carlini@oracle.com>
PR driver/46617
diff --git a/gcc/config/i386/freebsd64.h b/gcc/config/i386/freebsd64.h
index 853f214..b6f0c3f 100644
--- a/gcc/config/i386/freebsd64.h
+++ b/gcc/config/i386/freebsd64.h
@@ -32,6 +32,7 @@ along with GCC; see the file COPYING3. If not see
#undef LINK_SPEC
#define LINK_SPEC "\
%{m32:-m elf_i386_fbsd} \
+ %{p:%nconsider using '-pg' instead of '-p' with gprof(1)} \
%{v:-V} \
%{assert*} %{R*} %{rpath*} %{defsym*} \
%{shared:-Bshareable %{h*} %{soname*}} \