[dragonegg PATCH] Add support for using the integrated assembler

Duncan Sands baldrick at free.fr
Fri Mar 29 02:00:20 PDT 2013


Hi Peter,

On 29/03/13 09:20, Peter Collingbourne wrote:
> On Fri, Mar 29, 2013 at 09:04:43AM +0100, Duncan Sands wrote:
>> Hi Peter,
>>
>>> Attached patch adds support for using the integrated assembler.
>>
>> how does this work, i.e. how does it manage to stop gcc from passing the
>> assembled output to the system assembler?
>
> The included specs file overrides the invoke_as spec (which is normally
> used to pipe the assembler onto the frontend if -S is not supplied --
> grep for invoke_as in the gcc sources) to replace the pipe with just
> a flag requesting object emission and a -o flag for the object file.

this is great, thanks for working out how to do this.  The patch looks good,
please apply it!

Ciao, Duncan.



More information about the llvm-commits mailing list