diff options
author | Maxim Kuvyrkov <maxim@codesourcery.com> | 2010-07-22 09:47:01 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <mkuvyrkov@gcc.gnu.org> | 2010-07-22 09:47:01 +0000 |
commit | 14ee5f0ae21190c98d7041311ba3c4640dda157a (patch) | |
tree | 64c209476877512de0513ead0286fd461eaf0276 /gcc | |
parent | 93c594a39d1a9751308eedc20e5023d0cf6246aa (diff) | |
download | gcc-14ee5f0ae21190c98d7041311ba3c4640dda157a.zip gcc-14ee5f0ae21190c98d7041311ba3c4640dda157a.tar.gz gcc-14ee5f0ae21190c98d7041311ba3c4640dda157a.tar.bz2 |
sysv4.h (CHOOSE_DYNAMIC_LINKER): Default to GLIBC when no C library is specified.
* config/rs6000/sysv4.h (CHOOSE_DYNAMIC_LINKER): Default to GLIBC
when no C library is specified.
From-SVN: r162408
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/sysv4.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c1b0f37..a8b3af3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 2e6fbc7..1007941 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -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" |