summaryrefslogtreecommitdiff
path: root/ldso/include
diff options
context:
space:
mode:
authorBernd Schmidt <bernds_cb1@t-online.de>2007-12-03 22:46:53 +0000
committerBernd Schmidt <bernds_cb1@t-online.de>2007-12-03 22:46:53 +0000
commit3d2a55e7a31cbb50ca1677d09791ca147368b62a (patch)
tree80e67cff40350559c48890c5a67d870353e0375d /ldso/include
parent453094fb5857cddffe0ed05305806085ae3460c0 (diff)
Blackfin FD-PIC patch 2/6.
Add the necessary changes in ld.so and libdl to deal with targets that prepend an underscore to symbol names.
Diffstat (limited to 'ldso/include')
-rw-r--r--ldso/include/dl-defs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ldso/include/dl-defs.h b/ldso/include/dl-defs.h
index 6a94ee9d9..19eab074f 100644
--- a/ldso/include/dl-defs.h
+++ b/ldso/include/dl-defs.h
@@ -175,4 +175,10 @@ typedef struct {
# define DL_MALLOC_ALIGN (__WORDSIZE / 8)
#endif
+#ifdef __UCLIBC_NO_UNDERSCORES__
+#define __C_SYMBOL_PREFIX__ ""
+#else
+#define __C_SYMBOL_PREFIX__ "_"
+#endif
+
#endif /* _LD_DEFS_H */