summaryrefslogtreecommitdiff
path: root/directives.dat
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-07-12 12:53:49 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-07-12 12:55:24 -0700
commitafa06137fa3d6de926134b4061c3ff4a74d212cf (patch)
treeddfb5182b1e0d06cfc731563cfdda2814b658cc5 /directives.dat
parentd0fbb7f0ab355fd4e73d1aab215a2aa387b615c3 (diff)
downloadnasm-afa06137fa3d6de926134b4061c3ff4a74d212cf.tar.gz
Hash even backend-specific directives, unify null functions
Hash all directives, even the ones that are backend-specific, and instead pass the backend an already-parsed directive number. Furthermore, unify null functions across various backends. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'directives.dat')
-rw-r--r--directives.dat16
1 files changed, 11 insertions, 5 deletions
diff --git a/directives.dat b/directives.dat
index 95d20eb5..38988214 100644
--- a/directives.dat
+++ b/directives.dat
@@ -31,11 +31,7 @@
;;
;; --------------------------------------------------------------------------
;;
-;; List of global NASM directives (independent of the backend)
-;;
-;; Note: we may want to consider hashing even backend-dependent
-;; directives, and invoke the backend with an already-decoded directive
-;; number.
+;; List of global NASM directives (including backend-specific ones)
;;
absolute
bits
@@ -43,10 +39,20 @@ common
cpu
debug
default
+export
extern
float
global
+group
+import
+library
list
+map
+module
+org
+osabi
+safeseh
section
segment
+uppercase
warning