mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 07:12:39 +00:00
2009-06-26 Pavel Roskin <proski@gnu.org>
* include/grub/types.h: Define GRUB_TARGET_WORDSIZE. * include/grub/elf.h: Define symbols without "32" or "64" based on GRUB_TARGET_WORDSIZE. * include/grub/multiboot2.h: Use GRUB_TARGET_WORDSIZE. * efiemu/loadcore32.c: Redefine GRUB_TARGET_WORDSIZE, remove own ELF definitions. * efiemu/loadcore64.c: Likewise. * loader/i386/bsd32.c: Likewise. * loader/i386/bsd64.c: Likewise. * kern/dl.c: Remove own ELF definitions. * util/i386/efi/grub-mkimage.c: Likewise.
This commit is contained in:
1 parent
9bbdfd4d3b
commit
c402ab1734
10 files changed
+71
-81
No files matched your search
+1
-3
@@ -1,7 +1,5 @@
|
||||
#define SUFFIX(x) x ## 32
|
||||
#define Elf_Ehdr Elf32_Ehdr
|
||||
#define Elf_Shdr Elf32_Shdr
|
||||
#define Elf_Sym Elf32_Sym
|
||||
#define GRUB_TARGET_WORDSIZE 32
|
||||
#define OBJSYM 0
|
||||
#include <grub/types.h>
|
||||
typedef grub_uint32_t grub_freebsd_addr_t;
|
||||
|
||||
Reference in new issue
Block a user