ieee1275: Include a.out header in assembly of sparc64 boot loader
Recent versions of binutils dropped support for the a.out and COFF formats on sparc64 targets. Since the boot loader on sparc64 is supposed to be an a.out binary and the a.out header entries are rather simple to calculate in our case, we just write the header ourselves instead of relying on external tools to do that. Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
f91e4d1633
commit
5635e799fd
3 changed files with 38 additions and 9 deletions
|
@ -46,8 +46,7 @@
|
|||
|
||||
#define GRUB_BOOT_MACHINE_KERNEL_BYTE 0x80
|
||||
|
||||
#define GRUB_BOOT_MACHINE_CODE_END \
|
||||
(0x1fc - GRUB_BOOT_AOUT_HEADER_SIZE)
|
||||
#define GRUB_BOOT_MACHINE_CODE_END 0x1fc
|
||||
|
||||
#define GRUB_BOOT_MACHINE_KERNEL_ADDR 0x4200
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue