about summary refs log tree commit diff
path: root/sysdeps/arm/dl-machine.h
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2014-07-03 10:50:50 +0100
committerWill Newton <will.newton@linaro.org>2014-07-04 08:58:21 +0100
commit6b7b14b26f07ddcd1f292ad8de31fa1d9fc13f43 (patch)
tree2107b319506456ae9593a55e97ca44463317e698 /sysdeps/arm/dl-machine.h
parent3d9eb57c55c30a6fd69b056851e3ed9f07cd97c5 (diff)
downloadglibc-6b7b14b26f07ddcd1f292ad8de31fa1d9fc13f43.tar.gz
glibc-6b7b14b26f07ddcd1f292ad8de31fa1d9fc13f43.tar.xz
glibc-6b7b14b26f07ddcd1f292ad8de31fa1d9fc13f43.zip
ARM: Define ELF_MACHINE_NO_REL
Fix a -Wundef warning on ARM.

ChangeLog:

2014-07-04  Will Newton  <will.newton@linaro.org>

	* sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
Diffstat (limited to 'sysdeps/arm/dl-machine.h')
-rw-r--r--sysdeps/arm/dl-machine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/arm/dl-machine.h b/sysdeps/arm/dl-machine.h
index c5ffc9304c..d6b0c5210e 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