Re: x86 Segment register use

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David Fernandez wrote:
	Hi there,

	Could anyone there tell which segment registers does the compiler use
(CS, DS, ES, FS, GS), or if it doesn't use any at all and rely on the
default segments all the time?

	Is there any way to tell it that a specific variable resides, or is
addressable only through a specific segment register?

As only you know enough details about your compiler, application,platform, operating system, etc,
 you should consider generating .s code or using objdump -S to answer these
questions yourself.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux