aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-sparc/tlssunbin32.dd
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-04-11 22:13:28 +0000
committerJakub Jelinek <jakub@redhat.com>2005-04-11 22:13:28 +0000
commitbd695bcc90bf296d67a85cd49c6fe1879715e04e (patch)
tree9de0bb06ca92c46caca204787b67571d102e7354 /ld/testsuite/ld-sparc/tlssunbin32.dd
parentac119ae83bf6d1a1fd5f8aa609180dacf220a3e8 (diff)
downloadbinutils-bd695bcc90bf296d67a85cd49c6fe1879715e04e.zip
binutils-bd695bcc90bf296d67a85cd49c6fe1879715e04e.tar.gz
binutils-bd695bcc90bf296d67a85cd49c6fe1879715e04e.tar.bz2
2005-04-11 David S. Miller <davem@davemloft.net>
* elf32-sparc.c (elf32_sparc_relocate_section, R_SPARC_TLS_LDO_{HIX22,LOX10}): When not shared, transition to R_SPARC_TLS_LE_{HIX22,LOX10}. (elf32_sparc_relocate_section, R_SPARC_TLS_{LDO,LE}_HIX22): Only xor relocation with 0xffffffff if R_SPARC_TLS_LE_HIX22. (elf32_sparc_relocate_section, R_SPARC_TLS_{LDO,LE}_LOX10): Only or 0x1c00 into relocation if R_SPARC_TLS_LE_HIX22. * ld-sparc/tlssunbin32.dd: Update for TLS relocation fixes. * ld-sparc/tlssunbin32.rd: Likewise. * ld-sparc/tlssunbin32.sd: Likewise. * ld-sparc/tlssunpic32.dd: Likewise.
Diffstat (limited to 'ld/testsuite/ld-sparc/tlssunbin32.dd')
-rw-r--r--ld/testsuite/ld-sparc/tlssunbin32.dd4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-sparc/tlssunbin32.dd b/ld/testsuite/ld-sparc/tlssunbin32.dd
index 7acf66d..37c1d04 100644
--- a/ld/testsuite/ld-sparc/tlssunbin32.dd
+++ b/ld/testsuite/ld-sparc/tlssunbin32.dd
@@ -16,7 +16,7 @@ Disassembly of section .text:
+11008: 9d e3 bf 98 save %sp, -104, %sp
+1100c: 2f 00 00 48 sethi %hi\(0x12000\), %l7
+11010: 7f ff ff fc call 11000 <.*>
- +11014: ae 05 e2 68 add %l7, 0x268, %l7 ! 12268 <.*>
+ +11014: ae 05 e2 64 add %l7, 0x264, %l7 ! 12264 <.*>
+11018: 01 00 00 00 nop *
+1101c: 01 00 00 00 nop *
+11020: 01 00 00 00 nop *
@@ -172,7 +172,7 @@ Disassembly of section .text:
00012000 <_start>:
+12000: 9d e3 bf 98 save %sp, -104, %sp
+12004: 29 00 00 8c sethi %hi\(0x23000\), %l4
- +12008: a8 15 22 78 or %l4, 0x278, %l4 ! 23278 <.*>
+ +12008: a8 15 22 74 or %l4, 0x274, %l4 ! 23274 <.*>
+1200c: 01 00 00 00 nop *
+12010: 01 00 00 00 nop *
+12014: 01 00 00 00 nop *