From: Siddhesh Poyarekar Date: Tue, 8 Jul 2014 10:49:55 +0000 (+0530) Subject: Fix Wundef warning for ELF_MACHINE_NO_REL on i386 X-Git-Tag: glibc-2.20~126 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=80b5c505889ac4747aab54614d2bce18efa511ea;p=platform%2Fupstream%2Fglibc.git Fix Wundef warning for ELF_MACHINE_NO_REL on i386 --- diff --git a/ChangeLog b/ChangeLog index 1c7e41d..79d80c0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-07-08 Siddhesh Poyarekar + + * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL. + 2014-07-08 Adhemerval Zanella * sysdeps/powerpc/memmove.c: Remove file. diff --git a/sysdeps/i386/dl-machine.h b/sysdeps/i386/dl-machine.h index 368bee2..a3a632c 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