comparison lwasm/lwasm.h @ 115:344cfc25afec

Added initial infrastructure for pragma autobranchlength (suggested by Ebonhand on irc)
author lost@l-w.ca
date Mon, 08 Aug 2011 23:00:27 -0600
parents ed7f970f3688
children 697bc543368c
comparison
equal deleted inserted replaced
114:707eda49ad60 115:344cfc25afec
77 PRAGMA_UNDEFEXTERN = 0x0004, // undefined symbols are considered to be external 77 PRAGMA_UNDEFEXTERN = 0x0004, // undefined symbols are considered to be external
78 PRAGMA_CESCAPES = 0x0008, // allow C style escapes in fcc, fcs, fcn, etc. 78 PRAGMA_CESCAPES = 0x0008, // allow C style escapes in fcc, fcs, fcn, etc.
79 PRAGMA_IMPORTUNDEFEXPORT = 0x0010, // imports symbol if undefined upon export 79 PRAGMA_IMPORTUNDEFEXPORT = 0x0010, // imports symbol if undefined upon export
80 PRAGMA_PCASPCR = 0x0020, // treats ,PC as ,PCR instead of constant offset 80 PRAGMA_PCASPCR = 0x0020, // treats ,PC as ,PCR instead of constant offset
81 PRAGMA_SHADOW = 0x0040, // allow macros to shadow builtin operations 81 PRAGMA_SHADOW = 0x0040, // allow macros to shadow builtin operations
82 PRAGMA_NOLIST = 0x0080 // don't show line in listing 82 PRAGMA_NOLIST = 0x0080, // don't show line in listing
83 PRAGMA_AUTOBRANCHLENGTH = 0x0100 // automatically select proper length for relative branches
83 }; 84 };
84 85
85 86
86 enum 87 enum
87 { 88 {