From 6b7b14b26f07ddcd1f292ad8de31fa1d9fc13f43 Mon Sep 17 00:00:00 2001 From: Will Newton Date: Thu, 3 Jul 2014 10:50:50 +0100 Subject: ARM: Define ELF_MACHINE_NO_REL Fix a -Wundef warning on ARM. ChangeLog: 2014-07-04 Will Newton * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define. --- ChangeLog | 4 ++++ sysdeps/arm/dl-machine.h | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 5f12906..e255a3d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-07-04 Will Newton + + * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define. + 2014-07-03 Roland McGrath * sysdeps/unix/sysv/linux/ia64/lowlevellock.h diff --git a/sysdeps/arm/dl-machine.h b/sysdeps/arm/dl-machine.h index c5ffc93..d6b0c52 100644 --- a/sysdeps/arm/dl-machine.h +++ b/sysdeps/arm/dl-machine.h @@ -279,6 +279,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. */ #define ELF_MACHINE_NO_RELA defined RTLD_BOOTSTRAP +#define ELF_MACHINE_NO_REL 0 /* Names of the architecture-specific auditing callback functions. */ #define ARCH_LA_PLTENTER arm_gnu_pltenter -- cgit v1.1