aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-03-06 00:08:34 +0000
committerUlrich Drepper <drepper@redhat.com>2005-03-06 00:08:34 +0000
commit171129215cd04bf3e5986c7b1f762a018d5c80e0 (patch)
treed8d8d2a9ce6c240c3bbd41e64e6a2ea71af2229e /sysdeps
parent2103c260f999160d0abae3a594b8b712b3935395 (diff)
downloadglibc-171129215cd04bf3e5986c7b1f762a018d5c80e0.zip
glibc-171129215cd04bf3e5986c7b1f762a018d5c80e0.tar.gz
glibc-171129215cd04bf3e5986c7b1f762a018d5c80e0.tar.bz2
(ELF_MACHINE_NO_RELA): Define unconditionally to defined RTLD_BOOTSTRAP.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/arm/dl-machine.h4
-rw-r--r--sysdeps/i386/dl-machine.h4
2 files changed, 2 insertions, 6 deletions
diff --git a/sysdeps/arm/dl-machine.h b/sysdeps/arm/dl-machine.h
index e8015ac..b85b4f1 100644
--- a/sysdeps/arm/dl-machine.h
+++ b/sysdeps/arm/dl-machine.h
@@ -353,9 +353,7 @@ elf_machine_plt_value (struct link_map *map, const Elf32_Rel *reloc,
/* ARM never uses Elf32_Rela relocations for the dynamic linker.
Prelinked libraries may use Elf32_Rela though. */
-#ifdef RTLD_BOOTSTRAP
-# define ELF_MACHINE_NO_RELA 1
-#endif
+#define ELF_MACHINE_NO_RELA defined RTLD_BOOTSTRAP
#ifdef RESOLVE
diff --git a/sysdeps/i386/dl-machine.h b/sysdeps/i386/dl-machine.h
index a965a4a..df3edf5 100644
--- a/sysdeps/i386/dl-machine.h
+++ b/sysdeps/i386/dl-machine.h
@@ -301,9 +301,7 @@ elf_machine_plt_value (struct link_map *map, const Elf32_Rel *reloc,
/* The i386 never uses Elf32_Rela relocations for the dynamic linker.
Prelinked libraries may use Elf32_Rela though. */
-#ifdef RTLD_BOOTSTRAP
-# define ELF_MACHINE_NO_RELA 1
-#endif
+#define ELF_MACHINE_NO_RELA defined RTLD_BOOTSTRAP
#ifdef RESOLVE_MAP