From 43329fe1396080faf025118b31053fd19e029c12 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 14 Aug 2015 22:07:40 -0400 Subject: hppa: assume TLS everywhere This brings hppa inline with all the other arches and main code where we require TLS support everywhere. That means dropping the defines USE_TLS and USE___THREAD, and dropping the binutils check (since we already have a version requirement that is new enough). --- sysdeps/hppa/dl-machine.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/hppa/dl-machine.h') diff --git a/sysdeps/hppa/dl-machine.h b/sysdeps/hppa/dl-machine.h index 5f8efd4f49..7d0cf2c8b9 100644 --- a/sysdeps/hppa/dl-machine.h +++ b/sysdeps/hppa/dl-machine.h @@ -465,7 +465,7 @@ asm ( \ a TLS variable, so references should not be allowed to define the value. ELF_RTYPE_CLASS_COPY iff TYPE should not be allowed to resolve to one of the main executable's symbols, as for a COPY reloc. */ -#if defined USE_TLS && (!defined RTLD_BOOTSTRAP || USE___THREAD) +#if !defined RTLD_BOOTSTRAP # define elf_machine_type_class(type) \ ((((type) == R_PARISC_IPLT \ || (type) == R_PARISC_EPLT \ @@ -684,7 +684,7 @@ elf_machine_rela (struct link_map *map, MIN (sym->st_size, refsym->st_size)); return; -#if defined USE_TLS && (!defined RTLD_BOOTSTRAP) +#if !defined RTLD_BOOTSTRAP case R_PARISC_TLS_DTPMOD32: value = sym_map->l_tls_modid; break; -- cgit 1.4.1