From 74fa9417e5d94c85bf4c227377b4f06e1aacffe5 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Wed, 18 Dec 2013 07:06:23 +0100 Subject: [PATCH] * grub-core/kern/arm/dl.c: Remove unnecessarry execution mode check. --- ChangeLog | 4 ++++ grub-core/kern/arm/dl.c | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index a99cb60bd..ee9f467d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-12-18 Vladimir Serbinenko + + * grub-core/kern/arm/dl.c: Remove unnecessarry execution mode check. + 2013-12-18 Vladimir Serbinenko Mark strings for translation and add remaining ones to exclude list. diff --git a/grub-core/kern/arm/dl.c b/grub-core/kern/arm/dl.c index 26da0ac22..57cac2e75 100644 --- a/grub-core/kern/arm/dl.c +++ b/grub-core/kern/arm/dl.c @@ -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;