bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question : arm-coff-as


From: Nick Clifton
Subject: Re: question : arm-coff-as
Date: Fri, 04 Jul 2003 15:31:58 +0100
User-agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.2 (gnu/linux)

Hi 

> % arm-coff-as --version
> GNU assembler 2.14 20030612
> Copyright 2002 Free Software Foundation, Inc.
> This program is free software; you may redistribute it under the terms of
> the GNU General Public License.  This program has absolutely no warranty.
> This assembler was configured for a target of `arm-coff'.
>  
> % arm-coff-as --traditional-format string1.S -o aa.o
>  
> In string.S, I implement memset function.
> But in result file(aa.o), In found following...
>  address@hidden@address@hidden
>  
> But I want to get undersocre format...
> ex) _memset
>  
> How can I get undersocre output?
> Any option can't found on arm-coff-as...

The ^B indicates that memset is a local label.  See the section
entitled "Local Symbol Names" in the gas documentation
(gas/doc/as.texinfo).

The probable solution to your problem is to add a .global directive,
ie something like this:

        .global _memset
  _memset:
        <assembler code for memset function>

Cheers
        Nick
                   





reply via email to

[Prev in Thread] Current Thread [Next in Thread]