about summary refs log tree commit diff
path: root/sysdeps/x86_64/dl-machine.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-09-29 10:38:40 +0000
committerRoland McGrath <roland@gnu.org>2002-09-29 10:38:40 +0000
commit5bbfc1ea7069630149c5fc1b3cec4a044d43a9cd (patch)
treee7839a54415204305359b7835c6be050c283a197 /sysdeps/x86_64/dl-machine.h
parent3c25964fb000ed7f6bd4ec30d02b3819c581b4b3 (diff)
downloadglibc-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/x86_64/dl-machine.h')
-rw-r--r--sysdeps/x86_64/dl-machine.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/x86_64/dl-machine.h b/sysdeps/x86_64/dl-machine.h
index b55523649b..21459b9ab5 100644
--- a/sysdeps/x86_64/dl-machine.h
+++ b/sysdeps/x86_64/dl-machine.h
@@ -378,7 +378,8 @@ elf_machine_rela (struct link_map *map, const Elf64_Rela *reloc,
 #endif
 #if defined USE_TLS && !defined RTLD_BOOTSTRAP
       struct link_map *sym_map = RESOLVE_MAP (&sym, version, r_type);
-      Elf64_Addr value = sym == NULL ? 0 : sym_map->l_addr + sym->st_value;
+      Elf64_Addr value = (sym == NULL ? 0
+			  : (Elf64_Addr) sym_map->l_addr + sym->st_value);
 #else
       Elf64_Addr value = RESOLVE (&sym, version, r_type);