From 171129215cd04bf3e5986c7b1f762a018d5c80e0 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 6 Mar 2005 00:08:34 +0000 Subject: (ELF_MACHINE_NO_RELA): Define unconditionally to defined RTLD_BOOTSTRAP. --- sysdeps/arm/dl-machine.h | 4 +--- sysdeps/i386/dl-machine.h | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'sysdeps') 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 -- cgit v1.1