Subject: More on the crosscompiler...
To: NetBSD VAX Port <port-vax@netbsd.org>
From: Anders Hogrelius SdU <elt96ahs@mds.mdh.se>
List: port-vax
Date: 11/23/1999 00:24:09
Good Evening!

In order to make ld run correctly i need some information on
the binary format of the NetBSD-vax executables. There are some
stuff that needs to go in the emulparams script. What i need to
know is this:

What is the "default" .text start address for NetBSD-vax binaries?
On ultrix the default start address is 0
What should i set as "TARGET_PAGE_SIZE"? Default for a.out on vax
(ultrix) is 1024.

If someone is familiar with the emulparams scripts in ld, i would
be glad to know if there are anything else that needs to be put
into the script for netbsd-vax. The default file looks like this.
file: vaxnbsd.sh
<snip>
SCRIPT_NAME=aout
OUTPUT_FORMAT="a.out-vax-netbsd"
TEXT_START_ADDR=0
TARGET_PAGE_SIZE=1024
ARCH=vax
EXECUTABLE_SYMBOLS='__DYNAMIC = 0;'
</snip>

-- 
cheers,

/Anders

 
"Let the future tell the truth and evaluate each one according 
to his work and accomplishments. The present is theirs, the 
future, for which I really worked, is mine." 
(Nikola Tesla, 1856-1943)

*******************************************************************
* Anders Hogrelius SdU   Phone : +46 21 381860   
* Tessingatan 12         E-mail: elt96ahs@mds.mdh.se         
* 72216 Vasteras