aboutsummaryrefslogtreecommitdiff
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
parent3d9eb57c55c30a6fd69b056851e3ed9f07cd97c5 (diff)
downloadglibc-6b7b14b26f07ddcd1f292ad8de31fa1d9fc13f43.zip
glibc-6b7b14b26f07ddcd1f292ad8de31fa1d9fc13f43.tar.gz
glibc-6b7b14b26f07ddcd1f292ad8de31fa1d9fc13f43.tar.bz2
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.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/arm/dl-machine.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5f12906..e255a3d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-07-04 Will Newton <will.newton@linaro.org>
+
+ * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
+
2014-07-03 Roland McGrath <roland@hack.frob.com>
* 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