about summary refs log tree commit diff
path: root/elf/dl-runtime.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-06-26 15:17:40 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-06-26 22:30:40 +0530
commit4cf5b6d0d7c8dd40526375f384133262ed7b2ccc (patch)
tree0e2b3ea0a605a918b4237d887e072ecce12a34f9 /elf/dl-runtime.c
parent2aac0a862334f3370a7e0b6bc7a53cf0ab847182 (diff)
downloadglibc-4cf5b6d0d7c8dd40526375f384133262ed7b2ccc.tar.gz
glibc-4cf5b6d0d7c8dd40526375f384133262ed7b2ccc.tar.xz
glibc-4cf5b6d0d7c8dd40526375f384133262ed7b2ccc.zip
Fix Wundef warning for ELF_MACHINE_NO_RELA
This patch defines ELF_MACHINE_NO_RELA on all architectures.  Tested
only on x86_64 to verify that the sources before and after are
identical except for two instructions that pass the current line
number in dl-machine.h to assert_fail.
Diffstat (limited to 'elf/dl-runtime.c')
-rw-r--r--elf/dl-runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-runtime.c b/elf/dl-runtime.c
index 773cb42610..11eba4a832 100644
--- a/elf/dl-runtime.c
+++ b/elf/dl-runtime.c
@@ -29,7 +29,7 @@
 #include <dl-irel.h>
 
 
-#if (!defined ELF_MACHINE_NO_RELA && !defined ELF_MACHINE_PLT_REL) \
+#if (!ELF_MACHINE_NO_RELA && !defined ELF_MACHINE_PLT_REL) \
     || ELF_MACHINE_NO_REL
 # define PLTREL  ElfW(Rela)
 #else