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:
		
							parent
							
								
									9bbdfd4d3b
								
							
						
					
					
						commit
						c402ab1734
					
				
					 10 changed files with 71 additions and 81 deletions
				
			
		|  | @ -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; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue