Re: Use of constraints when mapping C variables to ASM symbolic names?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 21, 2015 at 12:37:00PM -0400, Jeffrey Walton wrote:
> >> Well, there's a lot to be said about those inferior compilers that
> >> "just work" :)
> >
> > Write plain assembler if you want that.  You'll have to deal with ABIs
> > and all that, but you say you don't mind, so okay :-)
> 
> Thanks Segher. How does one write plain assembler? (Its a real
> question; I've only seen the Extended ASM for [multi-line] inline
> assembly).

You make a bla.s or bla.S file containing assembler code.  You can
run "gcc -c" on that, just like on e.g. a bla.c file.


Segher



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux