Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2003 10:38:27 -0700
From:      "David O'Brien" <obrien@freebsd.org>
To:        freebsd-ia64@freebsd.org
Subject:   (FWD) Does gcc violate the ia64 ABI?
Message-ID:  <20030530173827.GD90937@dragon.nuxi.com>

next in thread | raw e-mail | index | archive | help
----- Forwarded message from "H. J. Lu" <hjl@lucon.org> -----
I will open a bug in gcc bugzilla when conversion is done. In the
meantime, I opened

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=91056

The problem is gcc doesn't save/store gp across call. According to the
ia64 ABI, callee can change gp and gp must be saved/restore by caller
across calls. It is on page 5-2 in the Itanium Software Conventions
and Runtime Architecture Guide. Am I right?
----- End forwarded message -----

I have put the entire thread at
http://people.freebsd.org/~obrien/gcc-violate-ia64ABI.mbox

-- 
-- David  (obrien@FreeBSD.org)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030530173827.GD90937>