olga / rpms / glibc

Forked from rpms/glibc 5 years ago
Clone

Blame SOURCES/glibc-armhfp-ELF_MACHINE_NO_REL-undefined.patch

aec5e3
From patchwork Thu Jul  3 13:26:40 2014
aec5e3
Content-Type: text/plain; charset="utf-8"
aec5e3
MIME-Version: 1.0
aec5e3
Content-Transfer-Encoding: 7bit
aec5e3
Subject: ARM: Define ELF_MACHINE_NO_REL
aec5e3
X-Patchwork-Submitter: Will Newton <will.newton@linaro.org>
aec5e3
X-Patchwork-Id: 366862
aec5e3
Message-Id: <1404394000-13429-1-git-send-email-will.newton@linaro.org>
aec5e3
To: libc-alpha@sourceware.org
aec5e3
Date: Thu,  3 Jul 2014 14:26:40 +0100
aec5e3
From: Will Newton <will.newton@linaro.org>
aec5e3
List-Id: <libc-alpha.sourceware.org>
aec5e3
aec5e3
Fix a -Wundef warning on ARM.
aec5e3
aec5e3
ChangeLog:
aec5e3
aec5e3
2014-07-03  Will Newton  <will.newton@linaro.org>
aec5e3
aec5e3
	* sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
aec5e3
---
aec5e3
 sysdeps/arm/dl-machine.h | 1 +
aec5e3
 1 file changed, 1 insertion(+)
aec5e3
aec5e3
diff --git a/sysdeps/arm/dl-machine.h b/sysdeps/arm/dl-machine.h
aec5e3
index c5ffc93..d6b0c52 100644
aec5e3
--- a/sysdeps/arm/dl-machine.h
aec5e3
+++ b/sysdeps/arm/dl-machine.h
aec5e3
@@ -296,6 +296,7 @@ elf_machine_plt_value (struct link_map *map, const Elf32_Rel *reloc,
aec5e3
 /* ARM never uses Elf32_Rela relocations for the dynamic linker.
aec5e3
    Prelinked libraries may use Elf32_Rela though.  */
aec5e3
 #define ELF_MACHINE_NO_RELA defined RTLD_BOOTSTRAP
aec5e3
+#define ELF_MACHINE_NO_REL 0
aec5e3
 
aec5e3
 /* Names of the architecture-specific auditing callback functions.  */
aec5e3
 #define ARCH_LA_PLTENTER arm_gnu_pltenter