* Ultrix internals: start and _gp .. help!
@ 1992-03-14 2:37 Brendan Kehoe
1992-03-16 20:42 ` Len Lattanzi
0 siblings, 1 reply; 2+ messages in thread
From: Brendan Kehoe @ 1992-03-14 2:37 UTC (permalink / raw)
Well, I've figured out how to set up a proper __start, for everything
except the symbol _gp .. does anyone (that can tell me) know what it
is? (I know, the global pointer area...but how would you declare it
in assembly/C?) Linking with my start.o works, but every object file
spits out a lot of:
R_GPREL relocation entry with no global pointer reference
and for the life of me, I can't figure out how to satisfy its needs.
(I couldn't find a version of gdb or gas out there that supports
global pointers yet.)
Thanks for any information...
Brendan
--
Brendan Kehoe, Sun Network Manager brendan@cs.widener.edu
Widener University Chester, PA
``M says that without you in the service, he fears for the security
of the civilized world.'' -- Now THAT will give you an ego.
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Ultrix internals: start and _gp .. help!
1992-03-14 2:37 Ultrix internals: start and _gp .. help! Brendan Kehoe
@ 1992-03-16 20:42 ` Len Lattanzi
0 siblings, 0 replies; 2+ messages in thread
From: Len Lattanzi @ 1992-03-16 20:42 UTC (permalink / raw)
In article <ks2pmhINNu6@lisa.cs.widener.edu> brendan@cs.widener.edu (Brendan Kehoe) writes:
:Well, I've figured out how to set up a proper __start, for everything
:except the symbol _gp .. does anyone (that can tell me) know what it
:is? (I know, the global pointer area...but how would you declare it
:in assembly/C?) Linking with my start.o works, but every object file
:spits out a lot of:
Try:
__start: la $gp, _gp
The mips linker will update the value of _gp
-Len
--
\
Len Lattanzi (Migration Software Systems Ltd 408 452 0527) <len@migration.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1992-03-16 20:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-03-14 2:37 Ultrix internals: start and _gp .. help! Brendan Kehoe
1992-03-16 20:42 ` Len Lattanzi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox