Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Nov 1999 22:54:21 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        spotvin@videotron.ca
Cc:        hackers@freebsd.org
Subject:   Re: gas pseudo-ops
Message-ID:  <199911030654.WAA47727@vashon.polstra.com>
In-Reply-To: <381C9A26.E01B254B@videotron.ca>
References:  <381C9A26.E01B254B@videotron.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <381C9A26.E01B254B@videotron.ca>,
Stephane E. Potvin <spotvin@videotron.ca> wrote:
> Does anyone have any idea where I could find some documentation about
> the following gas pseudo-ops?
> 	.type <set>,@object

There is a type associated with symbol in the object files.  It can be
function (obvious), object (data), or other/unknown.  This pseudo-op
sets the type of a given symbol.

> 	.previous

The assembler maintains a stack of sections.  Each time you change
to a new section, it pushes the previous one onto the stack.  The
".previous" pseudo-op pops the stack and changes back to the previous
section.

John
-- 
  John Polstra                                               jdp@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "No matter how cynical I get, I just can't keep up."        -- Nora Ephron


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911030654.WAA47727>