Add -taso and -rpath to LINK_SPEC
authorJason Merrill <merrill@gnu.org>
Wed, 8 Mar 1995 18:40:51 +0000 (18:40 +0000)
committerJason Merrill <merrill@gnu.org>
Wed, 8 Mar 1995 18:40:51 +0000 (18:40 +0000)
From-SVN: r9132

gcc/config/alpha/alpha.h
gcc/config/alpha/osf12.h

index 961c4802a8b96eff773d05cc49a96229682bef35..5eebf618b698583bcb43d5e4e83de0cf1570951d 100644 (file)
@@ -53,7 +53,15 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
    -call_shared as appropriate.  Also pass -pg.  */
 #define LINK_SPEC  \
   "-G 8 %{O*:-O3} %{!O*:-O1} %{!shared:-init __main} %{static:-non_shared} \
-   %{!static:%{shared:-shared} %{!shared:-call_shared}} %{pg}"
+   %{!static:%{shared:-shared} %{!shared:-call_shared}} %{pg} %{taso} \
+   %{rpath*}"
+
+#define WORD_SWITCH_TAKES_ARG(STR)             \
+ (!strcmp (STR, "rpath") || !strcmp (STR, "include")   \
+  || !strcmp (STR, "imacros") || !strcmp (STR, "aux-info") \
+  || !strcmp (STR, "idirafter") || !strcmp (STR, "iprefix") \
+  || !strcmp (STR, "iwithprefix") || !strcmp (STR, "iwithprefixbefore") \
+  || !strcmp (STR, "isystem"))
 
 #define STARTFILE_SPEC  \
   "%{!shared:%{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}}"
index 4f3aeafd056e55f7801c86cb3a7c71a45318b26e..67935fe7e704046bd0103608f7f1a43ea938d557 100644 (file)
@@ -26,5 +26,5 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #undef LINK_SPEC
 #define LINK_SPEC  \
-  "-G 8 -O1 %{!shared:-init __main} %{static:-non_shared} \
-   %{!static:%{shared:-shared} %{!shared:-call_shared}}"
+  "-G 8 -O1 %{!shared:-init __main} %{static:-non_shared} %{rpath*} \
+   %{!static:%{shared:-shared} %{!shared:-call_shared}} %{taso}"