This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix power7 ppc64 binaries loading
On Tue, 2009-03-03 at 15:30 -0500, Daniel Jacobowitz wrote:
> On Tue, Mar 03, 2009 at 05:24:41PM -0300, Thiago Jung Bauermann wrote:
> > Does apuinfo get generated for every binary in every platform? Why
> > wasn't this an issue before? It just started being generated recently?
>
> I assume it is only generated for specific ISA extensions - and that
> both POWER7 and e500 have them. GAS says:
>
> if (ppc_cpu & (PPC_OPCODE_SPE
> | PPC_OPCODE_ISEL | PPC_OPCODE_EFS
> | PPC_OPCODE_BRLOCK | PPC_OPCODE_PMR | PPC_OPCODE_CACHELCK
> | PPC_OPCODE_RFMCI))
With Power ISA 2.06 which was just recently announced on power.org, the
isel instruction has now moved from an optional instruction to a required
instruction. The POWER7 processor is ISA 2.06 compliant, so it has the
PPC_OPCODE_ISEL flag set which triggers this...as will all future Power
processors.
That said, I have no idea what the apuinfo section is being used for.
Peter