[LLVMdev] getting gold plugin to work?

Rafael Espindola espindola at google.com
Mon Oct 5 13:04:16 PDT 2009


> That would work for gold, but what about nm, etc.?

You would still need to copy it :-(

> I have no idea how to reduce this.
>
> Configure llvm-gcc for "arm-eabi" and use "--with-cpu=cortex-a8
> --with-fpu=neon --with-abi=aapcs --with-float=hard". The triple in the
> bitcode will be "armv7-eabi" but the actual CPU subtarget won't be
> known to the gold plugin. I'd think the same would be true for any
> cross-compiler. Note that self-hosting X86 will eventually use a CPUID
> instruction to determine the proper subtarget on the fly so it will
> usually be correct.

I will try to take a look, but it will take some time.

> deep
>


Cheers,
-- 
Rafael Ávila de Espíndola




More information about the llvm-dev mailing list