On 28 March 2012 19:12, Volker Kuhlmann <[email protected]> wrote:
> On Wed 28 Mar 2012 10:01:56 NZDT +1300, Kent Fredric wrote:
>
>> http://www.muppetlabs.com/~breadbox/software/tiny/teensy.html
>
> Damn good read, thanks!
> The author must be really peeved not to have been able to shave off
> another 3 bytes...
>
> Had to install nasm just for that. Pity the program doesn't run, not on
> 64bit, 32bit, or an older 32bit. It always gets killed and exits with
> 137.
>
> Volker
>

Yeah, it is a bit outdated, you'd probably have to master
understanding the current ELF headers, perhaps recent ELF loaders are
stricter, and the system might need different code on 64bit arches (
even when compiled in 32 bit mode, I think the non-conformity of the
ELF header makes it not very portable to run on the 64bit system, as I
suspect 64-bit elf loaders might need to do more deep probing or be
stricter about the ELF header in order to detect "its 64, run in 64bit
mode" or something like that ).

One day I plan on understanding the ELF header format properly :/


-- 
Kent

perl -e  "print substr( \"edrgmaM  SPA NOcomil.ic\\@tfrken\", \$_ * 3,
3 ) for ( 9,8,0,7,1,6,5,4,3,2 );"

http://kent-fredric.fox.geek.nz
_______________________________________________
Linux-users mailing list
[email protected]
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users

Reply via email to