mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 07:39:22 +00:00
* grub-core/kern/arm/dl.c: Remove unnecessarry execution mode check.
This commit is contained in:
1 parent
636977b089
commit
74fa9417e5
2 files changed
+4
-4
No files matched your search
@@ -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>
|
2013-12-18 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
Mark strings for translation and add remaining ones to exclude list.
|
Mark strings for translation and add remaining ones to exclude list.
|
||||||
|
|||||||
@@ -210,10 +210,6 @@ grub_arch_dl_relocate_symbols (grub_dl_t mod, void *ehdr,
|
|||||||
/* Thumb instructions can be 16-bit aligned */
|
/* Thumb instructions can be 16-bit aligned */
|
||||||
grub_int32_t offset;
|
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);
|
sym_addr += grub_arm_thm_jump19_get_offset ((grub_uint16_t *) target);
|
||||||
|
|
||||||
offset = sym_addr - (grub_uint32_t) target;
|
offset = sym_addr - (grub_uint32_t) target;
|
||||||
|
|||||||
Reference in new issue
Block a user