This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: One ARM failure in the gas testsuite
- From: "H. J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Date: Sat, 3 May 2003 23:53:34 -0700
- Subject: Re: One ARM failure in the gas testsuite
- References: <20030504030029.GA5461@nevyn.them.org>
On Sat, May 03, 2003 at 11:00:29PM -0400, Daniel Jacobowitz wrote:
> Right now, we get:
>
> ../as-new -o dump.o /opt/mvista/BUILD/binutils-2.13.90/gas/testsuite/gas/elf/symver.s
> /opt/mvista/BUILD/binutils-2.13.90/gas/testsuite/gas/elf/symver.s: Assembler messages:
> /opt/mvista/BUILD/binutils-2.13.90/gas/testsuite/gas/elf/symver.s:2: Error: unrecognized symbol type ""
> FAIL: ELF symbol versioning
>
> on the line:
> .type x,@object
>
> Now, @ is a comment character for ARM, as I recall. Is this usage of .type
> expected to work, or should the test be updated?
>
I checked in this patch.
H.J.
---
2003-05-03 H.J. Lu <hjl@gnu.org>
* gas/elf/symver.s: Use '%' instead of '@' in .type.
* gas/elf/type.s: Likewise.
--- gas/elf/symver.s.arm 2003-04-29 08:40:45.000000000 -0700
+++ gas/elf/symver.s 2003-05-03 23:48:58.000000000 -0700
@@ -1,5 +1,5 @@
.data
- .type x,@object
+ .type x,%object
.size x,4
x:
.word 12
--- gas/elf/type.s.arm 2003-05-03 08:45:21.000000000 -0700
+++ gas/elf/type.s 2003-05-03 23:49:13.000000000 -0700
@@ -1,18 +1,18 @@
.text
.size function,1
- .type function,@function
+ .type function,%function
function:
.byte 0x0
.data
- .type object,@object
+ .type object,%object
.size object,1
object:
.byte 0x0
- .type tls_object,@tls_object
+ .type tls_object,%tls_object
.size tls_object,1
tls_object:
.byte 0x0
- .type notype,@notype
+ .type notype,%notype
.size notype,1
notype:
.byte 0x0