> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of John Polstra
> Sent: Wednesday, November 03, 1999 1:54 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: gas pseudo-ops
>
>
> In article <[EMAIL PROTECTED]>,
> Stephane E. Potvin <[EMAIL PROTECTED]> 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.
>
Thanks for the answer!

Do you think it would be possible to change the
        .type <symbol>,@object
for
        .type <symbol>,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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to