This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PowerPC binary tagging


On Mon, Apr 16, 2007 at 03:19:58PM -0700, Richard Henderson wrote:
> On Mon, Apr 16, 2007 at 08:45:44AM -0400, Daniel Jacobowitz wrote:
> > Has anyone thought about implementing this for PowerPC?  Do we have
> > spare ELF header bits, or should we use a separate section?  The
> > closest think I know if is the .PPC.EMB.apuinfo section, used to tag
> > SPE binaries, but that's coprocessor usage rather than ABI.
> 
> DW_AT_calling_convention?  Is there any particular need to
> mark the binary itself?

If we're going to go to the trouble of marking them at all, I figured
we ought to do it in such a way that we could get linker warnings too.
If no one else thinks it's important, though, DW_AT_calling_convention
would fix the GDB problem 99% of the time - and it's dead easy...

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]