|
@@ -30,11 +30,14 @@ do { \
|
|
|
|
|
|
/* Here we define the magic numbers that this dynamic loader should accept */
|
|
/* Here we define the magic numbers that this dynamic loader should accept */
|
|
|
|
|
|
-#define MAGIC1 EM_MICROBLAZE_OLD
|
|
+#define MAGIC1 EM_MICROBLAZE
|
|
#undef MAGIC2
|
|
#undef MAGIC2
|
|
/* Used for error messages */
|
|
/* Used for error messages */
|
|
#define ELF_TARGET "microblaze"
|
|
#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) \
|
|
#define elf_machine_type_class(type) \
|
|
(((type) == R_MICROBLAZE_JUMP_SLOT) * ELF_RTYPE_CLASS_PLT \
|
|
(((type) == R_MICROBLAZE_JUMP_SLOT) * ELF_RTYPE_CLASS_PLT \
|
|
| ((type) == R_MICROBLAZE_COPY) * ELF_RTYPE_CLASS_COPY)
|
|
| ((type) == R_MICROBLAZE_COPY) * ELF_RTYPE_CLASS_COPY)
|