* elf32-s390.c (elf_howto_table): Change R_390_GOT12 to
[binutils-gdb.git] / bfd / ChangeLog
index 6f9b28307fb74b69cdaf880737a16a6d15ab5add..d9adb5cc56e4fb5d4916067b41a0af01680018f2 100644 (file)
@@ -1,5 +1,75 @@
+2003-07-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf32-s390.c (elf_howto_table): Change R_390_GOT12 to
+       complain_overflow_bitfield.
+       * elf64-s390.c (elf_howto_table): Change R_390_GOT12 to
+       complain_overflow_bitfield.
+
+2003-07-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Return
+       true even if -pie.
+
+2003-07-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add rel_fptr_sec.
+       (elfNN_ia64_dynamic_symbol_p): Change info->shared into
+       !info->executable.
+       (get_fptr): For -pie create .opd as writable section and create
+       .rela.opd as well.
+       (elfNN_ia64_check_relocs): Change info->shared into
+       !info->executable.
+       (allocate_fptr): Likewise.
+       (allocate_dynrel_entries): Account for a relative reloc for -pie
+       @fptr().  Don't account for a relative reloc if -pie want_ltoff_fptr
+       for undefweak symbol.  Account for an IPLT reloc in .rela.opd
+       section if -pie.
+       (set_got_entry): Don't create a relative reloc if -pie
+       want_ltoff_fptr for undefweak symbol.
+       (set_fptr_entry): Emit an IPLT reloc in .rela.opd for -pie.
+       (elfNN_ia64_relocate_section): Emit a relative reloc for -pie
+       @fptr().
+
+       * elfxx-ia64.c (elfNN_ia64_relocate_section): Issue undefined_symbol
+       even if -pie.
+       * elf32-i386.c (elf_i386_relocate_section): Likewise.
+       * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
+       * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
+       * elf64-s390.c (elf_s390_relocate_section): Likewise.
+       * elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
+       * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
+       * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
+       * elf32-s390.c (elf_s390_relocate_section): Likewise.
+       * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
+
+2003-07-04  Paul Clarke <paulc@senet.com.au>
+
+       * elf32-h8300.c (R_H8_DIR32A16): Fix name field.
+       (elf32_h8_relax_section) <R_H8_DIR16A8>: Adjust position of relocation.
+       <R_H8_DIR32A16>: Fix type of relocation.
+
+2003-07-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * elf32-sh.c (sh_elf_create_dynamic_sections): Return if dynamic
+       sections were created already.  Remove unnecessary tests of
+       the previous change.
+
+2003-07-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * elf32-sh.c (sh_elf_create_dynamic_sections): Don't call
+       bfd_make_section for existing sections.
+
 2003-07-04  Alan Modra  <amodra@bigpond.net.au>
 
+       * elf32-sparc.c (elf32_sparc_check_relocs): Don't call
+       create_got_section if we already have done so.
+       * elf32-sh.c (sh_elf_create_dynamic_sections): Likewise.
+       (sh_elf_check_relocs): Likewise.
+       (sh_elf_adjust_dynamic_symbol): Delete "dynobj" var.  Use
+       htab->root.dynobj instead.
+       (sh_elf_check_relocs): Likewise.
+       (sh_elf_finish_dynamic_sections): Likewise.
+
        * section.c (bfd_make_section): Return NULL for existing section.
 
 2003-07-04  Alan Modra  <amodra@bigpond.net.au>