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