]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/kern/arm/dl.c: Remove unnecessarry execution mode check.
authorVladimir Serbinenko <phcoder@gmail.com>
Wed, 18 Dec 2013 06:06:23 +0000 (07:06 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Wed, 18 Dec 2013 06:06:23 +0000 (07:06 +0100)
ChangeLog
grub-core/kern/arm/dl.c

index a99cb60bd3913a286a0bf282bd50d11e700a8cfa..ee9f467d593e5819e3ec99d4026b06195d9b4fc5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 26da0ac22b1887f0e170ad010f7ef17e89d3616c..57cac2e751359b87fd16a911d8665f9a9ec322ae 100644 (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;