*** empty log message ***
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 5607b97d308017da23e8f36df800dc3f0b291bde..37e3b81c1b88d008863c860a52decd7fa726cdf4 100644 (file)
@@ -1,3 +1,140 @@
+2005-02-10  Paul Brook  <paul@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_final_link_relocate): Handle R_ARM_THM_PC9.
+
+2005-02-10  Paul Brook  <paul@codesourcery.com>
+
+       * elflink.c (bfd_elf_record_link_assignment): Make hidden and internal
+       symbols local.
+       (elf_link_renumber_hash_table_dynsyms): Ignore local symbols.
+       (elf_link_renumber_local_hash_table_dynsyms): New function.
+       (_bfd_elf_link_renumber_dynsyms): Number local dynamic symbols.
+
+2005-02-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * bfd-in.h (BFD_LINKER_CREATED): Define.
+       * bfd-in2.h: Rebuilt.
+       * elflink.c (bfd_elf_size_dynamic_sections): Disregard
+       BFD_LINKER_CREATED bfds when determining input bfds without
+       .note.GNU-stack section.
+
+2005-02-10  Maciej W. Rozycki  <macro@mips.com>
+
+       * elf64-mips.c (mips16_gprel_reloc): Update a comment.
+       * elfn32-mips.c (mips16_gprel_reloc): Keep R_MIPS16_GPREL
+       relocations against external symbols unchanged.
+
+2005-02-08  Paul Brook  <paul@codesourcery.com>
+
+       * elflink.c (elf_link_input_bfd): Ignore symbols from null input
+       sections.
+
+2005-02-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       * elflink.c (elf_link_add_object_symbols): Don't add "warning: "
+       prefix here.
+
+2005-02-07  Maciej W. Rozycki  <macro@mips.com>
+
+       * elf64-mips.c: Fix formatting throughout.
+
+2005-02-07  Maciej W. Rozycki  <macro@mips.com>
+
+       * elfn32-mips.c (elf_mips_howto_table_rela): Fix a comment typo.
+
+2005-02-07  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf32-frv.c (FRVFDPIC_SYM_LOCAL): Remove special handling for
+       *ABS*/*UND* sections.
+       (elf32_frv_relocate_section): Move zero-addend-required error...
+       (_frv_emit_got_relocs_plt_entries): ... here.  Report error for
+       missing needed TLS section.
+
+2005-02-07  Hans-Peter Nilsson  <hp@axis.com>
+
+       * aoutx.h (NAME(aout,find_nearest_line)): Correct case for N_SO
+       being the last symbol.
+       (aout_link_add_symbols): Just return TRUE if a warning
+       symbol was last.
+
+2005-02-07  Maciej W. Rozycki  <macro@mips.com>
+
+       * elf32-mips.c (mips_elf_gprel32_reloc): Reject
+       R_MIPS_GPREL32 relocations against external symbols.
+       * elf64-mips.c (mips_elf64_gprel32_reloc): Replace an incorrect
+       comment.
+
+2005-02-07  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf-bfd.h (elf_string_from_elf_strtab): Delete macro.
+       * elf.c (bfd_elf_string_from_elf_section): Expand occurrence of
+       elf_string_from_elf_strtab.
+       (_bfd_elf_setup_group_pointers, bfd_section_from_shdr): Likewise.
+       (bfd_section_from_shdr): For SHT_SYMTAB, load SHT_SYMTAB_SHNDX too
+       if it exists.  Don't do the reverse for SHT_SYMTAB_SHNDX.  For
+       SHT_STRTAB, check whether the strtab is for symtab or dynsymtab by
+       looking at cached symtab info first, before iterating over headers.
+       For SHT_REL and SHT_RELA, load dynsymtab if needed.
+       * elfcode.h (elf_object_p): Don't load section header stringtab
+       specially.
+
+2005-02-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_relocate_section): Disallow R_386_GOTOFF
+       against protected function when building shared library.
+
+       PR 584
+       * elf64-x86-64.c (is_32bit_relative_branch): New.
+       (elf64_x86_64_relocate_section): Alllow R_X86_64_PC32 on a
+       protected function symbol when building shared library for
+       32bit relative branch instruction.
+
+2005-02-06  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (add_symbol_adjust): Don't create fake descriptor
+       syms when doing a relocatable link.
+       (ppc64_elf_gc_mark_hook): Check that syms are defined before looking
+       at u.def.section.
+       (ppc64_elf_tls_setup): Likewise.
+       (ppc64_elf_edit_opd): Don't use an undefined func desc sym.
+
+2005-02-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (struct ppc_link_hash_entry): Add "fake".
+       (link_hash_newfunc): Clear all locals using memset.
+       (make_fdh): Remove flags param.  Always create fake func desc
+       weak.  Link the descriptor with the code entry sym.
+       (ppc64_elf_archive_symbol_lookup): Don't return fake syms.
+       (add_symbol_adjust): Adjust make_fdh call.
+       (func_desc_adjust): Likewise.  Twiddle any pre-existing fake
+       descriptor to strong undefined if code entry is strong.
+
+2005-02-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * elflink.c (bfd_elf_record_link_assignment): Do "provide" symbol
+       lookup here.  Set to new before calling bfd_link_repair_undef_list.
+       (elf_smash_syms): Check that u.undef.weak isn't the not_needed bfd.
+
+2005-02-03  Alan Modra  <amodra@bigpond.net.au>
+
+       * linker.c (_bfd_link_hash_newfunc): Set all local fields.
+
+2005-02-03  Alan Modra  <amodra@bigpond.net.au>
+
+       * linker.c (_bfd_generic_link_add_one_symbol): Set u.undef.weak.
+       * elflink.c (elf_smash_syms): Restore symbols that were undefweak
+       before the as-needed lib was loaded.  Abort on unexpected refs.
+
+2005-02-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * elflink.c (elf_smash_syms): Expand comments.
+       (elf_link_add_object_symbols): Only call elf_smash_syms for
+       as-needed dynamic objects.
+
+       * elfxx-ia64.c (elfNN_ia64_new_elf_hash_entry): Don't clear
+       everything, just the field specific to ia64.
+       * elf64-hppa.c (elf64_hppa_new_dyn_hash_entry): Likewise.
+
 2005-02-01  Alan Modra  <amodra@bigpond.net.au>
 
        * elf64-ppc.c (func_desc_adjust): Move code creating func desc sym to..
 
        * elf32-arm.c (elf32_arm_symbian_special_sections): Do not set
        SHF_WRITE for .init_array, .fini_array, and .preinit_array.
-       
+
 2005-01-31  Nick Clifton  <nickc@redhat.com>
 
        * confg.bfd: Make targets scheduled for obsoletion (m68k-lynxos,
        * bin-in2.h (bfd_elf32_arm_set_target_relocs): Update prototype.
        * elf32-arm.c (elf32_arm_link_hash_table): Add fix_v4bx flag.
        (bfd_elf32_arm_set_target_relocs): Add formal parameter fix_v4bx for
-       passing flag value from ld. Set flag value in global hash table entry. 
+       passing flag value from ld. Set flag value in global hash table entry.
        (elf32_arm_final_link_relocate): Add code to implement R_ARM_V4BX
-       relocation. 
+       relocation.
 
 2005-01-27  Andrew Cagney  <cagney@gnu.org>
 
 2005-01-25  Mark Mitchell  <mark@codesourcery.com>
 
        * elf32-arm.c (elf_backend_default_use_rela_p): Define to zero for
-       SymbianOS. 
+       SymbianOS.
 
 2005-01-25  Alexandre Oliva  <aoliva@redhat.com>
 
This page took 0.025432 seconds and 4 git commands to generate.