* elf32-sh.c (sh_elf_create_dynamic_sections): Return if dynamic
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 47e0038fbf1975fe0e966e5b3b4c3a5b62b4c68e..be245f0c5c7a3bc34c665e5907859a3b8e4dda5e 100644 (file)
@@ -1,3 +1,80 @@
+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>
+
+       * elf32-ppc.c (ppc_elf_create_dynamic_sections): Don't call
+       ppc_elf_create_got if we've already done so.
+
+       * elf-bfd.h (_bfd_elf_create_linker_section) Don't declare.
+       (_bfd_elf_find_pointer_linker_section): Likewise.
+       (bfd_elf32_create_pointer_linker_section): Likewise.
+       (bfd_elf32_finish_pointer_linker_section): Likewise.
+       (bfd_elf64_create_pointer_linker_section): Likewise.
+       (bfd_elf64_finish_pointer_linker_section): Likewise.
+       (_bfd_elf_make_linker_section_rela): Likewise.
+       * elfcode.h (elf_create_pointer_linker_section): Don't define.
+       (elf_finish_pointer_linker_section): Likewise.
+       * elflink.c (_bfd_elf_make_linker_section_rela): Delete.
+       (_bfd_elf_create_linker_section): Move this function..
+       (_bfd_elf_find_pointer_linker_section): ..and this..
+       * elflink.h (elf_create_pointer_linker_section): ..and this..
+       (elf_finish_pointer_linker_section): ..and this..
+       * elf32-ppc.c: ..to here, renaming to the following, and adjusting
+       calls.
+       (elf_create_linker_section): Convert to C90, tidy.
+       (elf_find_pointer_linker_section): Likewise.
+       (elf_create_pointer_linker_section): Likewise.
+       (elf_finish_pointer_linker_section): Likewise.
+       * elf32-i370.c: Delete #if 0 code.
+
+2003-07-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc64_elf_func_desc_adjust): Don't allow _savef* and
+       _restf* to be satisfied by shared libs, and always force them local.
+       (toc_adjusting_stub_needed): Avoid scanning linker created sections.
+       Correct test for "bl".
+       (ppc64_elf_relocate_section <R_PPC64_TLS>): Correct test for
+       primary opcode 31.
+
+2003-07-01  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * elf32-s390.c (s390_elf_ldisp_reloc): New prototype.
+       (s390_tls_reloc): New function.
+       (elf_howto_table): Add long displacement relocations R_390_20,
+       R_390_GOT20, R_390_GOTPLT20 and R_390_TLS_GOTIE20.
+       (elf_s390_reloc_type_lookup): Likewise.
+       (elf_s390_check_relocs): Likewise.
+       (elf_s390_gc_sweep_hook): Likewise.
+       (elf_s390_relocate_section): Likewise.
+       * elf64-s390.c: Same changes as for elf32-s390.c.
+       * reloc.c: Add long displacement relocations BFD_RELOC_390_20,
+       BFD_RELOC_390_GOT20, BFD_RELOC_390_GOTPLT20 and 
+       BFD_RELOC_390_TLS_GOTIE20.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Likewise.
+
 2003-06-30  Alan Modra  <amodra@bigpond.net.au>
 
        * cpu-ia64-opc.c (ext_imms_scaled): Don't sign extend using shifts.
        (aout_link_write_symbols): Cast enums in comparisons, int values to
        boolean, enums in assignments to int.
        (aout_link_input_section_std): Cast rel->r_index to unsigned int.
-       (aout_link_input_section_ext): Likewise.  Cast enums used in comparisons
-       with unsigned ints.
+       (aout_link_input_section_ext): Likewise.  Cast enums used in
+       comparisons with unsigned ints.
        (aout_link_reloc_link_order): Cast enum to int in assignment.
        * archive.c (_bfd_generic_read_ar_hdr_mag): Cast result of memchr
        calls to char *.
        (merge_strings): Add casts to const unsigned char *.
        * reloc.c (bfd_get_reloc_code_name): Cast enums in comparison to int.
        (bfd_generic_get_relocated_section_content): Cast enum to unsigned int.
-       * section.c (bfd_section_hash_newfunc): Cast bfd_hash_allocate result to
-       struct bfd_hash_entry *.
+       * section.c (bfd_section_hash_newfunc): Cast bfd_hash_allocate result
+       to struct bfd_hash_entry *.
        (bfd_set_section_content): Add cast to PTR in comparison.
        * simple.c (simple_dummy_warning, simple_dummy_undefined_symbol,
        simple_dummy_reloc_overflow, simple_dummy_reloc_dangerous,
This page took 0.025842 seconds and 4 git commands to generate.