3 @@ -95,14 +95,16 @@ VARIABLE(stage2_id)
6 VARIABLE(version_string)
12 - .string "/boot/grub/menu.lst"
13 + .ascii "/boot/grub/menu.lst"
16 - .string "/boot/grub/stage2"
17 + .ascii "/boot/grub/stage2"
22 * Leave some breathing room for the config file name.
23 @@ -762,7 +764,9 @@ ENTRY(chain_stage1)
24 call EXT_C(prot_to_real)
27 -#ifdef ABSOLUTE_WITHOUT_ASTERISK
29 + DATA32 ADDR32 ljmp offset
30 +#elif defined(ABSOLUTE_WITHOUT_ASTERISK)
31 DATA32 ADDR32 ljmp (offset)
33 DATA32 ADDR32 ljmp *(offset)
34 --- a/stage2/char_io.c
35 +++ b/stage2/char_io.c
36 @@ -1345,5 +1345,12 @@ grub_strcpy (char *dest, const char *src
39 /* GCC emits references to memcpy() for struct copies etc. */
41 +void *memcpy (void *dest, const void *src, int n)
43 + return grub_memmove(dest, src, n);
46 void *memcpy (void *dest, const void *src, int n) __attribute__ ((alias ("grub_memmove")));