aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2007-01-19daily updateAlan Modra1-1/+1
2007-01-18daily updateAlan Modra1-1/+1
2007-01-17daily updateAlan Modra1-1/+1
2007-01-16daily updateAlan Modra1-1/+1
2007-01-16bfd/H.J. Lu3-7/+33
2007-01-16 H.J. Lu <hongjiu.lu@intel.com> PR ld/3831 * elf-bfd.h (bfd_elf_link_mark_dynamic_symbol): Add an argument, Elf_Internal_Sym *. * elflink.c (bfd_elf_link_mark_dynamic_symbol): Mark a data symbol dynamic if info->dynamic_data is TRUE. (bfd_elf_record_link_assignment): Updated call to bfd_elf_record_link_assignment. (_bfd_elf_merge_symbol): Likewise. Always call bfd_elf_link_mark_dynamic_symbol. include/ 2007-01-16 H.J. Lu <hongjiu.lu@intel.com> PR ld/3831 * bfdlink.h (bfd_link_info): Rename dynamic to dynamic_list. Add dynamic and dynamic_data. ld/ 2007-01-16 H.J. Lu <hongjiu.lu@intel.com> PR ld/3831 * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and --dynamic-list-cpp-new. * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data and --dynamic-list-cpp-new. * ldlang.c (lang_append_dynamic_list_cpp_new): New. (lang_process): Change link_info.dynamic to link_info.dynamic_list. (lang_append_dynamic_list): Likewise. * ldmain.c (main): Likewise. Initialize link_info.dynamic and link_info.dynamic_data to FALSE. * ldlang.h (lang_append_dynamic_list_cpp_new): New. * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and OPTION_DYNAMIC_LIST_CPP_NEW. (ld_options): Add entries for -Bsymbolic-functions, --dynamic-list-data and --dynamic-list-cpp-new. Make -Bsymbolic-functions an alias of --dynamic-list-data. (parse_args): Change link_info.dynamic to link_info.dynamic_list. Set link_info.dynamic to TRUE for --dynamic-list and --dynamic-list-cpp-typeinfo. Handle --dynamic-list-data and --dynamic-list-cpp-new. ld/testsuite/ 2007-01-16 H.J. Lu <hongjiu.lu@intel.com> PR ld/3831 * ld-elf/del.cc: New. * ld-elf/dl5.cc: Likewise. * ld-elf/dl5.out: Likewise. * ld-elf/new.cc: Likewise. * ld-elf/shared.exp: Add tests for --dynamic-list-data and --dynamic-list-cpp-new.
2007-01-15daily updateAlan Modra1-1/+1
2007-01-14daily updateAlan Modra1-1/+1
2007-01-13daily updateAlan Modra1-1/+1
2007-01-12daily updateAlan Modra1-1/+1
2007-01-122076-01-12 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-2/+5
* Makefile.am (BFD_LIBS): Removed. * Makefile.in: Regenerated.
2007-01-122076-01-11 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu5-19/+32
PR binutils/3631 * Makefile.am (OFILES): Add @bfd64_libs@. (libbfd_la_SOURCES): Remove $(BFD64_LIBS_CFILES). * Makefile.in: Regenerated. * configure.in (bfd_libs): Replaced by ... (bfd64_libs): This. * configure: Regenerated.
2007-01-11daily updateAlan Modra1-1/+1
2007-01-11bfd/Nathan Sidwell2-1/+6
* elf.c (assign_file_positions_for_load_sections): We can require fewer phdrs than expected. ld/ * emultempl/elf-generic.em (gdl_map_segments): Only allow header shrinkage for the first few iterations. ld/testsuite/ * ld-elf/header.d: New. * ld-elf/header.t: New. * ld-elf/header.s: New.
2007-01-10daily updateAlan Modra1-1/+1
2007-01-09daily updateAlan Modra1-1/+1
2007-01-09Move 2006 ChangeLog entries to ChangeLog-2006.H.J. Lu2-3594/+3602
2007-01-08daily updateAlan Modra1-1/+1
2007-01-08bfd/Kazu Hirata5-18/+54
* archures.c (bfd_mach_cpu32_fido): Rename to bfd_mach_fido. * bfd-in2.h: Regenerate. * cpu-m68k.c (arch_info_struct): Use bfd_mach_fido instead of bfd_mach_cpu32_fido. (m68k_arch_features): Use fido_a instead of cpu32. (bfd_m68k_compatible): Reject the combination of Fido and ColdFire. Accept the combination of CPU32 and Fido with a warning. * elf32-m68k.c (elf32_m68k_object_p, elf32_m68k_merge_private_bfd_data, elf32_m68k_print_private_bfd_data): Treat Fido as an architecture by itself. binutils/ * readelf.c (get_machine_flags): Treat Fido as an architecture by itself. gas/ * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an architecture by itself. (m68k_ip): Don't issue a warning for tbl instructions on fido. (m68k_elf_final_processing): Treat Fido as an architecture by itself. include/elf/ * m68k.h (EF_M68K_FIDO): New. (EF_M68K_ARCH_MASK): OR EF_M68K_FIDO. (EF_M68K_CPU32_FIDO_A, EF_M68K_CPU32_MASK): Remove. include/opcode/ * m68k.h (m68010up): OR fido_a. opcodes/ * m68k-opc.c (m68k_opcodes): Replace cpu32 with cpu32 | fido_a except on tbl instructions.
2007-01-08Renamed target x86_64-*-mingw64 to x86_64-*-mingw*.Nick Clifton2-1/+5
2007-01-07daily updateAlan Modra1-1/+1
2007-01-06daily updateAlan Modra1-1/+1
2007-01-05daily updateAlan Modra1-1/+1
2007-01-05 * texhex.c (first_phase): Don't fall through into the defaultJakub Jelinek2-7/+16
case. (pass_over): Replace abort () calls with return FALSE. Fix buffer overflow.
2007-01-04daily updateAlan Modra1-1/+1
2007-01-04 * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't setAlan Modra2-2/+5
SEC_EXCLUDE on zero size .eh_frame.
2007-01-03daily updateAlan Modra1-1/+1
2007-01-03Remove ">>>>>>> 1.3701".H.J. Lu1-1/+0
2007-01-02daily updateAlan Modra1-1/+1
2007-01-01daily updateAlan Modra1-1/+1
2006-12-31daily updateAlan Modra1-1/+1
2006-12-312006-12-31 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-4/+6
* bfd.c (bfd_record_phdr): Call bfd_zalloc instead of bfd_alloc to allocate elf_segment_map.
2006-12-30daily updateAlan Modra1-1/+1
2006-12-29daily updateAlan Modra1-1/+1
2006-12-29bfd/H.J. Lu2-3/+10
2006-12-29 H.J. Lu <hongjiu.lu@intel.com> * elflink.c (elf_link_add_object_symbols): Remember the symbol size only if it is defined. ld/testsuite/ 2006-12-29 H.J. Lu <hongjiu.lu@intel.com> * ld-elf/wrap.exp: New file. * ld-elf/wrap1.c: Likewise. * ld-elf/wrap1.out: Likewise. * ld-elf/wrap1a.c: Likewise. * ld-elf/wrap1b.c: Likewise.
2006-12-28daily updateAlan Modra1-1/+1
2006-12-27daily updateAlan Modra1-1/+1
2006-12-26daily updateAlan Modra1-1/+1
2006-12-25daily updateAlan Modra1-1/+1
2006-12-25bfd/Kazu Hirata5-71/+108
* archures.c (bfd_mach_cpu32_fido): New. (bfd_mach_mcf_isa_a_nodiv, bfd_mach_mcf_isa_a, bfd_mach_mcf_isa_a_mac, bfd_mach_mcf_isa_a_emac, bfd_mach_mcf_isa_aplus, bfd_mach_mcf_isa_aplus_mac, bfd_mach_mcf_isa_aplus_emac, bfd_mach_mcf_isa_b_nousp, bfd_mach_mcf_isa_b_nousp_mac, bfd_mach_mcf_isa_b_nousp_emac, bfd_mach_mcf_isa_b, bfd_mach_mcf_isa_b_mac, bfd_mach_mcf_isa_b_emac, bfd_mach_mcf_isa_b_float, bfd_mach_mcf_isa_b_float_mac, bfd_mach_mcf_isa_b_float_emac): Increment the defined values. * bfd-in2.h: Regenerate. * cpu-m68k.c (arch_info_struct): Add en entry for bfd_mach_cpu32_fido. * elf32-m68k.c (elf32_m68k_object_p): Handle EF_M68K_CPU32_FIDO_A. (elf32_m68k_merge_private_bfd_data): Use EF_M68K_CPU32_MASK. (elf32_m68k_print_private_bfd_data): Handle EF_M68K_CPU32_FIDO_A. binutils/ * readelf.c (get_machine_flags): Handle EF_M68K_CPU32_FIDO_A. gas/ * config/tc-m68k.c (cpu_of_arch): Add fido. (m68k_archs, m68k_cpu): Add entries for fido. (m68k_elf_final_processing): Handle EF_M68K_CPU32_FIDO_A. include/elf/ * m68k.h (EF_M68K_CPU32_FIDO_A, EF_M68K_CPU32_MASK): New. include/opcode/ * m68k.h (fido_a): New.
2006-12-25 * elf32-score.c (score_elf_got_lo16_reloc): Change some variables type fromMei Ligang2-18/+58
unsigned to signed. (score_elf_final_link_relocate): Fix bugs of handling relocation type R_SCORE_GOT15, R_SCORE_GOT_LO16, and R_SCORE_REL32. (_bfd_score_elf_relocate_section): Handle R_SCORE_GOT_LO16 specially.
2006-12-24daily updateAlan Modra1-1/+1
2006-12-24bfd/Kazu Hirata1-0/+6
* config.bfd: Recognize fido. gas/ * configure.tgt: Recognize fido. ld/ * configure.tgt: Recognize fido.
2006-12-23daily updateAlan Modra1-1/+1
2006-12-23 * elf-bfd.h (struct elf_backend_data): Add as_needed_cleanup hook.Jakub Jelinek5-0/+35
* elfxx-target.h (elf_backend_as_needed_cleanup): Define. (elfNN_bed): Add as_needed_cleanup hook. * elflink.c (elf_link_add_object_symbols): Call it when reverting hash table changes for unneeded --as-needed input. * elf64-ppc64.c (elf_backend_as_needed_cleanup): Define. (ppc64_elf_as_needed_cleanup): New function.
2006-12-22daily updateAlan Modra1-1/+1
2006-12-21daily updateAlan Modra1-1/+1
2006-12-20daily updateAlan Modra1-1/+1
2006-12-19daily updateAlan Modra1-1/+1
2006-12-19bfd/Kazu Hirata2-53/+69
* elf32-m68k.c (elf32_m68k_object_p, elf32_m68k_print_private_bfd_data): Use EF_M68K_ARCH_MASK to extract architecture mask. include/elf/ * m68k.h (EF_M68K_ARCH_MASK): New.
2006-12-19 bfd/Nathan Sidwell2-13/+46
* elf.c (assign_file_positions_for_load_sections): Adjust p_vaddr by p_vaddr_offset. Copy alignment & use if it is valid. (rewrite_elf_program_headers): Cope with leading padding in a segment that does not contain file or program headers. (copy_elf_program_header): Likewise. include/elf/ * internal.h (struct elf_segment_map): Add p_vaddr_offset field.