From 8877eb002f6f08c7b57e9144892f1ea0a53df75c Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Wed, 31 Mar 1993 07:02:28 -0500 Subject: [PATCH] (LINK_SPEC): New definition. From-SVN: r3952 --- gcc/config/alpha/alpha.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h index 1907b309048..9d62bb3bc73 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 -- 2.30.2