]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
freebsd64.h (LINK_SPEC): Emit the same warning as the 32-bit target does.
authorAndreas Tobler <andreast@fgznet.ch>
Wed, 26 Oct 2011 06:59:47 +0000 (08:59 +0200)
committerAndreas Tobler <andreast@gcc.gnu.org>
Wed, 26 Oct 2011 06:59:47 +0000 (08:59 +0200)
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

gcc/ChangeLog
gcc/config/i386/freebsd64.h

index 14bc18945794a13b97d01fe7c9aed50e1ceb19a7..931a6f5a820252eb36da1ff8cb635b672e1d5220 100644 (file)
@@ -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
index 853f214f4e0b09bd53f150c0d164df4bda35b169..b6f0c3f1160c6f44aad0a057f062da8672a47d0f 100644 (file)
@@ -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*}} \