BSD on relocators

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-01-11 22:54:40 +01:00
parent d45dca5ab3
commit 108408aa39
7 changed files with 338 additions and 114 deletions

View file

@ -140,7 +140,7 @@ grub_elf32_load_phdrs (grub_elf_t elf)
return GRUB_ERR_NONE;
}
static grub_err_t
grub_err_t
grub_elf32_phdr_iterate (grub_elf_t elf,
int NESTED_FUNC_ATTR (*hook) (grub_elf_t, Elf32_Phdr *, void *),
void *hook_arg)
@ -321,7 +321,7 @@ grub_elf64_load_phdrs (grub_elf_t elf)
return GRUB_ERR_NONE;
}
static grub_err_t
grub_err_t
grub_elf64_phdr_iterate (grub_elf_t elf,
int NESTED_FUNC_ATTR (*hook) (grub_elf_t, Elf64_Phdr *, void *),
void *hook_arg)