Questions on /bin/ld for SVR[23]
Fariborz "Skip" Tavakkolian
fst at gtenmc.UUCP
Mon Dec 4 09:38:55 AEST 1989
Help!
How does one tell the SVR[23] loader to load a ".o" dynamically
(i.e. using current program symbols and the given location for
entry point of .o), when the loader does not have -A and -T
flags (-A param gives the name of the file with the needed symbol
table and -T gives the location of the entry point for the .o).
SVR[23] loaders allow files that have loader directives of how
to arrange things, but my UNTRAINED eye did not see anything that
would produce the same effect as -A and -T.
P.S. (I'm using 3B1 (UNIXPC) with SVR2 and 3B2 with SVR3.2) and
I am trying to find replacement for the following line in
source (something like this):
/bin/ld -N -x -A <full-path name of this process> \
-T <the aligned sbrk() value> foo.o -o /tmp/Xldxxxx
(If you think I don't know what I'm talking about, you're probably
right :-) )
Many thanks.
--
Fariborz "Skip" Tavakkolian of Automated Cellular Engineering
Currently consulting at GTE Telecom, Inc.
Mail tiny1!fst at mcgp1 / tiny1!fst at gtenmc / fst at gtenmc
More information about the Comp.unix.questions
mailing list