[ipxe-devel] [PATCH 1/1] make sure not to generate position independent code

Christian Hesse list at eworm.de
Tue Apr 7 14:10:36 UTC 2015


Christian Hesse <list at eworm.de> on Thu, 2015/04/02 13:15:
> From: Christian Hesse <mail at eworm.de>
> 
> We have assembler code that breaks when generating position independent
> code. So make sure we do not.

Mhh... This fixes build for BIOS version, but breaks EFI...
So what does a correct fix look like?
-- 
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: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20150407/6ca969b0/attachment.sig>


More information about the ipxe-devel mailing list