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 19:59:40 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.2

On 3/25/19 6:22 PM, John Paul Adrian Glaubitz wrote:
> 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?

Just did another test build, the sizes are correct for me:

address@hidden:~/grub/grub-core$ ls -l *img
-rwxr-xr-x 1 glaubitz glaubitz   512 Mar 25 19:02 boot.img
-rwxr-xr-x 1 glaubitz glaubitz   512 Mar 25 19:02 cdboot.img
-rwxr-xr-x 1 glaubitz glaubitz   512 Mar 25 19:02 diskboot.img
-rwxr-xr-x 1 glaubitz glaubitz 85888 Mar 25 19:02 kernel.img
address@hidden:~/grub/grub-core$

I will try it with an older version of binutils then and see what happens.

Will take a little longer as I also need to downgrade gcc and related
libraries as gcc-8 pulls in the newer binutils.

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]