about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-07-08 16:19:55 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-07-08 22:52:45 +0530
commit80b5c505889ac4747aab54614d2bce18efa511ea (patch)
tree0b99bbbbb3e06923253c7247b11186b4bddb1ba9 /sysdeps
parent27b75f56c92b82fe335ae8b5365095854086894f (diff)
downloadglibc-80b5c505889ac4747aab54614d2bce18efa511ea.tar.gz
glibc-80b5c505889ac4747aab54614d2bce18efa511ea.tar.xz
glibc-80b5c505889ac4747aab54614d2bce18efa511ea.zip
Fix Wundef warning for ELF_MACHINE_NO_REL on i386
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/i386/dl-machine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/i386/dl-machine.h b/sysdeps/i386/dl-machine.h
index 368bee2164..a3a632cda2 100644
--- a/sysdeps/i386/dl-machine.h
+++ b/sysdeps/i386/dl-machine.h
@@ -292,6 +292,7 @@ elf_machine_plt_value (struct link_map *map, const Elf32_Rel *reloc,
 /* The i386 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
 
 #ifdef RESOLVE_MAP