linux.h (LINK_SPEC): Pass -G args to the linker.
authorGeoff Keating <geoffk@ozemail.com.au>
Fri, 14 Aug 1998 00:42:09 +0000 (18:42 -0600)
committerJeff Law <law@gcc.gnu.org>
Fri, 14 Aug 1998 00:42:09 +0000 (18:42 -0600)

        * rs6000/linux.h (LINK_SPEC): Pass -G args to the linker.

From-SVN: r21717

gcc/config/rs6000/linux.h

index 5b2c6a0cbf2de1aed43e9673914b8901c4b8806d..a3f87d96201769a529f5a8328035aba55df8e0c1 100644 (file)
@@ -26,7 +26,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  "-DPPC -D__ELF__ -Dunix -Dlinux -Dpowerpc -Asystem(unix) -Asystem(linux) -Acpu(powerpc) -Amachine(powerpc)"
 
 #undef LINK_SPEC
-#define LINK_SPEC "-m elf32ppc %{shared:-shared} \
+#define LINK_SPEC "-m elf32ppc %{G*} %{shared:-shared} \
   %{!shared: \
     %{!static: \
       %{rdynamic:-export-dynamic} \