aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2010-01-132010-01-13 Chao-ying Fu <fu@mips.com>Chao-ying Fu2-19/+60
* elfxx-mips.c (JR_TO_B_P): New define to transform JR to B. It is true for all CPUs. (jal_reloc_p): New function. (mips_elf_calculate_relocation): Rename require_jalxp to cross_mode_jump_p. Update comment for CROSS_MODE_JUMP_P. Set up cross_mode_jump_p based on the mode change. (mips_elf_perform_relocation): Rename require_jalx to cross_mode_jump_p. Update comment for CROSS_MODE_JUMP_P. Test cross_mode_jump_p and jal_reloc_p to turn jal to jalx. Use !cross_mode_jump_p to guard conversion. Convert "jr t9" to "b", if possible. (_bfd_mips_elf_relocate_section): Rename require_jalx to cross_mode_jump_p. Pass &cross_mode_jump_p to call mips_elf_calculate_relocation. Pass cross_mode_jump_p to call mips_elf_perform_relocation.
2010-01-13 * cpu-m32c.c (m32c_scan): New function. Ensures that a scan forNick Clifton2-2/+23
"m32c" returns the m32c arch_info_struct and not the m16c arch_info_struct. (arch_info_struct): Use the new scan function. (bfd_m32c_arch): Likewise.
2010-01-132010-01-13 Tristan Gingold <gingold@adacore.com>Tristan Gingold8-5/+309
* config.bfd: Remove duplicated target vector for i386-*-darwin. Appends new arch instead of overriding. Use mach_o_x86_64_vec for x86_64-*-darwin. * configure.in: Add mach_o_x86_64_vec. * configure: Regenerate. * targets.c: Declare mach_o_x86_64_vec, add it to _bfd_target_vector. * Makefile.am (BFD64_BACKENDS): Add mach-o-x86-64.lo (BFD64_BACKENDS_CFILES): Add mach-o-x86-64.c * Makefile.in: Regenerate. * mach-o-x86-64.c: New file.
2010-01-132010-01-13 Tristan Gingold <gingold@adacore.com>Tristan Gingold4-6/+85
* reloc.c: Add MACH_O_X86_64 relocations. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate.
2010-01-132010-01-13 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-53/+10
* archive.c (normalize): Use lbasename. (bfd_bsd_truncate_arname): Ditto. (bfd_gnu_truncate_arname): Ditto.
2010-01-12daily updateAlan Modra1-1/+1
2010-01-12bfd/Tristan Gingold2-1/+6
2010-01-12 Tristan Gingold <gingold@adacore.com> * makefile.vms (CFLAGS): Turns warnings into informational messages. binutils/ 2010-01-12 Tristan Gingold <gingold@adacore.com> * makefile.vms (CFLAGS): Turns warnings into informational messages.
2010-01-11daily updateAlan Modra1-1/+1
2010-01-112010-01-11 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+15
* mach-o.h: Add x86-64 relocation types.
2010-01-112010-01-11 Tristan Gingold <gingold@adacore.com>Tristan Gingold5-2/+64
* mach-o.h (bfd_mach_o_backend_data): Add arch field. (bfd_mach_o_set_arch_mach): New prototype. * mach-o.c (bfd_mach_o_mkobject): Define with bfd_mach_o_gen_mkobject. (bfd_mach_o_set_arch_mach): New function. (bfd_mach_o_gen_mkobject): New function. Set TARGET_ARCHITECTURE for the generic back-ends. * mach-o-target.c (bfd_mach_o_set_arch_mach): Remove define. Check that TARGET_ARCHITECTURE is defined. Add TARGET_ARCHITECTURE in TARGET_NAME_BACKEND structure. * mach-o-i386.c (TARGET_ARCHITECTURE): Define.
2010-01-112010-01-11 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+22
* archive.c (bfd_slurp_armap): Also check for Mach-O sorted armap.
2010-01-11 * elf32-v850.c (v850_elf_perform_relocation): Fix overflowNick Clifton2-1/+6
handling of R_V850_HI16_S relocation.
2010-01-11 PR 11103Alan Modra2-3/+8
* dwarf1.c (parse_die): Correct FORM_STRING data pointer increment.
2010-01-11update copyright dateAlan Modra1-1/+1
2010-01-11 PR 6832Alan Modra2-1/+12
* dwarf2.c (struct comp_unit): Add sec_info_ptr. (find_abstract_instance_name): Use it. (parse_comp_unit): Set it.
2010-01-10daily updateAlan Modra1-1/+1
2010-01-09daily updateAlan Modra1-1/+1
2010-01-09Sync Libtool from GCC.Ralf Wildenhues5-435/+566
/: * libtool.m4: Sync from git Libtool. * ltmain.sh: Likewise. * ltoptions.m4: Likewise. * ltversion.m4: Likewise. * lt~obsolete.m4: Likewise. sim/iq2000/: * configure: Regenerate. sim/d10v/: * configure: Regenerate. sim/m32r/: * configure: Regenerate. sim/frv/: * configure: Regenerate. sim/: * avr/configure: Regenerate. * cris/configure: Regenerate. * microblaze/configure: Regenerate. sim/h8300/: * configure: Regenerate. sim/mn10300/: * configure: Regenerate. sim/erc32/: * configure: Regenerate. sim/arm/: * configure: Regenerate. sim/m68hc11/: * configure: Regenerate. sim/lm32/: * configure: Regenerate. sim/sh64/: * configure: Regenerate. sim/v850/: * configure: Regenerate. sim/cr16/: * configure: Regenerate. sim/moxie/: * configure: Regenerate. sim/m32c/: * configure: Regenerate. sim/mips/: * configure: Regenerate. sim/mcore/: * configure: Regenerate. sim/sh/: * configure: Regenerate. gprof/: * Makefile.in: Regenerate. * configure: Regenerate. opcodes/: * Makefile.in: Regenerate. * configure: Regenerate. gas/: * Makefile.in: Regenerate. * configure: Regenerate. * doc/Makefile.in: Regenerate. ld/: * configure: Regenerate. gdb/testsuite/: * gdb.cell/configure: Regenerate. binutils/: * Makefile.in: Regenerate. * configure: Regenerate. * doc/Makefile.in: Regenerate. bfd/: * Makefile.in: Regenerate. * configure: Regenerate. bfd/doc/: * Makefile.in: Regenerate.
2010-01-08daily updateAlan Modra1-1/+1
2010-01-082010-01-08 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-17/+5
* archive.c: Remove bfd_special_undocumented_glue.
2010-01-08 PR ld/11133Alan Modra4-49/+24
* elf32-cr16.c (elf32_cr16_gc_mark_hook): Call _bfd_elf_gc_mark_hook. * elf32-microblaze.c (microblaze_elf_gc_mark_hook): Likewise. * elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise.
2010-01-08Fix PR ld/11138H.J. Lu2-2/+13
bfd/ 2010-01-07 H.J. Lu <hongjiu.lu@intel.com> PR ld/11138 * elflink.c (elf_link_check_versioned_symbol): Don't abort if a symbol referenced by DSO is is defined in a non-shared object and forced local. ld/testsuite/ 2010-01-07 H.J. Lu <hongjiu.lu@intel.com> PR ld/11138 * ld-elf/pr11138-1.c: New. * ld-elf/pr11138-1.map: Likewise. * ld-elf/pr11138-2.c: Likewise. * ld-elf/pr11138-2.map: Likewise. * ld-elf/pr11138.out: Likewise. * ld-elf/shared.exp (build_tests): Add libpr11138-1.so and libpr11138-2.o. (run_tests): Add 2 tests for PR ld/11138.
2010-01-08Set SEC_KEEP on section XXX for undefined __start_XXX/__stop_XXXH.J. Lu2-0/+36
bfd/ 2010-01-07 H.J. Lu <hongjiu.lu@intel.com> PR ld/11133 * elflink.c (_bfd_elf_gc_mark_hook): Check section XXX for undefined __start_XXX/__stop_XXX in all input files and set SEC_KEEP. ld/testsuite/ 2010-01-07 H.J. Lu <hongjiu.lu@intel.com> PR ld/11133 * ld-gc/gc.exp: Run start. * ld-gc/start.d: New. * ld-gc/start.s: Likewise.
2010-01-07daily updateAlan Modra1-1/+1
2010-01-07Always keep SHT_NOTE sectionsH.J. Lu2-3/+9
bfd/ 2010-01-07 H.J. Lu <hongjiu.lu@intel.com> PR ld/11143 * elflink.c (elf_gc_sweep): Keep SHT_NOTE section. ld/testsuite/ 2010-01-07 H.J. Lu <hongjiu.lu@intel.com> PR ld/11143 * ld-gc/gc.exp: Run abi-note. * ld-gc/abi-note.d: New. * ld-gc/abi-note.s: Likewise.
2010-01-06daily updateAlan Modra1-1/+1
2010-01-05daily updateAlan Modra1-1/+1
2010-01-052010-01-04 Daniel Gutson <dgutson@codesourcery.com>Daniel Gutson6-0/+89
* bfd.m4 (BFD_HAVE_SYS_PROCFS_TYPE): Define _STRUCTURE_PROC before including procfs.h. (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Likewise. * configure.in: Added autoconf probe for the pr_fpreg member. * configure: Regenerated. * config.in: Regenerated. * elf.c: Define _STRUCTURE_PROC before including procfs.h.
2010-01-04daily updateAlan Modra1-1/+1
2010-01-04 Fix -Wshadow warnings in dwarf2.c (seen on alpha-tru64).Joel Brobecker2-14/+22
* dwarf2.c (concat_filename): Rename dirname with dir_name to void shadowing the dirname function. Rename subdirname with subdir_name to stay consistent with the new dir_name variable name.
2010-01-04bfd/Alan Modra4-3/+26
* archures.c: Add bfd_mach_ppc_e500mc64. * bfd-in2.h: Regenerate. * cpu-powerpc.c (bfd_powerpc_archs): Add entry for bfd_mach_ppc_e500mc64. gas/ * config/tc-ppc.c (md_show_usage): Document -me500mc64. opcodes/ * ppc-dis.c (ppc_opts): Add entry for "e500mc64".
2010-01-03daily updateAlan Modra1-1/+1
2010-01-02daily updateAlan Modra1-1/+1
2010-01-01daily updateAlan Modra1-1/+1
2010-01-01Move 2009 binutils ChangeLog to ChangeLog-2009.H.J. Lu3-5148/+5156
2010-01-01Fix -Wshadow warnings (seen on ppc-aix)Joel Brobecker2-231/+236
* xcofflink.c: Replace finfo by flinfo throughout.
2009-12-31daily updateAlan Modra1-1/+1
2009-12-31 * dwarf2.c (struct line_sequence): New struct.Nick Clifton2-38/+185
(struct line_info_table): Add num_sequences, remove last_line, add sequences. (add_line_info): Add new sequences as necessary. (compare_sequences): New function. (sort_line_sequences): New function. (decode_line_info): Initialize new fields in line table. Call sort_line_sequences. (lookup_address_in_line_info_table): Binary search for proper sequence.
2009-12-30daily updateAlan Modra1-1/+1
2009-12-29daily updateAlan Modra1-1/+1
2009-12-28daily updateAlan Modra1-1/+1
2009-12-28 bfd/Daniel Gutson2-2/+12
* elf32-arm.c (elf32_arm_final_link_relocate): limits fixed. ld/testsuite/ * ld-arm/arm-elf.exp (armelftests): New test case added. * ld-arm/reloc-boundaries.s: New file. * ld-arm/reloc-boundaries.d: New file.
2009-12-282009-12-28 Daniel Gutson <dgutson@codesourcery.com>Daniel Gutson2-1/+7
* elf-attrs.c (_bfd_elf_merge_object_attributes): Error message rephrased.
2009-12-27daily updateAlan Modra1-1/+1
2009-12-26daily updateAlan Modra1-1/+1
2009-12-25daily updateAlan Modra1-1/+1
2009-12-23daily updateAlan Modra1-1/+1
2009-12-22daily updateAlan Modra1-1/+1
2009-12-21daily updateAlan Modra1-1/+1
2009-12-21 * elf64-ppc.c: Delete my email address.Alan Modra2-1/+5