[COMMITTED] Fix Wundef warning for ELF_MACHINE_NO_REL on i386
Commit Message
Hi,
I'll be committing a similar fix to Will's[1] for i386. Verified that
the generated code is identical.
Siddhesh
[1] http://patchwork.sourceware.org/patch/1875/
commit 9e2eeafc5e9fbbf77bb8270f293840a5bbf59b32
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date: Tue Jul 8 16:19:55 2014 +0530
Fix Wundef warning for ELF_MACHINE_NO_REL on i386
@@ -1,5 +1,7 @@
2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
+ * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
+
* localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
Remove code.
* localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
@@ -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