aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
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
2009-12-20daily updateAlan Modra1-1/+1
2009-12-19daily updateAlan Modra1-1/+1
2009-12-18daily updateAlan Modra1-1/+1
2009-12-18include/elf/Ulrich Weigand2-0/+35
* common.h (NT_S390_HIGH_GPRS): Define. bfd/ * elf.c (elfcore_grok_s390_high_gprs): New function. (elfcore_grok_note): Handle NT_S390_HIGH_GPRS notes. (elfcore_write_s390_high_gprs): New function. (elfcore_write_register_note): Call it. binutils/ * readelf.c (get_note_type): Handle NT_S390_HIGH_GPRS notes.
2009-12-17daily updateAlan Modra1-1/+1
2009-12-17 PR ld/11088Alan Modra2-46/+84
include/elf/ * ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT, R_PPC_RELAX32PC_PLT): Delete. (R_PPC_RELAX, R_PPC_RELAX_PLT, R_PPC_RELAX_PLTREL24): Define. bfd/ * elf32-ppc.c (update_plt_info): Clear sec here when addend is less than 32768.. (ppc_elf_check_relocs): ..rather than doing so here. Ignore new relax relocs. (ppc_elf_gc_sweep_hook): Don't segfault when symbol hiding has removed plt_entry records. (ppc_elf_tls_setup): Handle PIE calls to __tls_get_addr correctly. (ppc_elf_tls_optimize): Likewise. Also dec __tls_get_addr refcount when optimizing code using new tlsgd and tlsld marker relocs. (ppc_elf_relax_section): Differentiate relaxed PLTREL24 relocs from ADDR24 relocs using plt or glink. Don't clear the addend for R_PPC_RELAX_PLTREL24. (ppc_elf_relocate_section): Correctly handle addends on relaxed PLTREL24 relocs.
2009-12-17 PR ld/11088Alan Modra2-4/+8
* elf64-ppc.c (ppc64_elf_gc_sweep_hook): Don't abort if symbol hiding has nulled out plt.plist.
2009-12-16daily updateAlan Modra1-1/+1
2009-12-15daily updateAlan Modra1-1/+1
2009-12-152009-12-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-27/+34
* opncls.c (bfd_opnr_iovec): Replace _XXX with XXX_P in parameters. * tekhex.c (pass_over): Replace eof with is_eof.
2009-12-152009-12-15 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-21/+6
* mach-o.h (bfd_mach_o_uuid_command): Remove section field. * mach-o.c (bfd_mach_o_scan_read_uuid): Do not create a section from this command.
2009-12-152009-12-15 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-44/+73
* mach-o.c (struct mach_o_section_name_xlat): Add flags field. (dwarf_section_names_xlat): Add section flags. (text_section_names_xlat): Ditto. (data_section_names_xlat): Ditto. (bfd_mach_o_convert_section_name_to_bfd): Now return name and section flags by reference. (bfd_mach_o_make_bfd_section): Use section flags when know, otherwise try to guess.
2009-12-152009-12-14 Doug Kwan <dougkwan@google.com>Doug Kwan3-26/+32
bfd/ChangeLog: * opncls.c (bfd_opnr_iovec): Rename parameters to avoid shawdowed variable warnings. * bfd-in2.h: Regnenerate. include/ChangeLog: * bfdlink.h (struct bfd_link_callbacks): Rename function parameters to avoid shadowed variable warnings. * dis-asm.h (struct disassemble_info): Ditto. (disassemble_init_for_target): Ditto. (init_disassemble_info): Ditto.
2009-12-14daily updateAlan Modra1-1/+1
2009-12-13daily updateAlan Modra1-1/+1
2009-12-12 * coff-arm.c (coff_arm_rtype_to_howto): Fix shadowed variableNick Clifton2-1/+5
warning.
2009-12-11daily updateAlan Modra1-1/+1
2009-12-112009-12-11 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-19/+26
* som.c (bfd_som_set_subsection_attributes) (bfd_section_from_som_symbol, som_reloc_queue_fix): Fix shadowed variable warnings. * cache.c (close_one): Likewise.
2009-12-11Add -Wshadow to the gcc command line options used when compiling the binutils.Nick Clifton61-764/+777
Fix up all warnings generated by the addition of this switch.
2009-12-10daily updateAlan Modra1-1/+1
2009-12-10 bfd/Maciej W. Rozycki2-7/+14
* elfxx-mips.c (mips_elf_calculate_relocation): Correct handling of undefined symbols. ld/testsuite/ * ld-mips-elf/undefined.d: New test. * ld-mips-elf/undefined.s: Source for the new test. * ld-mips-elf/mips-elf.exp: Run the new test.
2009-12-09daily updateAlan Modra1-1/+1