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: glaubitz@kyoto:~/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 glaubitz@kyoto:~/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 - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel