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