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.