summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-01-21 13:46:01 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-01-21 13:46:01 +0000
commit30e579262f92beff00fce8c209e12b795a34f9f3 (patch)
treeff918eb45854bf63dcb0879238dc71d549c273cb /libpthread/nptl/sysdeps
parenta47cbce78eaaca274986b4fddd7e19399180ca58 (diff)
downloaduClibc-alpine-30e579262f92beff00fce8c209e12b795a34f9f3.tar.bz2
uClibc-alpine-30e579262f92beff00fce8c209e12b795a34f9f3.tar.xz
Revert latest commit because it brakes sh4 build
Diffstat (limited to 'libpthread/nptl/sysdeps')
-rw-r--r--libpthread/nptl/sysdeps/generic/sysdep.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/generic/sysdep.h b/libpthread/nptl/sysdeps/generic/sysdep.h
index f104906ac..0bbcf9a69 100644
--- a/libpthread/nptl/sysdeps/generic/sysdep.h
+++ b/libpthread/nptl/sysdeps/generic/sysdep.h
@@ -17,6 +17,25 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+#ifndef C_LABEL
+
+/* Define a macro we can use to construct the asm name for a C symbol. */
+#ifdef NO_UNDERSCORES
+#ifdef __STDC__
+#define C_LABEL(name) name##:
+#else
+#define C_LABEL(name) name/**/:
+#endif
+#else
+#ifdef __STDC__
+#define C_LABEL(name) _##name##:
+#else
+#define C_LABEL(name) _/**/name/**/:
+#endif
+#endif
+
+#endif
+
#ifdef __ASSEMBLER__
/* Mark the end of function named SYM. This is used on some platforms
to generate correct debugging information. */