[PATCH] PowerPC support for the ELFv2 ABI (powerpc64le-linux)

Ulrich Weigand Ulrich.Weigand at de.ibm.com
Mon Jul 28 06:30:03 PDT 2014


Hal Finkel <hfinkel at anl.gov> wrote on 18.07.2014 23:32:01:

> > A final note: as with the LLVM series, I have not (yet) implemented
> > the
> > -mabi=elfv1 / -mabi=elfv2 command line arguments.  Instead, we
> > hard-code
> > ppc64 to use ELFv1 and ppc64le to use ELFv2.  If desired, it should
> > be
> > straight-forward to implement the option machinery and hook it up to
> > the
> > ELFv2 ABI flag passed to the PPC64_SVR4_TargetCodeGenInfo
> > constructor.
>
> I do think this will be desirable, please submit a follow-up patch for
that.

I've now checked in support for selecting the ABI via -mabi= as
commits 214072/214073 (LLVM) and 214074 (clang).

For completeness, it might be useful to backport those to the 3.5
branch as well ...


Bye,
Ulrich




More information about the cfe-commits mailing list