(LINK_SPEC): Support -static.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Jul 1992 10:24:18 +0000 (10:24 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Jul 1992 10:24:18 +0000 (10:24 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1512 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/rs6000/rs6000.h

index 7be040d..ce7edba 100644 (file)
@@ -49,7 +49,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
    -bnodelcsect undoes a poor choice of default relating to multiply-defined
    csects.  See AIX documentation for more information about this.  */
 
-#define LINK_SPEC "-T512 -H512 -btextro -bhalt:4 -bnodelcsect"
+#define LINK_SPEC "-T512 -H512 -btextro -bhalt:4 -bnodelcsect\
+   %{static:-bnso -bI:/lib/syscalls.exp"
 
 /* Profiled library versions are used by linking with special directories.  */
 #define LIB_SPEC "%{pg:-L/lib/profiled -L/usr/lib/profiled}\