* bfd-in2.h: Regenerate.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 37102951df9614ed0e385edf127050ff2afae596..d94869b6fe6eb39f3ac2dd0660d9f3cca0ab0abb 100644 (file)
@@ -1,3 +1,109 @@
+2003-01-24  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * 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.
+
+2003-01-24  Charles Lepple clepple.ghz.cc
+
+       * aclocal.m4: Fix name of --enable-install-libbfd switch.
+
+2003-01-23  Nick Clifton  <nickc@redhat.com>
+
+       * Add sh2e support:
+
+       2002-04-02  Elena Zannoni  <ezannoni@redhat.com>
+
+               * archures.c (bfd_mach_sh2e): Added.
+               * bfd-in2.h: Rebuilt.
+               * cpu-sh.c (arch_info_struct): Added SH2e.
+               * elf32-sh.c (sh_elf_set_mach_from_flags): Handle EF_SH2E.
+
+2003-01-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf-bfd.h (struct bfd_elf_section_data): Remove tdata.  Change
+       dynindx to an int.  Rearrange for better packing.
+       * elf.c (_bfd_elf_new_section_hook): Don't alloc if already done.
+       * elf32-mips.c (bfd_elf32_new_section_hook): Define.
+       * elf32-sh64.h: New.  Split out from include/elf/sh.h.
+       (struct _sh64_elf_section_data): New struct.
+       (sh64_elf_section_data): Don't dereference sh64_info (was tdata).
+       * elf32-sh64-com.c: Include elf32-sh64.h.
+       * elf32-sh64.c: Likewise.
+       (sh64_elf_new_section_hook): New function.
+       (bfd_elf32_new_section_hook): Define.
+       (sh64_elf_fake_sections): Adjust for sh64_elf_section_data change.
+       (sh64_bfd_elf_copy_private_section_data): Likewise.
+       (sh64_elf_final_write_processing): Likewise.
+       * elf32-sparc.c (struct elf32_sparc_section_data): New.
+       (elf32_sparc_new_section_hook): New function.
+       (SET_SEC_DO_RELAX, SEC_DO_RELAX): Delete.
+       (sec_do_relax): Define.
+       (elf32_sparc_relax_section): Adjust to use sec_do_relax.
+       (elf32_sparc_relocate_section): Likewise.
+       * elf64-mips.c (bfd_elf64_new_section_hook): Define.
+       * elf64-mmix.c (struct _mmix_elf_section_data): New.
+       (mmix_elf_section_data): Define.  Use throughout file.
+       (mmix_elf_new_section_hook): New function.
+       (bfd_elf64_new_section_hook): Define.
+       * elf64-ppc.c (struct _ppc64_elf_section_data): New.
+       (ppc64_elf_section_data): Define.  Use throughout.
+       (ppc64_elf_new_section_hook): New function.
+       (bfd_elf64_new_section_hook): Define.
+       * elf64-sparc.c (struct sparc64_elf_section_data): New.
+       (sparc64_elf_new_section_hook): New function.
+       (SET_SEC_DO_RELAX, SEC_DO_RELAX): Delete.
+       (sec_do_relax): Define.
+       (sparc64_elf_relax_section): Adjust to use sec_do_relax.
+       (sparc64_elf_relocate_section): Likewise.
+       (bfd_elf64_new_section_hook): Define.
+       * elfn32-mips.c (bfd_elf32_new_section_hook): Define.
+       * elfxx-mips.c (struct _mips_elf_section_data): New.
+       (mips_elf_section_data): Define.  Use throughout.
+       (_bfd_mips_elf_new_section_hook): New function.
+       (mips_elf_create_got_section): Don't alloc used_by_bfd.
+       * elfxx-mips.h (_bfd_mips_elf_new_section_hook): Declare.
+       * elfxx-target.h (bfd_elfNN_new_section_hook): Add #ifndef.
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+
+2003-01-21  Richard Henderson  <rth@redhat.com>
+
+       * elf64-alpha.c (ALPHA_ELF_LINK_HASH_PLT_LOC): New.
+       (struct alpha_elf_link_hash_entry): Add plt_old_section, plt_old_value.
+       (elf64_alpha_adjust_dynamic_symbol): Set them.
+       (elf64_alpha_size_plt_section_1): Reset them when plt entry removed.
+       (elf64_alpha_relax_tls_get_addr): Handle LDM relocs.  Frob the
+       symbol index when relaxing LDM to TPREL.
+       (elf64_alpha_relax_section): Likewise.  Allow relaxation of GD
+       relocs, even if the target isn't locally defined.
+       (elf64_alpha_check_relocs): Frob LDM reloc symndx to zero.
+       (elf64_alpha_relocate_section): Likewise.  Force TP-relative
+       relocs vs symndx 0 to the tp base.
+
+2003-01-21  Fabio Alemagna  <falemagn@aros.org>
+
+       * config.bfd: Handle i[3456]86-*-aros*.
+
 2003-01-21  Andreas Schwab  <schwab@suse.de>
 
        * elf32-ppc.c (struct ppc_elf_dyn_relocs): Define.
This page took 0.026345 seconds and 4 git commands to generate.