make netbsd kernel symbols non-mandatory (not present on netbsd64)
This commit is contained in:
parent
96c713b69d
commit
839aec66c9
1 changed files with 1 additions and 1 deletions
|
@ -401,7 +401,7 @@ SUFFIX (grub_netbsd_load_elf_meta) (struct grub_relocator *relocator,
|
||||||
break;
|
break;
|
||||||
if (s >= (Elf_Shdr *) ((char *) shdr
|
if (s >= (Elf_Shdr *) ((char *) shdr
|
||||||
+ e.e_shnum * e.e_shentsize))
|
+ e.e_shnum * e.e_shentsize))
|
||||||
return grub_error (GRUB_ERR_BAD_OS, "no symbol table");
|
return GRUB_ERR_NONE;
|
||||||
symsize = s->sh_size;
|
symsize = s->sh_size;
|
||||||
symsh = s;
|
symsh = s;
|
||||||
s = (Elf_Shdr *) (shdr + e.e_shentsize * s->sh_link);
|
s = (Elf_Shdr *) (shdr + e.e_shentsize * s->sh_link);
|
||||||
|
|
Loading…
Reference in a new issue