Date: Tue, 31 Jul 2001 10:02:17 -0400 Message-Id: <200107311402.KAA16074@envy.delorie.com> X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: (message from Eli Zaretskii on Tue, 31 Jul 2001 16:47:03 +0300 (IDT)) Subject: Re: ds==ss why? References: Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Strictly speaking, that's not true: CS and DS hold two different > selectors, but both these selectors point to segment descriptors > which describe the same memory region. GCC doesn't put jump tables, constants, or strings in the text segment? If it does, it expects CS==DS as far as memory maps go. (obviously, the *values* of cs and ds differ, because one is a code selector and the other is a data selector).