diff mbox

[COMMITTED,1/3] alpha: Define ELF_MACHINE_NO_RELA

Message ID 1400595513-6489-1-git-send-email-rth@twiddle.net
State Committed
Headers show

Commit Message

Richard Henderson May 20, 2014, 2:18 p.m. UTC
Squishes the Wundef warnings for this symbol.
---
 ChangeLog                  | 4 ++++
 sysdeps/alpha/dl-machine.h | 1 +
 2 files changed, 5 insertions(+)
diff mbox

Patch

diff --git a/ChangeLog b/ChangeLog
index fc75ff2..21a6fb8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@ 
+2014-05-18  Richard Henderson  <rth@redhat.com>
+
+	* sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
+
 2014-05-20  Will Newton  <will.newton@linaro.org>
 
 	* sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
diff --git a/sysdeps/alpha/dl-machine.h b/sysdeps/alpha/dl-machine.h
index 63db19c..e6537dd 100644
--- a/sysdeps/alpha/dl-machine.h
+++ b/sysdeps/alpha/dl-machine.h
@@ -242,6 +242,7 @@  $fixup_stack:							\n\
 
 /* The alpha never uses Elf64_Rel relocations.  */
 #define ELF_MACHINE_NO_REL 1
+#define ELF_MACHINE_NO_RELA 0
 
 /* We define an initialization functions.  This is called very early in
  *    _dl_sysdep_start.  */