grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] ieee1275: Include a.out header in assembly of sparc64 boot l


From: John Paul Adrian Glaubitz
Subject: Re: [PATCH] ieee1275: Include a.out header in assembly of sparc64 boot loader
Date: Mon, 25 Mar 2019 18:22:03 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.2

On 3/25/19 6:17 PM, John Paul Adrian Glaubitz wrote:
>> $ grub-install --force --skip-fs-probe /dev/sdb1
>> Installing for sparc64-ieee1275 platform.
>> grub-install: error: the size of `/boot/grub/sparc64-ieee1275/boot.img' is 
>> not 512.
>>
>> $ ls -al /boot/grub/sparc64-ieee1275/boot.img
>> -rw-r--r--. 1 root root 544 Mar 25 12:10 /boot/grub/sparc64-ieee1275/boot.img
> 
> Hmm, let me have another look. Thanks for testing.

I am not done testing yet but I just realized, 544 = 512 + 32, so it looks
like the a.out header is appended twice. Does an older binutils maybe default
to a.out when just passing binary as the output format?

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - address@hidden
`. `'   Freie Universitaet Berlin - address@hidden
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



reply via email to

[Prev in Thread] Current Thread [Next in Thread]