Comment 3 for bug 24350

Revision history for this message
In , Jérémy Bobbio (jeremy-bobbio) wrote : [PATCH] -fasm-blocks is Apple only

tag 334944 + patch
thanks

Hi,

-fasm-blocks seems [1] to be an Apple specific extension to GCC.

The attached patch adapted the PowerPC files to the "standard" GCC
extension for inline assembly [2].

It now builds, but it seems far from really working (they were already
tagged BROKEN_IMPLS). Some of the prototypes are not even correct...
I hope it will be useful to upstream for the next release.

[1]
http://developer.apple.com/documentation/DeveloperTools/gcc-4.0.0/gcc/Asm-Blocks-and-Functions.html
[2]
http://gcc.gnu.org/onlinedocs/gcc-4.0.2/gcc/Extended-Asm.html#Extended-Asm

Regards,
--
Jérémy