From b1fb0d0bf5d09bf9dbdbc320814bd087d4d26460 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 22 May 2016 10:26:26 +0200 Subject: microblaze: fix ELF detection in ld.so --- ldso/ldso/microblaze/dl-sysdep.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ldso') diff --git a/ldso/ldso/microblaze/dl-sysdep.h b/ldso/ldso/microblaze/dl-sysdep.h index 2b5521887..b293d27cc 100644 --- a/ldso/ldso/microblaze/dl-sysdep.h +++ b/ldso/ldso/microblaze/dl-sysdep.h @@ -30,11 +30,14 @@ do { \ /* Here we define the magic numbers that this dynamic loader should accept */ -#define MAGIC1 EM_MICROBLAZE_OLD +#define MAGIC1 EM_MICROBLAZE #undef MAGIC2 /* Used for error messages */ #define ELF_TARGET "microblaze" +struct elf_resolve; +unsigned long _dl_linux_resolver(struct elf_resolve * tpnt, int reloc_entry); + #define elf_machine_type_class(type) \ (((type) == R_MICROBLAZE_JUMP_SLOT) * ELF_RTYPE_CLASS_PLT \ | ((type) == R_MICROBLAZE_COPY) * ELF_RTYPE_CLASS_COPY) -- cgit v1.2.3