aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-04-12 20:32:01 +0000
committerUlrich Drepper <drepper@redhat.com>2003-04-12 20:32:01 +0000
commit177d1ad3ac9aab9b8ae7e7f70c2c66b6bdb876ee (patch)
tree14a7365c1e51d7195303a37d0b8fc17677a5b831 /sysdeps/generic
parent68107ec092e7cc3fcd1f56edf9da8085cffed00d (diff)
downloadglibc-177d1ad3ac9aab9b8ae7e7f70c2c66b6bdb876ee.tar
glibc-177d1ad3ac9aab9b8ae7e7f70c2c66b6bdb876ee.tar.gz
glibc-177d1ad3ac9aab9b8ae7e7f70c2c66b6bdb876ee.tar.bz2
glibc-177d1ad3ac9aab9b8ae7e7f70c2c66b6bdb876ee.zip
Update.
2003-04-12 Ulrich Drepper <drepper@redhat.com> * sysdeps/x86_64/tls.h (THREAD_SETMEM): Word around compiler bug which mishandles loading of global object addresses in PIC. (THREAD_SETMEM_NC): Likewise.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/dl-tls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/dl-tls.c b/sysdeps/generic/dl-tls.c
index 19cf0aa072..746d9a20bc 100644
--- a/sysdeps/generic/dl-tls.c
+++ b/sysdeps/generic/dl-tls.c
@@ -370,7 +370,7 @@ _dl_allocate_tls_init (void *result)
assert (map->l_tls_modid == cnt);
assert (map->l_tls_blocksize >= map->l_tls_initimage_size);
# if TLS_TCB_AT_TP
- assert (map->l_tls_offset >= map->l_tls_blocksize);
+ assert ((size_t) map->l_tls_offset >= map->l_tls_blocksize);
dest = (char *) result - map->l_tls_offset;
# elif TLS_DTV_AT_TP
dest = (char *) result + map->l_tls_offset;