(SINGLE_THREAD_P): Replace @ got notation with @toc.
authordrepper <drepper>
Thu, 12 Jun 2003 22:30:55 +0000 (22:30 +0000)
committerdrepper <drepper>
Thu, 12 Jun 2003 22:30:55 +0000 (22:30 +0000)
linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h

index 58257a1..2745c02 100644 (file)
@@ -89,7 +89,11 @@ extern int __local_multiple_threads attribute_hidden;
 #  define SINGLE_THREAD_P __builtin_expect (__local_multiple_threads == 0, 1)
 # else
 #   define SINGLE_THREAD_P                                             \
-  ld    10,__local_multiple_threads@got(2);                            \
+       .section        ".toc","aw";  \
+.LC__local_multiple_threads:; \
+       .tc __local_multiple_threads[TC],__local_multiple_threads; \
+  .previous;              \
+  ld    10,.LC__local_multiple_threads@toc(2);                         \
   ld    10,0(10);                                                              \
   cmpdi 10,0
 # endif