From 3d2a55e7a31cbb50ca1677d09791ca147368b62a Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Mon, 3 Dec 2007 22:46:53 +0000 Subject: 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. --- ldso/include/dl-defs.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ldso/include') 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 */ -- cgit v1.2.3