* grub-core/kern/arm/dl.c: Remove unnecessarry execution mode check.

This commit is contained in:
Vladimir Serbinenko 2013-12-18 07:06:23 +01:00
parent 636977b089
commit 74fa9417e5
2 changed files with 4 additions and 4 deletions

View file

@ -1,3 +1,7 @@
2013-12-18 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/arm/dl.c: Remove unnecessarry execution mode check.
2013-12-18 Vladimir Serbinenko <phcoder@gmail.com>
Mark strings for translation and add remaining ones to exclude list.

View file

@ -210,10 +210,6 @@ grub_arch_dl_relocate_symbols (grub_dl_t mod, void *ehdr,
/* Thumb instructions can be 16-bit aligned */
grub_int32_t offset;
if (!(sym_addr & 1))
return grub_error (GRUB_ERR_BAD_MODULE,
N_("Relocation targeting wrong execution state"));
sym_addr += grub_arm_thm_jump19_get_offset ((grub_uint16_t *) target);
offset = sym_addr - (grub_uint32_t) target;