summaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/powerpc32/dl-machine.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-11-21 04:10:59 +0000
committerRoland McGrath <roland@gnu.org>2002-11-21 04:10:59 +0000
commitab9ba655e1b0ee621baddd45e7421762e4f2ba70 (patch)
treef61c2e39b40afd500057ca26fd9828282ffcca8d /sysdeps/powerpc/powerpc32/dl-machine.c
parent5d0bbaaf3a253601974ec9bc30f49fc4452d12ed (diff)
* sysdeps/powerpc/powerpc32/dl-machine.c [! SHARED]: Further
conditionalize [! DO_VERSIONING] #error.
Diffstat (limited to 'sysdeps/powerpc/powerpc32/dl-machine.c')
-rw-r--r--sysdeps/powerpc/powerpc32/dl-machine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/powerpc/powerpc32/dl-machine.c b/sysdeps/powerpc/powerpc32/dl-machine.c
index 6443608886..065a1db6df 100644
--- a/sysdeps/powerpc/powerpc32/dl-machine.c
+++ b/sysdeps/powerpc/powerpc32/dl-machine.c
@@ -29,7 +29,7 @@
/* Because ld.so is now versioned, these functions can be in their own file;
no relocations need to be done to call them.
Of course, if ld.so is not versioned... */
-#if !(DO_VERSIONING - 0)
+#if defined SHARED && !(DO_VERSIONING - 0)
#error This will not work with versioning turned off, sorry.
#endif