* gas/cris/rd-tls-1.d, gas/cris/rd-tls-1.s: Use a local thread
authorHans-Peter Nilsson <hp@axis.com>
Wed, 19 Nov 2008 06:16:54 +0000 (06:16 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Wed, 19 Nov 2008 06:16:54 +0000 (06:16 +0000)
variable instead of .text location for :GD decoration test.

gas/testsuite/ChangeLog
gas/testsuite/gas/cris/rd-tls-1.d
gas/testsuite/gas/cris/rd-tls-1.s

index e6d694920ed67209666f0bc562ab785c076acfdd..f95f1e12b6ae30edc9c051024897f81142f5e305 100644 (file)
@@ -1,3 +1,8 @@
+2008-11-19  Hans-Peter Nilsson  <hp@axis.com>
+
+       * gas/cris/rd-tls-1.d, gas/cris/rd-tls-1.s: Use a local thread
+       variable instead of .text location for :GD decoration test.
+
 2008-11-18  Catherine Moore  <clm@codesourcery.com>
 
        * gas/arm/half-prec-neon.d: New.
index db2c8f9f7a707ee40a8ba95065611fc2474cb687..83aa044f2337b2cb468cc5eb526ad0a4416b3537 100644 (file)
@@ -8,7 +8,7 @@ Disassembly of section \.text:
 
 0+ <start>:
 [      ]+0:[   ]+af1e 0000 0000[       ]+sub\.d 0 <start>,\$?r1
-[      ]+2:[   ]+R_CRIS_32_GD  \.text
+[      ]+2:[   ]+R_CRIS_32_GD  x
 [      ]+6:[   ]+2f9e 0000 0000[       ]+add\.d 0 <start>,\$?r9
 [      ]+8:[   ]+R_CRIS_32_GD  extsym2
 [      ]+c:[   ]+6f3d 0000 0000 6aaa[  ]+move\.d \[\$?r3\+0 <start>\],\$?r10
index 05bbefa5a012b62116e41a929f35f415df219dbf..4cc9be0f97b103edec2922c91f2cd50b7ecd136d 100644 (file)
@@ -1,9 +1,16 @@
 ; Check that non-PIC TLS operands get their right relocation type.
 ; First some expected uses, similar to what GCC will emit.
+
+       .section .tdata,"awT",@progbits
+       .type   x, @object
+       .size   x, 4
+x:
+       .dword 0
+
        .text
        .syntax no_register_prefix
 start:
-       sub.d .:GD,r1
+       sub.d x:GD,r1
        add.d extsym2:GD,r9
        move.d [r3+extsym:TPOFF],r10
        move.w extsym14:TPOFF16+77,r10