Segment registers support for i386
Rémy Saissy
remy.saissy@gmail.com
Tue Apr 4 09:44:00 GMT 2006
> It would take a massive target-specific backend hack to make that happen, as GCC > currently only supports flat address spaces. ;-)
I don't understand why.
gcc currently consider every data access on i386 to be %ds:offset or %ss:offset
depending on the instruction. The purpose is only to add a way to
explicitly indicate
the section to use then is could be %gs:offset or %fs:offset.
I'm new in gcc hacking therefore I still have to learn more about the
internals but
at first glance it doesn't sounds like a so big work.
Could you explain me why do you think it would take a massive
target-specific backend ?
Thanks a lot.
--
Rémy Saissy JabberID: remy.saissy@jabber.fr
Web: http://remysaissy.free.fr
"L'homme qui a le plus vécu n'est pas celui qui a compté le plus d'années,
mais celui qui a le plus senti la vie."
J.-J. Rousseau, Emile.
More information about the Gcc
mailing list