Date: Thu, 20 Mar 1997 18:01:45 +0300 (IDT) From: Eli Zaretskii To: Francesco Marcelloni cc: djgpp AT delorie DOT com Subject: Re: Assembler Help!! In-Reply-To: <332D8B17.41C67EA6@iet.unipi.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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).