Previous: Symbol Attributes, Up: Symbols [Contents][Index]
Certain pre-defined symbols will be made available for use, and possibly also inserted in the symbol table. Because of the use of parentheses, access to these symbols will require quotation.
Independent of the specific target, the following symbols will (perhaps conditionally; see each individual item) be made available:
GAS(version) The version of the assembler, expressed as major * 100000000 + minor * 1000000 + rev * 10000.GAS(date) The date of the assembler sources (which may not be the date the assembler was built). This is added only for non-release versions of gas. The specific value probably better isnt checked for, just its defined-ness.All symbols of the form GAS(...) are reserved for use by GNU as.