* bfd-in2.h: Regenerate.
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 24 Jan 2003 17:12:42 +0000 (17:12 +0000)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 24 Jan 2003 17:12:42 +0000 (17:12 +0000)
commit69fc87f180bf506aef99809a5d3ae79ff3aee6a4
tree46bfa50be16ed0ff95a6e725c00bc936f83f683f
parent9aa4e50515b9a9bc8c8b408cde483d47e75669a8
* bfd-in2.h: Regenerate.
* elf32-s390.c (elf_s390_mkobject, elf_s390_tls_transition,
s390_tls_reloc, dtpoff_base, tpoff, invalid_tls_insn): New functions.
(elf_howto_table): Add TLS relocs.
(elf_s390_reloc_type_lookup): Likewise.
(elf_s390_link_hash_entry): Add tls_type.
(elf_s390_hash_entry, elf_s390_obj_tdata, elf_s390_local_got_tls_type):
New macros.
(elf_s390_link_hash_table): Add tls_ldm_got.
(link_hash_newfunc): Initialize tls_type.
(elf_s390_link_hash_table_create): Initialize refcount of tls_ldm_got.
(elf_s390_copy_indirect_symbol): Copy tls_type information.
(elf_s390_check_relocs): Support TLS relocs.
(elf_s390_gc_sweep_hook): Likewise.
(allocate_dynrelocs): Likewise.
(elf_s390_size_dynamic_sections): Likewise.
(elf_s390_relocate_section): Likewise.
(elf_s390_finish_dynamic_symbol): Likewise.
(bfd_elf32_mkobject): Define for TLS.
* elf64-s390.c: Same changes as for elf32-s390.c.
* libbfd.h: Regenerate.
* reloc.c: Add s390 TLS relocations.
bfd/ChangeLog
bfd/bfd-in2.h
bfd/elf32-s390.c
bfd/elf64-s390.c
bfd/libbfd.h
bfd/reloc.c