diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2008-11-19 06:16:54 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2008-11-19 06:16:54 +0000 |
commit | 4b1824c64a846b8bd55c0a2cf5061f58c6786ff7 (patch) | |
tree | d80f2a6dda795ac4866ea47b7a089ce634d9cd0b | |
parent | f3294356795afeb23a6f1394e769e2c6ac45420e (diff) | |
download | gdb-4b1824c64a846b8bd55c0a2cf5061f58c6786ff7.zip gdb-4b1824c64a846b8bd55c0a2cf5061f58c6786ff7.tar.gz gdb-4b1824c64a846b8bd55c0a2cf5061f58c6786ff7.tar.bz2 |
* 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.
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/cris/rd-tls-1.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/cris/rd-tls-1.s | 9 |
3 files changed, 14 insertions, 2 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index e6d6949..f95f1e1 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -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. diff --git a/gas/testsuite/gas/cris/rd-tls-1.d b/gas/testsuite/gas/cris/rd-tls-1.d index db2c8f9..83aa044 100644 --- a/gas/testsuite/gas/cris/rd-tls-1.d +++ b/gas/testsuite/gas/cris/rd-tls-1.d @@ -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 diff --git a/gas/testsuite/gas/cris/rd-tls-1.s b/gas/testsuite/gas/cris/rd-tls-1.s index 05bbefa..4cc9be0 100644 --- a/gas/testsuite/gas/cris/rd-tls-1.s +++ b/gas/testsuite/gas/cris/rd-tls-1.s @@ -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 |