[PATCH][AsmParser][MC] Allow asm parser to emit elf header flags

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Oct 24 17:11:56 PDT 2013


On 24 October 2013 19:54, Rich Fuhler <Rich.Fuhler at imgtec.com> wrote:
> Hi Rafael, MIPS GCC emits a directive in the .s file for many command line
> arguments.  So if I compile with -mabicalls, I'm going to see a:
>     .set.    abicalls
> In the .s file. For integrated-as, I'd set the bit.
>

In which case just a emitAbiCalls should do it, no? I mean, if gnu as
with just that can figure out the correct flags, so can the mips
target object streamer.

Cheers,
Rafael



More information about the llvm-commits mailing list