public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] IP-relative calls in start.S and initfini.c
@ 2000-05-02 21:36 Omar Stradella
  2000-05-02 22:00 ` Jim Wilson
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Omar Stradella @ 2000-05-02 21:36 UTC (permalink / raw)
  To: linux-ia64

I'm trying to build a large program but the executable coredumps in
_start. The reason is that _start (start.S) calls __libc_start_main using
a IP-relative call instruction. libc is inserted after all the object
files at an address that is more than 16MB away from the call instruction.
Same happens in _init (initfini.c). Could be possible to load the address
in a register and do an indirect call instead ?

Thanks,

Omar.
+---------------------------------------------------------------------+
Omar G. Stradella, Ph.D.                    
SGI / Chemistry and Biology Applications Group
1 Cabot Rd, Suite 250, Hudson, MA 01749, USA    N 42 22'40" W 71 33'44"
E-mail: omar@sgi.com        Phone: +1-781-839-2258 FAX: +1-978-562-7450 
http://www.sgi.com/chembio                  http://reality.sgi.com/omar 
+--------  Ph-nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn  -------+





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2000-05-20  3:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-02 21:36 [Linux-ia64] IP-relative calls in start.S and initfini.c Omar Stradella
2000-05-02 22:00 ` Jim Wilson
2000-05-02 22:20 ` Omar Stradella
2000-05-02 22:25 ` Jim Wilson
2000-05-11 18:24 ` Omar Stradella
2000-05-12  2:50 ` Jim Wilson
2000-05-15 17:57 ` Omar Stradella
2000-05-17 20:17 ` Jim Wilson
2000-05-17 22:28 ` Omar Stradella
2000-05-20  3:15 ` Uros Prestor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox