diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2009-01-14 15:20:25 +0000 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2009-01-14 15:20:25 +0000 |
commit | d23c49221a13a57ba041ec6091ab510a912b8105 (patch) | |
tree | 6d54087854c4133485496c50cafb14f538bb9ba2 /ldso/ldso/sh64 | |
parent | cd3a494e99fa4bcad1c2a621b71361005528bead (diff) |
ldso: performs bootstrap relocations only if required by the arch.
It is controlled by ARCH_NEEDS_BOOTSTRAP_RELOCS macro.
Signed-off-by: Jirka <olsajiri@gmail.com>
Acked-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'ldso/ldso/sh64')
-rw-r--r-- | ldso/ldso/sh64/dl-sysdep.h | 4 |
1 files changed, 4 insertions, 0 deletions
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); |