* simple.c (bfd_simple_get_relocated_section_contents): Call
[binutils-gdb.git] / bfd / ChangeLog
index 3df4fc8ed3fe2dc79146f4f6f52e32ad93f4f888..4b54cc23b80cd8d60d933b30fb01e42ffa90cf38 100644 (file)
@@ -1,3 +1,220 @@
+2003-06-05  Daniel Jacobowitz  <drow@mvista.com>
+
+       * simple.c (bfd_simple_get_relocated_section_contents): Call
+       _bfd_generic_link_add_symbols instead of bfd_link_add_symbols.
+
+2003-06-04  Svein E. Seldal  <Svein.Seldal@solidas.com>
+
+       * coff-tic54x.c: Removed the ticoff0_bad_format_hook() and
+       ticoff1_bad_format_hook() functions. Removed the coff0 and coff1
+       swaptables.
+       * coff-tic4x.c: Ditto
+       * coffcode.h: Added extra arguments to CREATE_BIG_COFF_TARGET_VEC
+       and CREATE_LITTLE_COFF_TARGET_VEC. Created the macro
+       CREATE_BIGHDR_COFF_TARGET_VEC. Created the ticoff0_bad_format_hook(),
+       ticoff1_bad_format_hook() functions. Created the coff0 and coff1
+       swap tables.
+       * coff-tic4x.c: Adopted new CREATE_xxx_COFF_TARGET_VEC macros.
+       * coff-a29k.c: Append COFF_SWAP_TABLE argument
+       * coff-apollo.c: Ditto
+       * coff-arm.c: Ditto
+       * coff-h8300.c: Ditto
+       * coff-h8500.c: Ditto
+       * coff-i960.c: Ditto
+       * coff-m68k.c: Ditto
+       * coff-m88k.c: Ditto
+       * coff-mcore.c: Ditto
+       * coff-sh.c: Ditto
+       * coff-sparc.c: Ditto
+       * coff-tic80.c: Ditto
+       * coff-we32k.c: Ditto
+       * coff-z8k.c: Ditto
+       * coff-w65.c: Ditto
+
+2003-06-04  Svein E. Seldal  <Svein.Seldal@solidas.com>
+
+       * coff-tic4x.c (ticoff0_swap_table, ticoff1_swap_table): Fixed
+       initialization bug
+
+2003-06-03  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_STACK.
+       (bfd_section_from_phdr): Likewise.
+       (map_sections_to_segments): Create PT_GNU_STACK segment header.
+       (get_program_header_size): Count with PT_GNU_STACK.
+       * elf-bfd.h (struct elf_obj_tdata): Add stack_flags.
+       * elflink.h (bfd_elfNN_size_dynamic_sections): Set stack_flags.
+
+2003-06-03  H.J. Lu <hongjiu.lu@intel.com>
+
+       * elflink.h (elf_link_input_bfd): Call linker error_handler
+       for discarded definitions.
+
+2003-06-03  Elias Athanasopoulos  <elathan@phys.uoa.gr>
+
+       * syms.c (decode_section_type): Return 'n' if section flags are
+       SEC_HAS_CONTENTS && SEC_READONLY.
+
+2003-06-03  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-v850.c (v850_elf_howto_t): Rename R_V850_32to
+       R_V850_ABS32.  Add entry for R_V850_REL32.
+        (v850_elf_reloc_map): Likewise.
+        (v850_elf_check_relocs): Likewise.
+        (v850_elf_perform_relocation): Likewise.
+        (v850_elf_final_link_relocate): Likewise.  Include computation
+       to make R_V850_REl32 pc-relative.
+          
+2003-06-03  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * elf32-sh.c (sh_elf_size_dynamic_sections): Create .interp section
+       and DT_DEBUG dynamic tag even for position independent executables.
+       * elf64-sh64.c (sh64_elf64_size_dynamic_sections): Likewize.
+
+2003-06-02  Daniel Jacobowitz  <drow@mvista.com>
+
+       * config.bfd: Move obsolete entries out of the range of the
+       targmatch sed script.
+
+2003-06-02  Daniel Jacobowitz  <drow@mvista.com>
+
+       * config.bfd (mips*-dec-bsd*, mips*-*-pe*): Mark as obsolete.
+
+2003-05-31  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf32-ppc.c (allocate_dynrelocs): Use single slot for first 8192
+       plt entries, not just 8191.
+
+2003-05-30  Daniel Jacobowitz  <drow@mvista.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_discard_info): Correct loop index.
+       Reported by Ken Faiczak <kfaiczak@SANDVINE.com>.
+
+2003-05-30  Ulrich Drepper  <drepper@redhat.com>
+           Jakub Jelinek  <jakub@redhat.com>
+
+       * elflink.h (elf_link_add_object_symbols): Use !info->executable
+       instead of info->shared where appropriate.
+       (bfd_elfNN_size_dynamic_sections, elf_link_output_extsym): Likewise.
+       * elflink.c (_bfd_elf_create_got_section): Likewise.
+       (_bfd_elf_link_create_dynamic_sections): Likewise.
+       (_bfd_elf_link_assign_sym_version): Likewise.
+       * elf32-i386.c (elf_i386_size_dynamic_sections): Create .interp section
+       and DT_DEBUG dynamic tag even for position independent executables.
+       * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise.
+       * elf32-s390.c (elf_s390_size_dynamic_sections: Likewise.
+       * elf64-ppc.c (ppc64_elf_size_dynamic_sections: Likewise.
+       * elf64-s390.c (elf_s390_size_dynamic_sections: Likewise.
+       * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections: Likewise.
+       * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections: Likewise.
+       * elf32-sparc.c (elf32_sparc_size_dynamic_sections: Likewise.
+       * elf64-alpha.c (elf64_alpha_size_dynamic_sections: Likewise.
+       * elf64-sparc.c (sparc64_elf_size_dynamic_sections: Likewise.
+
+2003-05-30  Kris Warkentin <kewarken@qnx.com>
+
+       * elf.c (elfcore_grok_nto_status): Only set lwpid for the active or
+       signalled thread.
+       (elfcore_grok_nto_gregs): Only make .reg section for the active thread.
+
+2003-05-29  Nick Clifton  <nickc@redhat.com>
+
+       * pef.c: Include "safe-ctype.h" instead of <ctype.h>.
+       Tidy up formatting.
+       * Makefile.am: Add dependency on safe-ctype.h.
+       * Makefile.in: Regenerate.
+
+2003-05-29  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * elfxx-mips.c: Don't force symbols local unconditionally.
+
+2003-05-28  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-hppa.c (elf32_hppa_relocate_section): Delete bogus
+       undefined_symbol call.
+
+2003-05-27  Richard Sandiford  <rsandifo@redhat.com>
+
+       * elfxx-mips.c (mips_elf_hash_sort_data): Fix formattting.
+       (mips_elf_link_hash_table): Likewise.
+
+2003-05-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * elf64-mips.c (elf_mips_gnu_rel16_s2): Add internally used
+       R_MIPS_GNU_REL16_S2 support.
+       (bfd_elf64_bfd_reloc_type_lookup): Use it.
+       (mips_elf64_rtype_to_howto): Use it.
+       * elfn32-mips.c (elf_mips_gnu_rel16_s2): Add internally used
+       R_MIPS_GNU_REL16_S2 support.
+       (bfd_elf32_bfd_reloc_type_lookup): Use it.
+       (mips_elf_n32_rtype_to_howto): Use it.
+
+2003-05-21  Stuart F. Downing  <sdowning@fame.com>
+
+       * som.h: Define PA_2_0 before including a.out.h
+
+2003-05-07  Eric Christopher  <echristo@redhat.com>
+           Alexandre Oliva   <aoliva@redhat.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Adjust
+       pic tests, change to warning.
+       (_bfd_mips_elf_final_link): Remove EF_MIPS_CPIC flag setting.
+
+2003-05-21  Marcus Comstedt  <marcus@mc.pp.se>
+
+       * config.bfd: Check for a target triplet of shl-...-netbsdelf as
+       well as shle-...-netbsdelf.  Remove duplicate entry.
+
+2003-05-21  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-xstormy16.c (xstormy16_elf_howto_table): Fix dst_mask
+       for X_STORMY16_REL_12 reloc.
+
+       * elf.c (bfd_elf_get_needed_list): Use is_elf_hash_table to check
+       the type of the has table in the bfd_link_info structure.
+       (bfd_elf_get_runpath_list): Likewise.
+
+2003-05-19  Roland McGrath  <roland@redhat.com>
+
+       * elf.c (bfd_elf_bfd_from_remote_memory): New function.
+       * bfd-in.h: Declare it.
+       * bfd-in2.h: Regenerated.
+       * elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): New function.
+       * elf-bfd.h (struct elf_backend_data): New function pointer member
+       elf_backend_bfd_from_remote_memory.
+       (_bfd_elf32_bfd_from_remote_memory, _bfd_elf64_bfd_from_remote_memory):
+       Declare them.
+       * elfxx-target.h (elf_backend_bfd_from_remote_memory): New macro.
+       (elfNN_bed): Add that to the initializer.
+
+2003-05-15  Roland McGrath  <roland@redhat.com>
+
+       * elf.c (elfcore_grok_note): Grok NT_AUXV note, make ".auxv" section.
+
+2003-05-20  Jakub Jelinek  <jakub@redhat.com>
+
+       * elflink.h (elf_link_output_extsym): Only issue error about !=
+       STV_DEFAULT symbols if they are bfd_link_hash_undefined.
+
+2003-05-20  H.J. Lu <hongjiu.lu@intel.com>
+
+       * elflink.c (_bfd_elf_merge_symbol): Check ELF_LINK_DYNAMIC_DEF
+       when removing the old definition for symbols with non-default
+       visibility.
+
+2003-05-18  Jason Eckhardt  <jle@rice.edu>
+
+       * elf32-i860.c (elf32_i860_relocate_highadj): Simplify calculation.
+
+2003-05-17  Andreas Schwab  <schwab@suse.de>
+
+       * elf32-m68k.c (elf_m68k_check_relocs): Cache reloc section in
+       elf_section_data during processing of pc-relative and absolute
+       relocations.
+       (elf_m68k_relocate_section): Use the cached reloc section instead
+       of computing it again.  Fix handling of visibility.  Don't modify
+       addend when copying over a relocation into the output.
+
 2003-05-17  Alan Modra  <amodra@bigpond.net.au>
 
        * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL
        (elf_i386_relocate_section): Initialize the GOT entries and
        skip R_386_32/R_386_PC32 for weak undefined symbols with
        non-default visibility.
+
        * elfxx-ia64.c (allocate_fptr): Don't allocate function
        descriptors for weak undefined symbols with non-default
        visibility.