]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
sysv4.h (CHOOSE_DYNAMIC_LINKER): Default to GLIBC when no C library is specified.
authorMaxim Kuvyrkov <maxim@codesourcery.com>
Thu, 22 Jul 2010 09:47:01 +0000 (09:47 +0000)
committerMaxim Kuvyrkov <mkuvyrkov@gcc.gnu.org>
Thu, 22 Jul 2010 09:47:01 +0000 (09:47 +0000)
* config/rs6000/sysv4.h (CHOOSE_DYNAMIC_LINKER): Default to GLIBC
when no C library is specified.

From-SVN: r162408

gcc/ChangeLog
gcc/config/rs6000/sysv4.h

index c1b0f3730114342f456441d60cf172b43a4eb60e..a8b3af38cd5ca1e4bd33d73af3e79f55629b5023 100644 (file)
@@ -1,3 +1,8 @@
+2010-07-22  Maxim Kuvyrkov  <maxim@codesourcery.com>
+
+       * config/rs6000/sysv4.h (CHOOSE_DYNAMIC_LINKER): Default to GLIBC
+       when no C library is specified.
+
 2010-07-22  Martin Jambor  <mjambor@suse.cz>
 
        * ipa-prop.h (struct ipa_node_params): Updated comment.
index 2e6fbc7cbd243958f10597388742945781043edc..1007941f94c6a5bcfe5f012ff7c4bf8cbf8f5139 100644 (file)
@@ -905,7 +905,7 @@ SVR4_ASM_SPEC \
 #define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
 #if DEFAULT_LIBC == LIBC_UCLIBC
 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}"
-#elif DEFAULT_LIBC == LIBC_GLIBC
+#elif !defined (DEFAULT_LIBC) || DEFAULT_LIBC == LIBC_GLIBC
 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{muclibc:" U ";:" G "}"
 #else
 #error "Unsupported DEFAULT_LIBC"