From 0281e6a975cf6bdad3448f6d8653077d6a6406fd Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Wed, 8 Jul 1992 06:24:18 -0400 Subject: [PATCH] (LINK_SPEC): Support -static. From-SVN: r1512 --- gcc/config/rs6000/rs6000.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 7be040d6801..ce7edba8f50 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -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}\ -- 2.30.2