2005-04-11 David S. Miller <davem@davemloft.net>
authorJakub Jelinek <jakub@redhat.com>
Mon, 11 Apr 2005 22:13:28 +0000 (22:13 +0000)
committerJakub Jelinek <jakub@redhat.com>
Mon, 11 Apr 2005 22:13:28 +0000 (22:13 +0000)
commitbd695bcc90bf296d67a85cd49c6fe1879715e04e
tree9de0bb06ca92c46caca204787b67571d102e7354
parentac119ae83bf6d1a1fd5f8aa609180dacf220a3e8
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.
bfd/ChangeLog
bfd/elf32-sparc.c
ld/testsuite/ChangeLog
ld/testsuite/ld-sparc/tlssunbin32.dd
ld/testsuite/ld-sparc/tlssunbin32.rd
ld/testsuite/ld-sparc/tlssunbin32.sd
ld/testsuite/ld-sparc/tlssunpic32.dd