aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2007-02-01daily updateAlan Modra1-1/+1
2007-02-01PR ld/3852Nick Clifton2-16/+7
* elf.c (_bfd_elf_link_hash_table_init): Initialize all the fields in the elf_link_hash_table structure.
2007-02-01 * elf-bfd.h (struct elf_backend_data): Add elf_backend_write_core_note.Alan Modra6-30/+226
* elfxx-target.h (elf_backend_write_core_note): Define and use. * elf.c (elfcore_write_prpsinfo): Call the above. Add support for 32-bit core note on 64-bit target. (elfcore_write_prstatus): Likewise. (elfcore_write_lwpstatus): Make note_name const. (elfcore_write_prfpreg): Likewise. (elfcore_write_pstatus): Add support for 32-bit core note on 64-bit target. * elf32-ppc.c (ppc_elf_write_core_note): New function. (elf_backend_write_core_note): Define. * elf64-ppc.c (ppc64_elf_write_core_note): New function. (elf_backend_write_core_note): Define.
2007-01-31daily updateAlan Modra1-1/+1
2007-01-312076-01-31 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-5/+15
* elf32-cris.c (INCLUDED_TARGET_FILE): Removed. (elf32_bed): Defined for elf32-us-cris. * elf64-sh64.c (elf64_bed): Defined for Linux. (INCLUDED_TARGET_FILE): Removed. * elfxx-target.h (elfNN_bed): Always define. Don't check INCLUDED_TARGET_FILE.
2007-01-31* elf-m10300.c (mn10300_elf_relocate_section): Clarify the warningDJ Delorie2-1/+11
message for dangerous relocs, special case the common user error.
2007-01-30daily updateAlan Modra1-1/+1
2007-01-302007-01-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-6/+17
* elf.c (copy_elf_program_header): Start from the first section in a segment and stop when all sections in a segment are accounted for.
2007-01-29daily updateAlan Modra1-1/+1
2007-01-29 * bfd-in2.h: Regenerate.Julian Brown10-113/+1115
* bfd-in.h (bfd_arm_vfp11_fix): New enum. Specify how VFP11 instruction scanning should be done. (bfd_elf32_arm_init_maps, bfd_elf32_arm_vfp11_erratum_scan) (bfd_elf32_arm_vfp11_fix_veneer_locations): Add prototypes. (bfd_elf32_arm_set_target_relocs): Add vfp11 fix type argument to prototype. * elf-bfd.h (elf_backend_write_section): Add struct bfd_link_info argument. * elf32-arm.c (VFP11_ERRATUM_VENEER_SECTION_NAME) (VFP11_ERRATUM_VENEER_ENTRY_NAME): Define macros. (elf32_vfp11_erratum_type): New enum. (elf32_vfp11_erratum_list): New struct. List of veneers or jumps to veneers. (_arm_elf_section_data): Add mapsize, erratumcount, erratumlist. (elf32_arm_link_hash_table): Add vfp11_erratum_glue_size, vfp11_fix and num_vfp11_fixes fields. (elf32_arm_link_hash_table_create): Initialise vfp11_fix, vfp11_erratum_glue_size, num_vfp11_fixes fields. (VFP11_ERRATUM_VENEER_SIZE): Define. Size of an (ARM) veneer. (bfd_elf32_arm_allocate_interworking_sections): Initialise erratum glue section. (elf32_arm_section_map_add): Add an code/data mapping symbol entry to a section's map. (record_vfp11_erratum_veneer): Create a single veneer, and its associated symbols. (bfd_elf32_arm_add_glue_sections_to_bfd): Add vfp11 erratum glue. (bfd_elf32_arm_init_maps): Initialise mapping symbol table for input BFDs. (bfd_elf32_arm_set_vfp11_fix): Set the type of erratum workaround required. (bfd_arm_vfp11_pipe): Define VFP11 instruction pipes. (bfd_arm_vfp11_regno): Recode a register number from a VFP11 insn. (bfd_arm_vfp11_write_mask): Update write mask according to coded register number. (bfd_arm_vfp11_antidependency): New function. (bfd_arm_vfp11_insn_decode): Decode a VFP11 insn. (elf32_arm_compare_mapping): Declare. (bfd_elf32_arm_vfp11_erratum_scan): Scan the sections of an input BFD for potential erratum-triggering insns. Record results. (bfd_elf32_arm_vfp11_fix_veneer_locations): Find out where veneers and branches to veneers have been placed in virtual memory after layout. (bfd_elf32_arm_set_target_relocs): Set vfp11_fix field in global hash table. (elf32_arm_output_symbol_hook): Remove. (elf32_arm_write_section): Output veneers, and branches to veneers. Use maps from input sections, not output sections, for code byte-swapping. * elf32-ppc.c (ppc_elf_write_section): Add dummy link_info argument. * elf32-score.c (_bfd_score_elf_write_section): Likewise. * elfxx-mips.c (_bfd_mips_elf_write_section): Likewise. * elfxx-mips.h (_bfd_mips_elf_write_section): Likewise.
2007-01-28daily updateAlan Modra1-1/+1
2007-01-28Add INCLUDED_TARGET_FILE.H.J. Lu1-0/+1
2007-01-282076-01-27 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+8
* elf64-hppa.c (elf64_bed): Defined for HPUX and Linux.
2007-01-27daily updateAlan Modra1-1/+1
2007-01-27 * elf32-hppa.c (elf32_bed): Define for hpux, linux and netbsd.Dave Anglin2-5/+14
(INCLUDED_TARGET_FILE): Remove.
2007-01-26daily updateAlan Modra1-1/+1
2007-01-26* elf32-m32c.c (m32c_elf_howto_table): Don't complain aboutDJ Delorie2-2/+10
R_M32C_16 or R_M32C_24 relocs.
2007-01-25daily updateAlan Modra1-1/+1
2007-01-25PR binutils/3874Nick Clifton2-18/+62
* elf32-avr.c (avr_link_hash_table): Check to make sure that the hash table was created by elf32_avr_link_hash_table_create before using it. (elf32_avr_link_hash_newfunc): New function. Just pass the call through to _bfd_elf_link_hash_newfunc. (elf32_avr_link_hash_table_create): Use elf32_avr_link_hash_newfunc instead of _bfd_elf_link_hash_newfunc. (elf32_avr_relocate_section): Check for the hash table pointer being NULL. (elf32_avr_relax_section, avr_build_one_stub, elf32_avr_setup_params, get_local_syms, elf32_avr_size_stubs, elf32_avr_build_stubs): Likewise.
2007-01-24daily updateAlan Modra1-1/+1
2007-01-23daily updateAlan Modra1-1/+1
2007-01-22daily updateAlan Modra1-1/+1
2007-01-21daily updateAlan Modra1-1/+1
2007-01-20daily updateAlan Modra1-1/+1
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