about summary refs log tree commit diff
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
parent27b75f56c92b82fe335ae8b5365095854086894f (diff)
downloadglibc-80b5c505889ac4747aab54614d2bce18efa511ea.tar.gz
glibc-80b5c505889ac4747aab54614d2bce18efa511ea.tar.xz
glibc-80b5c505889ac4747aab54614d2bce18efa511ea.zip
Fix Wundef warning for ELF_MACHINE_NO_REL on i386
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/i386/dl-machine.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1c7e41de8d..79d80c0b74 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+	* sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
+
 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
 
 	* sysdeps/powerpc/memmove.c: Remove file.
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