* grub-core/kern/x86_64/dl.c (grub_arch_dl_relocate_symbols): Issue

an error and not a fatal on unrecognised relocation types.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-11-11 18:05:16 +01:00
parent 63a9e6f6a0
commit 9bb182f371
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/x86_64/dl.c (grub_arch_dl_relocate_symbols): Issue
an error and not a fatal on unrecognised relocation types.
2011-11-11 Vladimir Serbinenko <phcoder@gmail.com> 2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/ieee1275/openfw.c (grub_ieee1275_parse_args): * grub-core/kern/ieee1275/openfw.c (grub_ieee1275_parse_args):

View file

@ -109,7 +109,9 @@ grub_arch_dl_relocate_symbols (grub_dl_t mod, void *ehdr)
break; break;
default: default:
grub_fatal ("Unrecognized relocation: %d\n", ELF_R_TYPE (rel->r_info)); return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET,
"this relocation (%d) is not implemented yet",
ELF_R_TYPE (rel->r_info));
} }
} }
} }