(LINK_SPEC): Add -bexport:/usr/lib/libg.exp when -g.
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 27 Aug 1993 19:43:01 +0000 (15:43 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 27 Aug 1993 19:43:01 +0000 (15:43 -0400)
From-SVN: r5220

gcc/config/rs6000/rs6000.h

index a7c6b1595be27a80d822e6b7831cce07613a4f93..05c0f8dd2decbbf8bd0186033b0452becd59f2c4 100644 (file)
@@ -51,7 +51,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
    csects.  See AIX documentation for more information about this.  */
 
 #define LINK_SPEC "-T512 -H512 -btextro -bhalt:4 -bnodelcsect\
-   %{static:-bnso -bI:/lib/syscalls.exp}"
+   %{static:-bnso -bI:/lib/syscalls.exp} %{g*:-bexport:/usr/lib/libg.exp}"
 
 /* Profiled library versions are used by linking with special directories.  */
 #define LIB_SPEC "%{pg:-L/lib/profiled -L/usr/lib/profiled}\