From owner-freebsd-hackers Wed Nov 3 7:10:26 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from ncc1701.iml-cti.com (g55-67.citenet.net [207.183.39.67]) by hub.freebsd.org (Postfix) with ESMTP id 417AB14C4C for ; Wed, 3 Nov 1999 07:10:13 -0800 (PST) (envelope-from sepotvin@videotron.ca) Received: from stephanep ([207.139.62.109]) by ncc1701.iml-cti.com (8.9.3/8.9.3) with SMTP id KAA06281; Wed, 3 Nov 1999 10:13:57 -0500 From: "Stephane Potvin" To: "John Polstra" Cc: Subject: RE: gas pseudo-ops Date: Wed, 3 Nov 1999 10:10:07 -0500 Message-ID: <000001bf260d$837c8770$0100000a@stephanep.bishop> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Importance: Normal In-reply-to: <199911030654.WAA47727@vashon.polstra.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----Original Message----- > From: owner-freebsd-hackers@FreeBSD.ORG > [mailto:owner-freebsd-hackers@FreeBSD.ORG]On Behalf Of John Polstra > Sent: Wednesday, November 03, 1999 1:54 AM > To: spotvin@videotron.ca > Cc: hackers@freebsd.org > Subject: Re: gas pseudo-ops > > > In article <381C9A26.E01B254B@videotron.ca>, > Stephane E. Potvin wrote: > > Does anyone have any idea where I could find some documentation about > > the following gas pseudo-ops? > > .type ,@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. > Thanks for the answer! Do you think it would be possible to change the .type ,@object for .type ,object in gensetdef? By looking in the gas code I found that the assembler just ignores the @ character. The reason I ask this is because by default, the @ character is used by the ARM assembler to represent begin of comments. GCC/GAS could be hacked to avoid doing this but in the long run I think it would be easier just to remove the @ character. If I remember correctly it could be changed to `#object' or `%object' too but this could cause the same problem as with the @ character for other assemblers. P.S.: Sorry for the lack of diff, I'm currenty at work and don't have access to the source code Steph -- Stephane E. Potvin InnoMediaLogic Inc. - http://www.multichassis.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message