Mail Archives: djgpp/1997/03/20/10:21:34
On Mon, 17 Mar 1997, Francesco Marcelloni wrote:
> I'd like to refer j or d by a selector register as, for instance, "%gs :
> j" (as written in the "as" manual). How is it possible to load in gs the
> address of section proof1?
I'm far from being an assembly wizard, but since nobody has yet given
you any replies, I'll try, and let others correct me if I'm wrong.
The DJGPP FAQ list says this in section 17.1:
* The AT&T assembler does not provide support for multiple-section (aka
multi-segment) programs. Unix style systems expect all programs to be
single-section.
So it seems that you can't do what you want, unless you hack some of
the tools involved (don't ask me how, I wouldn't know).
- Raw text -