|
From: Bart V. A. <bar...@gm...> - 2009-02-26 18:06:51
|
On Thu, Feb 26, 2009 at 3:47 AM, Nicholas Nethercote <n.n...@gm...> wrote: > On Wed, Feb 25, 2009 at 5:56 PM, Bart Van Assche > <bar...@gm...> wrote: >> On Wed, Feb 25, 2009 at 3:50 AM, Nicholas Nethercote >> <n.n...@gm...> wrote: >>> x86/Linux assembly code and x86/Darwin assembly code appear to be >>> different dialects. Some of the tests in none/tests/x86/ and >>> memcheck/tests/x86/ compile on x86/Darwin, eg. >>> memcheck/tests/bug152022. But some don't, eg. pushfpopf, because >>> x86/Darwin assembler doesn't accept the .type and .size options. >>> >>> The easiest thing to do is move the ones that don't compile on Darwin >>> into an x86-linux/ directory. Anyone have any strong opinons about >>> this, or other insights? >> >> Which standards apply to x86 assembler syntax ? > > I'm not sure that there are any. This seems to be the definitive > documentation on Mac/x86 assembly: > > http://developer.apple.com/DOCUMENTATION/DeveloperTools/Reference/Assembler/index.html Does this mean that gcc on Darwin does not use gas but another assembler ? Is the gcc command-line option -mgas supported by gcc on Darwin ? Bart. |