summaryrefslogtreecommitdiff
path: root/directives.dat
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-07-13 14:54:31 -0400
committerH. Peter Anvin <hpa@zytor.com>2009-07-13 14:57:48 -0400
commit80e0f4d68fd3140c3e93874bfae0240c80311cf9 (patch)
tree851782e0a4a86f10bbd075a5ac76b66d43863958 /directives.dat
parentafa06137fa3d6de926134b4061c3ff4a74d212cf (diff)
downloadnasm-80e0f4d68fd3140c3e93874bfae0240c80311cf9.tar.gz
directives: split global directives from backend-specific ones
Split out the global directives into a separate section, that allows the switch() in the main code to be slightly faster. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'directives.dat')
-rw-r--r--directives.dat24
1 files changed, 14 insertions, 10 deletions
diff --git a/directives.dat b/directives.dat
index 38988214..b08d3877 100644
--- a/directives.dat
+++ b/directives.dat
@@ -33,26 +33,30 @@
;;
;; List of global NASM directives (including backend-specific ones)
;;
+
+; --- Global directives
absolute
bits
common
cpu
debug
default
-export
extern
float
global
-group
-import
-library
list
-map
-module
-org
-osabi
-safeseh
section
segment
-uppercase
warning
+
+; --- Format-specific directives
+export ; outcoff, outobj
+group ; outobj
+import ; outobj
+library ; outrdf2
+map ; outbin
+module ; outrdf2
+org ; outbin
+osabi ; outelf
+safeseh ; outcoff
+uppercase ; outieee, outobj