aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
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
2009-12-09 bfd/Daniel Jacobowitz2-1/+6
* elf32-arm.c (elf32_arm_next_input_section): Skip sections without SEC_CODE. ld/testsuite/ * ld-arm/arm-elf.exp (armeabitests): Add farcall-data. * ld-arm/farcall-data.d, ld-arm/farcall-data.s: New. * lib/ld-lib.exp (run_ld_link_tests, run_cc_link_tests): Correct regular expression for archives.
2009-12-08daily updateAlan Modra1-1/+1
2009-12-08 * elf.c (write_zeros): New function.Alan Modra2-0/+31
(assign_file_positions_for_load_sections): Allocate file space for NOBITS sections that are followed by PROGBITS sections in a segment.
2009-12-07daily updateAlan Modra1-1/+1
2009-12-06daily updateAlan Modra1-1/+1
2009-12-05daily updateAlan Modra1-1/+1
2009-12-04daily updateAlan Modra1-1/+1
2009-12-03daily updateAlan Modra1-1/+1
2009-12-032009-12-03 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-2/+12
* mach-o.c (bfd_mach_o_make_bfd_section): Force debug flags for all sections of the __DWARF segment.
2009-12-03 PR ld/11047Alan Modra3-13/+14
* elf32-ppc.c (ppc_elf_relocate_section): Delete __tls_get_addr symbol reference from relocs belonging to calls that are optimized away. * elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
2009-12-02daily updateAlan Modra1-1/+1
2009-12-02 PR binutils/11017Nick Clifton2-6/+11
* dlltool.c (PAGE_SIZE): Delete. (PAGE_MASK): Provide default definition based on COFF_PAGE_SIZE. Check for DLLTOOL_DEFAULT_MX86_64 and DLLTOOL_DEFAULT_I386. * coff-i386.h (COFF_PAGE_SIZE): Definition moved to coff/i386.h * i386lh (COFF_PAGE_SIZE): Define. * x86_64.h (COFF_PAGE_SIZE): Define.
2009-12-01daily updateAlan Modra1-1/+1