[rfc] PowerPC ABI detection and overrides

Ulrich Weigand uweigand@de.ibm.com
Mon Oct 29 19:27:00 GMT 2007


Daniel Jacobowitz wrote:

> Ignoring abfd is deliberate; we should be able to construct the same
> arch with or without a BFD.  But ignoring things derived from abfd is
> a bug indeed.  The MIPS target stashes ELF flags in its tdep structure
> for this reason.  PowerPC may not need that heavyweight check, but it
> does need some other things, e.g., sysv_abi.  Actually that's the only
> one that I see that ought to be checked.  Maybe that will fix the bug?

Yes, the bug I had was related to sysv_abi.  And in fact, sysv_abi should
be fully detectable simply from looking at info.osabi, it should IMO not
be computed independently from the BFD.  That's why I thought the proper
way to fix this problem was to stop looking directly at the BFD ...

Bye,
Ulrich


-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com



More information about the Gdb-patches mailing list