diff options
author | Roland McGrath <roland@gnu.org> | 2002-09-29 10:38:40 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-09-29 10:38:40 +0000 |
commit | 5bbfc1ea7069630149c5fc1b3cec4a044d43a9cd (patch) | |
tree | e7839a54415204305359b7835c6be050c283a197 /sysdeps/generic | |
parent | 3c25964fb000ed7f6bd4ec30d02b3819c581b4b3 (diff) | |
download | glibc-5bbfc1ea7069630149c5fc1b3cec4a044d43a9cd.tar.gz glibc-5bbfc1ea7069630149c5fc1b3cec4a044d43a9cd.tar.xz glibc-5bbfc1ea7069630149c5fc1b3cec4a044d43a9cd.zip |
* configure: Regenerated after aclocal.m4 change.
* sysdeps/x86_64/sysdep.h [HAVE_ELF] (L): Define with .L##name form. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (L): Don't define it here. * sysdeps/generic/dl-lookupcfg.h [USE_TLS] (DL_LOOKUP_RETURNS_MAP): Define it, because _dl_sym presumes it (for any platform). * sysdeps/x86_64/dl-tls.h: New file. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Add a cast. * sysdeps/x86_64/elf/configure.in: New file. * sysdeps/x86_64/elf/configure: New generated file.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/dl-lookupcfg.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/sysdeps/generic/dl-lookupcfg.h b/sysdeps/generic/dl-lookupcfg.h index 810e8c7c6a..76c803dcb1 100644 --- a/sysdeps/generic/dl-lookupcfg.h +++ b/sysdeps/generic/dl-lookupcfg.h @@ -1,5 +1,5 @@ /* Configuration of lookup functions. - Copyright (C) 2000 Free Software Foundation, Inc. + Copyright (C) 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -18,5 +18,12 @@ 02111-1307 USA. */ /* Some platforms need more information from the symbol lookup function - than just the address. But this is not generally the case. */ -#undef DL_LOOKUP_RETURNS_MAP + than just the address. But this is not generally the case. + + However, because of how _dl_sym and _dl_tls_symaddr are written, every + platform needs it when we support TLS. */ +#ifdef USE_TLS +# define DL_LOOKUP_RETURNS_MAP +#else +# undef DL_LOOKUP_RETURNS_MAP +#endif |