From d23c49221a13a57ba041ec6091ab510a912b8105 Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Wed, 14 Jan 2009 15:20:25 +0000 Subject: ldso: performs bootstrap relocations only if required by the arch. It is controlled by ARCH_NEEDS_BOOTSTRAP_RELOCS macro. Signed-off-by: Jirka Acked-by: Carmelo Amoroso --- ldso/ldso/sh64/dl-sysdep.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ldso/ldso/sh64') diff --git a/ldso/ldso/sh64/dl-sysdep.h b/ldso/ldso/sh64/dl-sysdep.h index bb78964ba..fc67b127c 100644 --- a/ldso/ldso/sh64/dl-sysdep.h +++ b/ldso/ldso/sh64/dl-sysdep.h @@ -19,9 +19,13 @@ /* Here we define the magic numbers that this dynamic loader should accept */ #define MAGIC1 EM_SH #undef MAGIC2 + /* Used for error messages */ #define ELF_TARGET "sh64" +/* Need bootstrap relocations */ +#define ARCH_NEEDS_BOOTSTRAP_RELOCS + struct elf_resolve; extern unsigned long _dl_linux_resolver(struct elf_resolve * tpnt, int reloc_entry); -- cgit v1.2.3