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

Anders Magnusson <[email protected]>
Newsgroups gmane.os.netbsd.ports.vax,gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
>> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.