aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/darwin-ldouble.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/rs6000/darwin-ldouble.c')
-rw-r--r--gcc/config/rs6000/darwin-ldouble.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/rs6000/darwin-ldouble.c b/gcc/config/rs6000/darwin-ldouble.c
index 86893c961cd..b394d5d99bf 100644
--- a/gcc/config/rs6000/darwin-ldouble.c
+++ b/gcc/config/rs6000/darwin-ldouble.c
@@ -67,7 +67,7 @@ extern long double __gcc_qsub (double, double, double, double);
extern long double __gcc_qmul (double, double, double, double);
extern long double __gcc_qdiv (double, double, double, double);
-#ifdef __ELF__
+#if defined __ELF__ && defined SHARED
/* Provide definitions of the old symbol names to statisfy apps and
shared libs built against an older libgcc. To access the _xlq
symbols an explicit version reference is needed, so these won't