This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Marking ia64 psABI conformance (Re: PATCH: Support the .note.GNU-property section)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: Nick Clifton <nickc at redhat dot com>, binutils at sources dot redhat dot com, gcc at gcc dot gnu dot org
- Date: Thu, 5 Jun 2003 16:49:37 +0200
- Subject: Re: Marking ia64 psABI conformance (Re: PATCH: Support the .note.GNU-property section)
- References: <20030604173434.A14972@lucon.org> <m3r868dh2v.fsf@redhat.com> <20030605074604.A26498@lucon.org>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Jun 05, 2003 at 07:46:04AM -0700, H. J. Lu wrote:
> On Thu, Jun 05, 2003 at 10:11:36AM +0100, Nick Clifton wrote:
> > Hi H.J.
> >
> > > This patch implements the .note.GNU-property section I proposed. It
> > > works on Linux/ia32 and Linux/ia64.
> >
> > I would prefer holding off applying this patch until we have a use for
> > it. Otherwise it would just bit rot away over time.
> >
>
> As you may know, the current gcc violates the ia64 psABI by not
> preserving gp across function calls. The relocatable file created by
> the current gcc may not be binary compatible with the relocatable
> file generated by other ia64 psABI conforming compilers. The result
> is we may get random run-time failure. We'd like to have a way to
> detect such a condition. Here is one way to do that using the
> .note.GNU-property section.
On the other side, IA-64 does not need PT_GNU_STACK handling, since
its trampolines don't need executable stack.
Jakub