* elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add
authorJakub Jelinek <jakub@redhat.com>
Thu, 16 Jan 2003 21:31:18 +0000 (21:31 +0000)
committerJakub Jelinek <jakub@redhat.com>
Thu, 16 Jan 2003 21:31:18 +0000 (21:31 +0000)
commitb3dfd7fe24f18648d4cc8e044219a734c9a82fc1
tree08c43a53da426285393a789b044d9e65577ab41b
parent837fd61c26f79a84459b9d12ad1e8838c048cd33
* elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add
self_dtpmod_done and self_dtpmod_offset.
(allocate_global_data_got): Only use one got entry for all
dtpmod relocs against local symbols.
(allocate_dynrel_entries): Only need .rela.got entry for
dtpmod against global symbol.
(elfNN_ia64_size_dynamic_sections): Initialize self_dtpmod_offset.
Reserve space in .rela.got for the local dtpmod entry.
(set_got_entry): Initialize the common local dtpmod .got entry.
(elfNN_ia64_relocate_section): Handle R_IA_64_DTPREL64LSB
and R_IA_64_DTPREL64MSB.

* config/tc-ia64.c (ia64_cons_fix_new): Handle @dtprel() in data.

* ld-ia64/ia64.exp: New.
* ld-ia64/tlsbin.dd: New test.
* ld-ia64/tlsbinpic.s: New test.
* ld-ia64/tlsbin.rd: New test.
* ld-ia64/tlsbin.s: New test.
* ld-ia64/tlsbin.sd: New test.
* ld-ia64/tlsbin.td: New test.
* ld-ia64/tlsg.s: New test.
* ld-ia64/tlsg.sd: New test.
* ld-ia64/tlslib.s: New test.
* ld-ia64/tlspic1.s: New test.
* ld-ia64/tlspic2.s: New test.
* ld-ia64/tlspic.dd: New test.
* ld-ia64/tlspic.rd: New test.
* ld-ia64/tlspic.sd: New test.
* ld-ia64/tlspic.td: New test.
21 files changed:
bfd/ChangeLog
bfd/elfxx-ia64.c
gas/ChangeLog
gas/config/tc-ia64.c
ld/testsuite/ChangeLog
ld/testsuite/ld-ia64/ia64.exp [new file with mode: 0644]
ld/testsuite/ld-ia64/tlsbin.dd [new file with mode: 0644]
ld/testsuite/ld-ia64/tlsbin.rd [new file with mode: 0644]
ld/testsuite/ld-ia64/tlsbin.s [new file with mode: 0644]
ld/testsuite/ld-ia64/tlsbin.sd [new file with mode: 0644]
ld/testsuite/ld-ia64/tlsbin.td [new file with mode: 0644]
ld/testsuite/ld-ia64/tlsbinpic.s [new file with mode: 0644]
ld/testsuite/ld-ia64/tlsg.s [new file with mode: 0644]
ld/testsuite/ld-ia64/tlsg.sd [new file with mode: 0644]
ld/testsuite/ld-ia64/tlslib.s [new file with mode: 0644]
ld/testsuite/ld-ia64/tlspic.dd [new file with mode: 0644]
ld/testsuite/ld-ia64/tlspic.rd [new file with mode: 0644]
ld/testsuite/ld-ia64/tlspic.sd [new file with mode: 0644]
ld/testsuite/ld-ia64/tlspic.td [new file with mode: 0644]
ld/testsuite/ld-ia64/tlspic1.s [new file with mode: 0644]
ld/testsuite/ld-ia64/tlspic2.s [new file with mode: 0644]