[LLVMdev] [MC] [llvm-mc] Getting target specific information to <target>ELFObjectWriter

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Dec 7 13:52:03 PST 2012

On 6 December 2012 17:49, Carter, Jack <jcarter at mips.com> wrote:
> Older targets like Mips had/have assemblers and ABIs that carry a lot of
> baggage.
> The small bit of baggage that is giving me fits is that MipsELFObjectWriter
> needs to know the relocation model (static,pic,cpic), whether we are using
> xgot (-mgot), which abi (old,new), which architecture (32r[123],64[123]),
> which if any coprocessor or extention instructions are used
> (mips16,micromips,etc.).

So the mips assembler has command line options like -fPIC?


More information about the llvm-dev mailing list