Suppress IP-relative only for fs: and gs: overrides
authorH. Peter Anvin <hpa@zytor.com>
Wed, 29 Aug 2007 15:19:19 +0000 (15:19 +0000)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 29 Aug 2007 15:19:19 +0000 (15:19 +0000)
commit150e20db50a7d867e4af0f6147f6d517e5c83da8
tree117bb3c09e2f6cff5c2ac105fe56b4ecc4633e46
parent99c4ecd18f2a58b969edf997da737ba6a76f1477
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
nasm.h
parser.c