From: Richard Kenner Date: Wed, 31 Mar 1993 12:02:28 +0000 (-0500) Subject: (LINK_SPEC): New definition. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8877eb002f6f08c7b57e9144892f1ea0a53df75c;p=gcc.git (LINK_SPEC): New definition. From-SVN: r3952 --- 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