summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-12 22:25:08 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-12 22:25:08 +0000
commitf700d4972ea76f47d5470cc30a04771ebdba4941 (patch)
treedf734e2844d52dc48376ecc5582245051bfaa575
parenta943e059127fc6c940908c4691c5d1574d1bbdd1 (diff)
downloadppe42-gcc-f700d4972ea76f47d5470cc30a04771ebdba4941.tar.gz
ppe42-gcc-f700d4972ea76f47d5470cc30a04771ebdba4941.zip
* config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52246 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/alpha/osf.h5
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f0f9389b3c7..3fef2124387 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2002-04-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.
+
Fri Apr 12 15:42:59 2002 Jeffrey A Law (law@redhat.com)
* pa.c (pa_can_combine_p): Call extract_insn before calling
diff --git a/gcc/config/alpha/osf.h b/gcc/config/alpha/osf.h
index 1e403ae5d7e..efb0a16d7fd 100644
--- a/gcc/config/alpha/osf.h
+++ b/gcc/config/alpha/osf.h
@@ -57,12 +57,13 @@ Boston, MA 02111-1307, USA. */
%{threads: -lpthreads} %{pthread|threads: -lpthread -lmach -lexc} -lc"
/* Pass "-G 8" to ld because Alpha's CC does. Pass -O3 if we are
- optimizing, -O1 if we are not. Pass -shared, -non_shared or
+ optimizing, -O1 if we are not. Pass -S to silence `weak symbol
+ multiply defined' warnings. Pass -shared, -non_shared or
-call_shared as appropriate. Pass -hidden_symbol so that our
constructor and call-frame data structures are not accidentally
overridden. */
#define LINK_SPEC \
- "-G 8 %{O*:-O3} %{!O*:-O1} %{static:-non_shared} \
+ "-G 8 %{O*:-O3} %{!O*:-O1} -S %{static:-non_shared} \
%{!static:%{shared:-shared -hidden_symbol _GLOBAL_*} \
%{!shared:-call_shared}} %{pg} %{taso} %{rpath*}"
OpenPOWER on IntegriCloud