tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PATCH] VAX libstdc++ common runtime - register used but not saved




http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/csu/vax/Attic/crt0.c.diff?r1=1.8&r2=1.9&hideattic=0&only_with_tag=MAIN&f=h

Can we replace 0x0101 to 0x0000 here?
Sounds good to me.
It's historical, yes.
It was a (quite common) trick to be able to load an a.out image (with a.out header stripped using dd first) and begin execution at at first address.  Use for example in the boot programs.

But please check that a system is bootable before committing this. I'm not sure that everything related to exec starts from (address + 2) :-)

-- Ragge


Home | Main Index | Thread Index | Old Index