* kern/dl.c: Go back to using GRUB_CPU_SIZEOF_VOID_P. We cannot
load foreign architecture modules correctly anyway. Keep
support for loading host architecture modules, whether we
compile them or not.
+2008-07-18 Pavel Roskin <proski@gnu.org>
+
+ * kern/dl.c: Go back to using GRUB_CPU_SIZEOF_VOID_P. We cannot
+ load foreign architecture modules correctly anyway. Keep
+ support for loading host architecture modules, whether we
+ compile them or not.
+
2008-07-17 Pavel Roskin <proski@gnu.org>
* configure.ac: Use -m32 or -m64 regardless of whether we had to
#include <grub/env.h>
#include <grub/cache.h>
-#if GRUB_TARGET_SIZEOF_VOID_P == 4
+#if GRUB_CPU_SIZEOF_VOID_P == 4
typedef Elf32_Word Elf_Word;
typedef Elf32_Addr Elf_Addr;
# define ELF_ST_BIND(val) ELF32_ST_BIND (val)
# define ELF_ST_TYPE(val) ELF32_ST_TYPE (val)
-#elif GRUB_TARGET_SIZEOF_VOID_P == 8
+#elif GRUB_CPU_SIZEOF_VOID_P == 8
typedef Elf64_Word Elf_Word;
typedef Elf64_Addr Elf_Addr;