aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-03-31 07:02:28 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1993-03-31 07:02:28 -0500
commit8877eb002f6f08c7b57e9144892f1ea0a53df75c (patch)
treeadb4ea48c8861a89524594cf54f544206e6ac29f
parent1ff0c00d9f3d9eb2f6e4143c9c3daba4ff3c1d07 (diff)
downloadgcc-8877eb002f6f08c7b57e9144892f1ea0a53df75c.zip
gcc-8877eb002f6f08c7b57e9144892f1ea0a53df75c.tar.gz
gcc-8877eb002f6f08c7b57e9144892f1ea0a53df75c.tar.bz2
(LINK_SPEC): New definition.
From-SVN: r3952
-rw-r--r--gcc/config/alpha/alpha.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h
index 1907b30..9d62bb3 100644
--- a/gcc/config/alpha/alpha.h
+++ b/gcc/config/alpha/alpha.h
@@ -49,6 +49,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define LIB_SPEC "-lc"
+/* Pass "-G 8" to ld because Alpha's CC does. Pass -O2 if we are optimizing,
+ -O1 if we are not. Pass -non_shared or -call_shared as appropriate. */
+#define LINK_SPEC \
+ "-G 8 %{O*:-O2} %{!O*:-O1} %{static:-non_shared} %{!static:-call_shared}"
+
/* Print subsidiary information on the compiler version in use. */
#define TARGET_VERSION