summaryrefslogtreecommitdiff
path: root/nasm.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-08-29 15:19:19 +0000
committerH. Peter Anvin <hpa@zytor.com>2007-08-29 15:19:19 +0000
commit150e20db50a7d867e4af0f6147f6d517e5c83da8 (patch)
tree117bb3c09e2f6cff5c2ac105fe56b4ecc4633e46 /nasm.h
parent99c4ecd18f2a58b969edf997da737ba6a76f1477 (diff)
downloadnasm-150e20db50a7d867e4af0f6147f6d517e5c83da8.tar.gz
Suppress IP-relative only for fs: and gs: overrides
AMD has (undocumented) segment limits even in 64-bit mode, so people may want to use cs/ds/es/ss overrides. Since there are no bases, however, IP-relative still applies. See: http://www.amd.com.hk/us-en/assets/content_type/DownloadableAssets/dwamd_kernel_summit_08_RB.pdf
Diffstat (limited to 'nasm.h')
-rw-r--r--nasm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nasm.h b/nasm.h
index 4a0a6af2..9bae66a6 100644
--- a/nasm.h
+++ b/nasm.h
@@ -559,7 +559,7 @@ enum { /* special EA flags */
EAF_TIMESTWO = 4, /* really do EAX*2 not EAX+EAX */
EAF_REL = 8, /* IP-relative addressing */
EAF_ABS = 16, /* non-IP-relative addressing */
- EAF_SEGOVER = 32 /* segment override present */
+ EAF_FSGS = 32 /* fs/gs segment override present */
};
enum { /* values for `hinttype' */