(LINK_SPEC): Don't pass -btextro if -r.
authorRichard Kenner <kenner@gcc.gnu.org>
Wed, 10 Nov 1993 23:44:41 +0000 (18:44 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Wed, 10 Nov 1993 23:44:41 +0000 (18:44 -0500)
From-SVN: r6058

gcc/config/rs6000/rs6000.h

index 5fb61992e7eec3d73b85225207003cd93b5ed372..b7a66c17e9ffa57476932c397092eba78cb2058d 100644 (file)
@@ -50,7 +50,7 @@ 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 %{!r:-btextro} -bhalt:4 -bnodelcsect\
    %{static:-bnso -bI:/lib/syscalls.exp} %{g*:-bexport:/usr/lib/libg.exp}"
 
 /* Profiled library versions are used by linking with special directories.  */