Quoting Andi Kleen <a...@firstfloor.org>:
I admit I haven't looked into gas code, but naively it can't be all that difficult to e.g. run gas as a thread and pass the text input through some shared memory buffer?
If you are generating text anyway, there should be little difference to the existing -pipe option - at least on operating systems that can handle processes efficiently.