(LINK_SPEC): Support -static.
authorRichard Kenner <kenner@gcc.gnu.org>
Wed, 8 Jul 1992 10:24:18 +0000 (06:24 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Wed, 8 Jul 1992 10:24:18 +0000 (06:24 -0400)
From-SVN: r1512

gcc/config/rs6000/rs6000.h

index 7be040d68017e0aee818b81f10e169e911c72fae..ce7edba8f508302efcc9878ac429ab36715f5e6a 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}\