[comp.unix.misc] SunOs Link Editor

wilf@dy4.uucp (Wilf Sullivan) (06/12/91)

We are trying to use the SunOs native link editor (ld) to create
an image for an embedded MC68020 target. To do this we need to be able
to specify the start addresses of the Text, Data, and BSS areas
for our programs. Our experience has been with System V Unix
link editors which allow you to specify these addresses using
a load-map file as input to the link editor. The Sun ld command
allows for command line arguments only; furthermore, it only
allows you to specify the Text and Data addresses (not the BSS
address).

Does anybody know how to specify the start address of the un-initialized
data area (BSS) when using the SunOs ld command?

---------------------------------------------------------------------------
Wilf Sullivan             Phone: (613) 596-9911 ext 451    DY 4  Systems
                          Fax:   (613) 596-0574            21 Fitzgerald Rd.
Uunet: wilf%dy4.uucp@uunet.uu.net                          Nepean, Ontario
BITNET: wilf%dy4.uucp@ccs.carleton.ca                      CANADA K2H 9J4
---------------------------------------------------------------------------