1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

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.
This commit is contained in:
Siddhesh Poyarekar
2014-06-26 15:17:40 +05:30
parent 2aac0a8623
commit 4cf5b6d0d7
17 changed files with 35 additions and 1 deletions

View File

@ -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