mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-26 09:10:53 +00:00
Succesfully loaded return-only module on ia64-emu
This commit is contained in:
1 parent
6f49d0aacb
commit
f9c30af6d0
8 files changed
+368
-7
No files matched your search
+18
-2
@@ -90,8 +90,11 @@ struct grub_dl
|
||||
grub_dl_dep_t dep;
|
||||
grub_dl_segment_t segment;
|
||||
Elf_Sym *symtab;
|
||||
void (*init) (struct grub_dl *mod);
|
||||
void (*fini) (void);
|
||||
grub_addr_t init;
|
||||
grub_addr_t fini;
|
||||
#ifdef __ia64__
|
||||
char *gp;
|
||||
#endif
|
||||
struct grub_dl *next;
|
||||
};
|
||||
typedef struct grub_dl *grub_dl_t;
|
||||
@@ -119,4 +122,17 @@ grub_err_t grub_arch_dl_relocate_symbols (grub_dl_t mod, void *ehdr);
|
||||
void grub_arch_dl_init_linker (void);
|
||||
#endif
|
||||
|
||||
#ifdef __ia64__
|
||||
grub_size_t grub_arch_dl_get_tramp_size (const void *ehdr, unsigned sec);
|
||||
#define GRUB_ARCH_DL_TRAMP_ALIGN 16
|
||||
#else
|
||||
static inline grub_size_t
|
||||
grub_arch_dl_get_tramp_size (const void *ehdr __attribute__ ((unused)), int sec __attribute__ ((unused)))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#define GRUB_ARCH_DL_TRAMP_ALIGN 1
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* ! GRUB_DL_H */
|
||||
Reference in new issue
Block a user