[syslinux] [syslinux:firmware] load_linux: Don' t use size heuristic for non-relocatable kernels

Christian Hesse list at eworm.de
Thu Dec 5 00:23:58 PST 2013


"syslinux-bot for H. Peter Anvin" <hpa at zytor.com> on Wed, 2013/12/04 12:39:
> Commit-ID:  ef81a3ad54845ffb5ad62714cd62db4740ad5cff
> Gitweb:
> http://www.syslinux.org/commit/ef81a3ad54845ffb5ad62714cd62db4740ad5cff
> Author:     H. Peter Anvin <hpa at zytor.com> AuthorDate: Wed, 4 Dec 2013
> 12:35:09 -0800 Committer:  H. Peter Anvin <hpa at zytor.com>
> CommitDate: Wed, 4 Dec 2013 12:37:55 -0800
> 
> load_linux: Don't use size heuristic for non-relocatable kernels
> 
> For non-relocatable kernels, it really makes no sense to estimate how
> much space the kernel is going to need, as if we fail, there is really
> nothing we can do about it.  Furthermore, it is actively wrong for
> zImage kernels (which aren't decompressed in place) and for non-Linux
> kernels.
> 
> Additionally, tweak the code for assigning an address to the command
> line to handle a few more corner cases correctly, be simpler, and not
> need to build the memory map again since we already are doing that
> elsewhere.

Thanks a lot!

Please feel free to close bug #40 [0], I opened it to track changes and make
sure it does not get forgotten.

http://bugzilla.syslinux.org/show_bug.cgi?id=40
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Chris           get my mail address:    */=0;b=c[a++];)
putchar(b-1/(/*               gcc -o sig sig.c && ./sig    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://www.zytor.com/pipermail/syslinux/attachments/20131205/1ea8fad4/attachment.sig>


More information about the Syslinux mailing list