From: Vladimir 'phcoder' Serbinenko Date: Sun, 29 Nov 2009 11:26:15 +0000 (+0100) Subject: Fix JUMP_SIZEOF X-Git-Tag: 1.98~160^2~52 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=badcfeeac0680962b4e0b8018b328abf21cf7ff4;p=thirdparty%2Fgrub.git Fix JUMP_SIZEOF --- diff --git a/lib/mips/relocator.c b/lib/mips/relocator.c index 40be263c7..118ddbd6f 100644 --- a/lib/mips/relocator.c +++ b/lib/mips/relocator.c @@ -36,7 +36,7 @@ extern grub_uint8_t grub_relocator32_backward_start; extern grub_uint8_t grub_relocator32_backward_end; #define REGW_SIZEOF (2 * sizeof (grub_uint32_t)) -#define JUMP_SIZEOF (sizeof (grub_uint32_t)) +#define JUMP_SIZEOF (2 * sizeof (grub_uint32_t)) #define RELOCATOR_SRC_SIZEOF(x) (&grub_relocator32_##x##_end \ - &grub_relocator32_##x##_start)