gcc: x86: using fs and gs.

Ian Lance Taylor iant@google.com
Thu Apr 23 21:00:00 GMT 2009


pingved@gmail.com writes:

> How i can generate executable file with using FS and GS for dedicated ROM
> object with gcc for x86?

gcc does not currently support this in general.  It does use FS and GS
for the special case of TLS, but I doubt that will work for your
purposes.

There is some development work on named addresses which might be able to
support this kind of thing some day.

Ian



More information about the Gcc-help mailing list