This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: One ARM failure in the gas testsuite


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]