summaryrefslogtreecommitdiff
path: root/include/locale.h
diff options
context:
space:
mode:
authorGregory Fong <gregory.0xf0@gmail.com>2013-06-03 13:32:55 -0700
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-06-07 12:44:59 +0200
commitb57e9640db53166c88cdac66b79a046e46b8d728 (patch)
treeb69903baa8104066fa712dbc28c4e673e7d43c2e /include/locale.h
parent588d35799af4b932de0df47bcdc2570103eecc1c (diff)
ldso/libdl: Also include dl-tls.h for for !SHARED.
On MIPS, several relocations that were original only resolved by the dynamic linker were reused as static relocations. Consequently the macros TLS_DTPREL_VALUE and TLS_TPREL_VALUE defined in libpthread/nptl/sysdeps/mips/dl-tls.h need to be available even for !SHARED. Relevant: http://www.linux-mips.org/wiki/NPTL#History Original patch by Vincent Wen <wenvincent@gmail.com>: http://lists.uclibc.org/pipermail/uclibc/2013-April/047707.html When build statically linked applications for MIPS platform, sometimes the linker fails with following errors: undefined reference to TLS_DTPREL_VALUE undefined reference to TLS_TPREL_VALUE The include of dl-tls.h is only in code guarded by SHARED, Removing the SHARED compilation option to cover static link too. Signed-off-by: Vincent Wen <wenvincent90@gmail.com> Signed-off-by: Gregory Fong <gregory.0xf0@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include/locale.h')
0 files changed, 0 insertions, 0 deletions