summaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/powerpc32/sysdep.h
diff options
context:
space:
mode:
authorWill Schmidt <will_schmidt@vnet.ibm.com>2012-01-12 17:05:03 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-12 17:05:03 -0500
commit929d11c7cf81f4b7cfabc1910a583e6fa5897fd5 (patch)
treeaaf135c1c53ccd0a234032cf9229c8d4f8684c2c /sysdeps/powerpc/powerpc32/sysdep.h
parent0cc5ed3b01cf1dc5d00c15bd9306b727fae9d534 (diff)
downloadglibc-929d11c7cf81f4b7cfabc1910a583e6fa5897fd5.tar.gz
Powerpc: correct duplicate label issue with multiple passes through context code
Diffstat (limited to 'sysdeps/powerpc/powerpc32/sysdep.h')
-rw-r--r--sysdeps/powerpc/powerpc32/sysdep.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/powerpc/powerpc32/sysdep.h b/sysdeps/powerpc/powerpc32/sysdep.h
index c824c0a85d..eb04afbcd6 100644
--- a/sysdeps/powerpc/powerpc32/sysdep.h
+++ b/sysdeps/powerpc/powerpc32/sysdep.h
@@ -1,5 +1,5 @@
/* Assembly macros for 32-bit PowerPC.
- Copyright (C) 1999, 2001, 2002, 2003, 2006, 2011
+ Copyright (C) 1999, 2001, 2002, 2003, 2006, 2011, 2012
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -93,7 +93,7 @@ GOT_LABEL: ; \
ASM_SIZE_DIRECTIVE(name)
#define DO_CALL(syscall) \
- li 0,syscall; \
+ li 0,syscall; \
sc
#undef JUMPTARGET
@@ -153,6 +153,10 @@ GOT_LABEL: ; \
#undef L
#define L(x) .L##x
+#define XGLUE(a,b) a##b
+#define GLUE(a,b) XGLUE (a,b)
+#define GENERATE_GOT_LABEL(name) GLUE (.got_label, name)
+
/* Label in text section. */
#define C_TEXT(name) name