diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-08-29 15:19:19 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-08-29 15:19:19 +0000 |
commit | 150e20db50a7d867e4af0f6147f6d517e5c83da8 (patch) | |
tree | 117bb3c09e2f6cff5c2ac105fe56b4ecc4633e46 /nasm.h | |
parent | 99c4ecd18f2a58b969edf997da737ba6a76f1477 (diff) | |
download | nasm-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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' */ |