|
@@ -25,7 +25,9 @@
|
|
|
#include <dl-startup.h>
|
|
#include <dl-startup.h>
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
|
|
+#ifdef __UCLIBC_HAS_THREADS_NATIVE__
|
|
|
extern ElfW(Addr) _dl_load_base;
|
|
extern ElfW(Addr) _dl_load_base;
|
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
void
|
|
void
|
|
|
reloc_static_pie (ElfW(Addr) load_addr);
|
|
reloc_static_pie (ElfW(Addr) load_addr);
|
|
@@ -111,5 +113,7 @@ reloc_static_pie(ElfW(Addr) load_addr)
|
|
|
(void)rel_size;
|
|
(void)rel_size;
|
|
|
#endif
|
|
#endif
|
|
|
}
|
|
}
|
|
|
|
|
+#ifdef __UCLIBC_HAS_THREADS_NATIVE__
|
|
|
_dl_load_base = load_addr;
|
|
_dl_load_base = load_addr;
|
|
|
|
|
+#endif
|
|
|
}
|
|
}
|