[fpc-devel] Internal assembler: tai_directive usage

dmitry boyarintsev skalogryz.lists at gmail.com
Mon Nov 9 12:12:38 CET 2009


On Mon, Nov 9, 2009 at 1:59 PM, Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
> The main reason is that I added these directives without any knowledge of
> what they actually do at the object level. I just read the assembler manual,
> saw the syntax and added them (which is very convenient, and one of the
> reasons why I'm not a big fan of an internal assembler unless it's really
> required).
I see the point. Using external tools have their advantage.

Just some people would like to have an easy macosx cross-compilation,
as well as better compilation performance.


> If some of these directives simply create a new section, then the directives
> can be removed and everywhere they are currently used in the compiler you
> can create the appropriate section instead (you can submit this in a
> separate patch).
Yes, i'll make a patch to replace directives with sections

The list of "macro section" directives can be found at this link
("Built-in Directives"):
http://developer.apple.com/mac/library/documentation/DeveloperTools/Reference/Assembler/040-Assembler_Directives/asm_directives.html#//apple_ref/doc/uid/TP30000823-CJBDFFDF

thanks,
dmitry



More information about the fpc-devel mailing list