X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2FChangeLog;h=ff4cec06c3cdd9a3bf82ff8eec784925936529d9;hb=92fd189de17fc72329b06babf4b9a49881dba792;hp=64d98178e16d6382256c539f54dcf734b7c22373;hpb=a4d8e49b5087fc4ed7392b451d506ee6a643bae1;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 64d98178e1..ff4cec06c3 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,466 @@ +2005-09-08 H.J. Lu + + PR ld/1263 + * elflink.c (elf_link_add_object_symbols): Abort for + --just-symbols on DSO. + +2005-09-08 Paul Brook + + * reloc.c: Rename BFD_RELOC_ARM_SMI to BFD_RELOC_ARM_SMC. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2005-09-06 H.J. Lu + + PR ld/1301 + * elflink.c (_bfd_elf_merge_symbol): Don't check undefined + symbol introduced by "ld -u" for TLS. + +2005-09-02 Paul Brook + + * libbdf.h: Regenerate. + * bfd-in2.h: Regenerate. + * reloc.c: Add BFD_RELOC_ARM_T32_CP_OFF_IMM and + BFD_RELOC_ARM_T32_CP_OFF_IMM_S2. + +2005-09-01 Dmitry Diky + + * elf32-msp430.c (msp430_elf_relax_delete_bytes): Do not adjust + local symbols and move it to + (msp430_elf_relax_adjust_locals): New function - walk over the + sections in the bfd and adjust relocations as necessary. + +2005-08-31 DJ Delorie + + * elf32-i386.c (elf_i386_check_relocs): Don't cast a unary & + address operator, as that breaks GCC's strict aliasing rules. + (elf_i386_size_dynamic_sections): Avoid the need for type + punning. + * elf64-x86-64.c (elf_x86_64_check_relocs): Don't cast a unary + & address operator, as that breaks GCC's strict aliasing + rules. + (elf_x86_64_size_dynamic_sections): Avoid the need for type + punning. + +2005-08-30 Phil Edwards + + * config.bfd (i[3-7]86-*-vxworks): Match vxworks* instead. + +2005-08-29 H.J. Lu + + PR ld/1247 + * elfxx-ia64.c (allocate_fptr): Check undefined symbol. + +2005-08-29 Steven J. Hill + + * elfxx-mips.c (_bfd_mips_elf_relocate_section): Initialise + 'value' to avoid compile time warning message. + +2005-08-26 Christian Groessler + + * coff-z8k.c: (r_jr, r_disp7, r_callr): Fix src_mask and dst_mask + of HOWTO. + (coff_z8k_select_reloc): Remove. + (SELECT_RELOC): Remove. + (coff_z8k_reloc_type_lookup): New function. + (coff_bfd_reloc_type_lookup): Define. + * configure.in: Add cofflink.lo to z8kcoff_vec. + * configure: Regenerate. + * reloc.c: (bfd_reloc_code_type): Add z8k relocations. + (bfd_install_relocation): Don't clear reloc_entry->addend for + coff-z8k target. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2005-08-25 Kaz Kojima + + * elf32-sh.c (sh_elf_get_flags_from_mach): Fix off-by-one error. + +2005-08-24 H.J. Lu + + PR ld/1208 + * elf-hppa.h (elf_hppa_relocate_section): Print out the name + of unresolvable relocation. + * elf-m10300.c (mn10300_elf_relocate_section): Likewise. + * elf32-arm.c (elf32_arm_relocate_section): Likewise. + * elf32-i386.c (elf_i386_relocate_section): Likewise. + * elf32-m32r.c (m32r_elf_relocate_section): Likewise. + * elf32-m68k.c (elf_m68k_relocate_section): Likewise. + * elf32-s390.c (elf_s390_relocate_section): Likewise. + * elf32-sh.c (sh_elf_relocate_section): Likewise. + * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. + * elf64-s390.c (elf_s390_relocate_section): Likewise. + * elf64-sh64.c (sh_elf64_relocate_section): Likewise. + * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. + * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise. + +2005-08-18 Kaz Kojima + + * config.bfd: Add bfd_elf32_shnbsd_vec and bfd_elf32_shlnbsd_vec + to targ_selvecs for sh5*-*-netbsd* and sh64*-*-netbsd*. + +2005-08-18 Alan Modra + + * coff-a29k.c: Delete. + * cpu-a29k.c: Delete. + * Makefile.am: Remove mention of a29k files. + * aoutf1.h: Remove a29k support. + * aoutx.h: Likewise. + * archures.c: Likewise. + * coffcode.h: Likewise. + * config.bfd: Likewise. + * configure.in: Likewise. + * ieee.c: Likewise. + * mipsbsd.c: Likewise. + * pdp11.c: Likewise. + * sparclynx.c: Likewise. + * targets.c: Likewise. + * Makefile.in: Regenerate. + * configure: Regenerate. + * bfd-in2.h: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2005-08-18 Alan Modra + + * elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Warn on + zero size dynamic variables. + * elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Likewise. + * elf32-cris.c (elf_cris_adjust_dynamic_symbol): Likewise. + * elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise. + * elf32-i370.c (i370_elf_adjust_dynamic_symbol): Likewise. + * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise. + * elf32-m32r.c (m32r_elf_adjust_dynamic_symbol): Likewise. + * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise. + * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise. + * elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. + * elf32-sh.c (sh_elf_adjust_dynamic_symbol): Likewise. + * elf32-vax.c (elf_vax_adjust_dynamic_symbol): Likewise. + * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise. + * elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. + * elf64-sh64.c (sh64_elf64_adjust_dynamic_symbol): Likewise. + * elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise. + * elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise. + +2005-08-17 H.J. Lu + + PR binutils/1179 + * dwarf2.c (_bfd_dwarf2_find_nearest_line): Use section lma + instead of vma. + (_bfd_dwarf2_find_line): Likewise. + +2005-08-17 Alan Modra + + * elf64-mmix.c (mmix_elf_add_symbol_hook): Mark reg section + SEC_LINKER_CREATED. + (mmix_elf_final_link): Check that section hasn't already been + removed before removing. + * mmo.c (mmo_scan): Mark reg contents section SEC_LINKER_CREATED. + (mmo_canonicalize_symtab): Likewise for reg section. + +2005-08-17 Alan Modra + + * elf32-cris.c (elf_cris_adjust_gotplt_to_got): Move assert later. + * elfxx-mips.c (_bfd_mips_elf_hide_symbol): Cope with being called + without any got section. + +2005-08-17 Danny Smith + + * cofflink.c (_bfd_coff_generic_relocate_section): Correct + comment. + +2005-08-17 Alan Modra + + * elflink.c (_bfd_elf_define_linkage_sym): Don't call + bfd_elf_link_record_dynamic_symbol. Call elf_backend_hide_symbol. + (_bfd_elf_link_renumber_dynsyms): Formatting. + (struct elf_gc_sweep_symbol_info): New. + (elf_gc_sweep_symbol): Rewrite. + (elf_gc_sweep): Adjust params and elf_gc_sweep_symbol call. + Call _bfd_elf_link_renumber_dynsyms. + (bfd_elf_gc_sections): Adjust elf_gc_sweep call. + +2005-08-16 Alan Modra + + * elf64-ppc.c (ppc64_elf_edit_opd): Don't call dec_dynrel_count + when relocatable. + +2005-08-15 Bob Wilson + + * elf32-xtensa.c (ELF_MACHINE_CODE, ELF_MACHINE_ALT1): Swap values + of EM_XTENSA and EM_XTENSA_OLD. + +2005-08-16 Alan Modra + + * elf-bfd.h (_bfd_elf_define_linkage_sym): Declare. + * elflink.c (_bfd_elf_define_linkage_sym): New function, extracted + from.. + (_bfd_elf_create_got_section): ..here. + (_bfd_elf_link_create_dynamic_sections): Call it for _DYNAMIC. + (_bfd_elf_create_dynamic_sections): ..and _PROCEDURE_LINKAGE_TABLE_. + * elf-m10300.c (_bfd_mn10300_elf_create_got_section): Use + _bfd_elf_define_linkage_sym. + * elf32-frv.c (_frv_create_got_section): Likewise. + * elf64-alpha.c (elf64_alpha_create_dynamic_sections): Likewise. + +2005-08-15 Paul Brook + + * elf32-arm.c (elf32_arm_howto_table_1): Make R_ARM_PLT32 the same as + R_ARM_PC24. + +2005-08-13 John David Anglin + + PR ld/1135 + * elf64-hppa.c (elf64_hppa_special_sections): Add flag definitions for + .plt, .dlt, .sdata, .sbss and .tbss. + +2005-08-12 Dmitry Diky + + * elf32-msp430.c (msp430_elf_relax_delete_bytes): Adjust relocations + referenced by .section + DISPLACEMENT. + +2005-08-10 James E. Wilson + + * dwarf2.c (scan_unit_for_symbols, case DT_AT_location): Verify that + DW_OP_addr is only opcode in location before using it. + +2005-08-09 H.J. Lu + + * elfxx-ia64.c (elfNN_ia64_final_link): Reset gp. + +2005-08-09 Rodney Brown + Nick Clifton + + * aix5ppc-core.c (xcoff64_core_p): Constify return_value + variable. Also, do not use core_hdr macro as it evaluates to a + cast of an lvalue which is no longer supported by GCC 4.0. + +2005-08-08 Eric Dönges + + * archures.c (bfd_mach_msp21): New MSP430 machine number. + * bfd-in2.h: Regenerate. + * cpu-msp430.c (arch_info_struct): Add support for msp430x21xx + variants. + +2005-08-07 Nick Clifton + Paul Brook + + PR 1147 + * elf32-arm.c (bfd_elf32_close_and_cleanup): Define. + (elf32_arm_close_and_cleanup): New function - walk over the + sections in the bfd that is being closed removing them from the + list of recorded sections. + (unrecord_section_via_map_over_sections): New helper function. + (record_section_with_arm_elf_section_data): Call bfd_malloc + instead of bfd_alloc. Remove unneeded abfd parameter. + (elf32_arm_new_section_hook): Do not pass bfd to + record_section_with_arm_elf_section_data. + + * elfxx-target.h (bfd_elfNN_close_and_cleanup): Only define if not + already defined by the target. + +2005-08-05 Fred Fish + + * dwarf2.c (read_rangelist): Use addr_size instead of offset_size + to determine how many bytes to read from each rangelist entry. + +2005-08-05 H.J. Lu + + * bfd.c (bfd_hide_symbol): New. + * bfd-in2.h: Regenerated. + +2005-08-04 H.J. Lu + + * elf64-x86-64.c (elf64_x86_64_merge_symbol): When mixing a + large common symbol and a normal common symbol, always turn + the large common symbol into a normal one. + +2005-08-04 Alan Modra + + * elf32-ppc.c (struct elf_linker_section): Replace sym_val field + with sym. + (ppc_elf_relocate_section): Adjust for above. + (create_sdata_sym): New function. + (ppc_elf_create_linker_section): Call it. + (ppc_elf_check_relocs): Correct has_sda_refs and non_got_refs. + Create sdata syms for all SDA relocs. + (ppc_elf_adjust_dynamic_symbol): Don't special case _SDA_BASE_ + and _SDA2_BASE_. + (ppc_elf_set_sdata_syms): Delete. + * elflink.c (bfd_elf_size_dynamic_sections): Don't create DT_INIT + and DT_FINI tags unless associated section has input. + (bfd_elf_set_symbol, _bfd_elf_provide_symbol): Delete. + (_bfd_elf_provide_section_bound_symbols): Delete. + * bfd-in.h (_bfd_elf_provide_symbol): Delete. + (_bfd_elf_provide_section_bound_symbols): Delete. + * bfd-in2.h: Regenerate. + +2005-08-04 Alan Modra + + * elflink.c (fix_syms, _bfd_elf_fix_excluded_sec_syms): Move to.. + * linker.c (fix_syms, _bfd_fix_excluded_sec_syms): ..here. + * bfd-in.h (_bfd_fix_excluded_sec_syms): Rename. + * bfd-in2.h: Regenerate. + +2005-08-03 H.J. Lu + + * elfxx-ia64.c (elfNN_ia64_relax_section): Resize .rela.got + only if it isn't NULL. + +2005-08-03 H.J. Lu + + * elf32-i386.c (elf_howto_table): Undo the overflow change for + R_386_PC16 made on 2005-07-18. + + * elf64-x86-64.c (x86_64_elf_howto_table): Undo the overflow + change for R_X86_64_PC16 made on 2005-07-18. + +2005-08-03 Alan Modra + + * elf32-ppc.c (struct ppc_elf_link_hash_table): Remove hgot. Use + elf.hgot throughout file. + +2005-08-03 Alan Modra + + * elf32-ppc.c (ppc_elf_size_dynamic_sections): Correct value of + _GLOBAL_OFFSET_TABLE_ for > 32k GOT. + +2005-08-02 Andreas Schwab + + * elfxx-ia64.c (struct elfNN_ia64_allocate_data): Add only_got. + (elfNN_ia64_relax_section): Reallocate .rela.got when .got has + changed. + (allocate_dynrel_entries): Look only at GOT relocations when + only_got is true. + (elfNN_ia64_size_dynamic_sections): Set only_got to false before + calling allocate_dynrel_entries. + +2005-08-02 Nick Clifton + + PR 1147 + * elf32-arm.c (struct _arm_elf_section_data): Turn into a typedef + and make the mapcount field unsigned. + (struct section_list): New: Used to keep track of which sections + have an _arm_elf_section_data structure. + (record_section_with_arm_elf_section_data): New function. + (get_arm_elf_section_data): New function. + (unrecord_section_with_arm_elf_section_data): New function. + (elf32_arm_output_symbol_hook): Use get_arm_elf_section_data. + (elf32_arm_new_section_hook): Call + record_section_with_arm_elf_section_data. + (elf32_arm_write_section): Use get_arm_elf_section_data and + unrecord_section_with_arm_elf_section_data. + +2005-08-01 Richard Sandiford + + * elfxx-mips.c (mips_mach_extends_p): Treat MIPS64 as an extension + of MIPS32 and MIPS64r2 as an extension of MIPS32r2. + +2005-07-30 David Daney + + * elflink.c (elf_gc_sweep): Set dynsymcount to correct value. + +2005-07-29 David Daney + + * elfxx-mips.c (_bfd_mips_elf_add_symbol_hook): Ignore _gp_disp + if it is in the *ABS* section. + +2005-07-29 Paul Brook + + * reloc.c: Add BFD_RELOC_ARM_T32_ADD_PC12. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2005-07-29 Paul Brook + + * reloc.c (BFD_RELOC_ARM_T32_IMM12): Add. + * bfd-in2.h: Regeenrate. + * libbfd.h: Regenerate. + +2005-07-29 Pavel Kankovsky + + * peXXigen.c (pe_print_edata): Compute the size of the export + table from the size field in the DataDictionary and not the size + of the section. Some linkers embed the export table inside a + larger section. + +2005-07-29 Alan Modra + + * elf-bfd.h (struct elf_backend_data): Add action_discarded. + (enum action_discarded): Move from.. + * elflink.c (enum action_discarded): ..here. + (_bfd_elf_default_action_discarded): Rename from elf_action_discarded. + Remove target specific section checks. + (elf_link_input_bfd): Adjust. + * elfxx-target.h (elf_backend_action_discarded): Define. + (elfNN_bed): Init new field. + * bfd-in.h (_bfd_elf_default_action_discarded): Declare. + * bfd-in2.h: Regenerate. + * elf-hppa.h (elf_hppa_action_discarded): New function. + * elf32-hppa.c (elf_backend_action_discarded): Define. + * elf64-hppa.c (elf_backend_action_discarded): Define. + * elf32-ppc.c (ppc_elf_action_discarded): New function. + (elf_backend_action_discarded): Define. + +2005-07-27 Alan Modra + + * elflink.c (fix_syms): Handle symbols defined in input sections. + +2005-07-27 Jan Beulich + + * elf64-x86-64.c (R_X86_64_standard, R_X86_64_vt_offset): New. + (elf64_x86_64_info_to_howto): Use them. + +2005-07-27 Alan Modra + + * elflink.c (_bfd_elf_merge_symbol): Skip weak redefinition + regardless of strength of previous definition. + +2005-07-26 Alan Modra + + * elflink.c (elf_gc_mark_dynamic_ref_symbol): Handle -shared. + (bfd_elf_gc_sections): Allow -gc-sections when -shared. + * elf32-ppc.c (ppc_elf_gc_sweep_hook): Correct for -shared. + +2005-07-26 Alan Modra + + * elflink.c (elf_gc_sweep): Move gcc_except_table code.. + (bfd_elf_gc_sections): ..to here. + +2005-07-25 DJ Delorie + + * reloc.c: Remove unused M32C relocs, add BFD_RELOC_M32C_HI8. + * libbfd.h: Regenerate. + * bfd-in2.h: Regenerate. + + * elf32-m32c.c (m32c_elf_howto_table): Add R_M32C_8, R_M32C_LO16, + R_M32C_HI8, R_M32C_HI16. + (m32c_reloc_map): Likewise. + (m32c_elf_relocate_section): Add R_M32C_HI8 and R_M32C_HI16. + +2005-07-25 Jan Hubicka + H.J. Lu + + * elf-bfd.h (_bfd_elf_large_com_section): New. + * elf.c (_bfd_elf_large_com_section): New. Defined. + + * elf64-x86-64.c (elf64_x86_64_add_symbol_hook): New. + (elf64_x86_64_elf_section_from_bfd_section): New. + (elf64_x86_64_symbol_processing): New. + (elf64_x86_64_common_definition): New. + (elf64_x86_64_common_section_index): New. + (elf64_x86_64_common_section): New. + (elf64_x86_64_merge_symbol): New. + (elf64_x86_64_additional_program_headers): New. + (elf64_x86_64_special_sections): New. + (elf_backend_section_from_bfd_section): New. Defined. + (elf_backend_add_symbol_hook): Likewise. + (elf_backend_common_section_index): Likewise. + (elf_backend_common_section): Likewise. + (elf_backend_common_definition): Likewise. + (elf_backend_merge_symbol): Likewise. + (elf_backend_special_sections): Likewise. + (elf_backend_additional_program_headers): Likewise. + 2005-07-25 H.J. Lu * elf-bfd.h (elf_backend_data): Add common_definition, @@ -79,10 +542,10 @@ 2005-07-18 Nick Clifton * config.bfd: Move m32c entry to correct location. - * archures.c: Likewise. - * configure.in: Likewise. - * configure: Regenerate. - * targets.c: Move ms1 vector to correct location. + * archures.c: Likewise. + * configure.in: Likewise. + * configure: Regenerate. + * targets.c: Move ms1 vector to correct location. 2005-07-18 Jan Beulich