summaryrefslogtreecommitdiff
path: root/libc/inet/resolv.c
diff options
context:
space:
mode:
authorWill Newton <will.newton@imgtec.com>2012-06-29 14:48:09 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-08-04 19:50:12 +0200
commit4237cc165cd7447d6798559506adfd339a638dc0 (patch)
treedfba5dae6c0ca994ec98fb11091805ed141ecd35 /libc/inet/resolv.c
parent7bda8c523818acd88276191284d6a7e7ca0e8dc0 (diff)
libc/inet/resolv.c: Use IE model for TLS data.
All other TLS data in uClibc is explicitly using the IE model, so use it for __resp too. This generates smaller and faster code. Signed-off-by: Will Newton <will.newton@imgtec.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/inet/resolv.c')
-rw-r--r--libc/inet/resolv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
index 2c0caa4f0..f1e7da7ce 100644
--- a/libc/inet/resolv.c
+++ b/libc/inet/resolv.c
@@ -3592,7 +3592,7 @@ struct __res_state _res __attribute__((section (".bss"))) attribute_hidden;
# undef __resp
__thread struct __res_state *__resp = &_res;
extern __thread struct __res_state *__libc_resp
- __attribute__ ((alias ("__resp"))) attribute_hidden;
+ __attribute__ ((alias ("__resp"))) attribute_hidden attribute_tls_model_ie;
# else
# undef __resp
struct __res_state *__resp = &_res;