* sysdeps/powerpc/powerpc32/dl-machine.c [! SHARED]: Further
authorRoland McGrath <roland@gnu.org>
Thu, 21 Nov 2002 04:10:59 +0000 (04:10 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 21 Nov 2002 04:10:59 +0000 (04:10 +0000)
conditionalize [! DO_VERSIONING] #error.

ChangeLog
sysdeps/powerpc/powerpc32/dl-machine.c

index 9faa4cb..2591459 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2002-11-20  Roland McGrath  <roland@redhat.com>
 
+       * sysdeps/powerpc/powerpc32/dl-machine.c [! SHARED]: Further
+       conditionalize [! DO_VERSIONING] #error.
+
        * scripts/abilist.awk: Grok function descriptor symbols.
 
        * intl/tst-gettext.c (main): Check return values from setlocale.
index 6443608..065a1db 100644 (file)
@@ -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