www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/20/10:21:34

Date: Thu, 20 Mar 1997 18:01:45 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Francesco Marcelloni <france AT iet DOT unipi DOT it>
cc: djgpp AT delorie DOT com
Subject: Re: Assembler Help!!
In-Reply-To: <332D8B17.41C67EA6@iet.unipi.it>
Message-ID: <Pine.SUN.3.91.970320180036.24420A-100000@is>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019