aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2008-10-11daily updateAlan Modra1-1/+1
2008-10-10include/elf/Nathan Froyd2-0/+32
* ppc.h: Add Tag_GNU_Power_ABI_Struct_Return. bfd/ * elf32-ppc.c (ppc_elf_merge_obj_attributes): Merge Tag_GNU_Power_ABI_Struct_Return. binutils/ * readelf.c (display_power_gnu_attribute): Decode Tag_GNU_Power_ABI_Struct_Return. ld/testsuite/ * ld-powerpc/gnu-attr-12-1.s: New file. * ld-powerpc/gnu-attr-12-2.s: New file. * ld-powerpc/gnu-attr-12-11.d: New file. * ld-powerpc/gnu-attr-12-21.d: New file. * ld-powerpc/powerpc.exp: Run new dump tests.
2008-10-10daily updateAlan Modra1-1/+1
2008-10-09binutils/Kai Tietz2-5/+9
2008-10-09 Kai Tietz <kai.tietz@onevision.com> * dlltool.c (PAGE_SIZE): Make sure it has bfd_vma type. (PAGE_MASK): Likewise. (sfunc): Change to address size of bfd_vma for base-file. (flush_page): Likewise. (gen_exp_file): Likewise. bfd/ 2008-10-09 Kai Tietz <kai.tietz@onevision.com> * cofflink.c (_bfd_coff_generic_relocate_section): Dump bfd_vma sized addresses instead of long sized.
2008-10-09 * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Don't attempt toAlan Modra2-14/+19
read plt relocs if no dynamic syms.
2008-10-09daily updateAlan Modra1-1/+1
2008-10-08 * configure.in (ALL_LINGUAS): Add "id".Nick Clifton4-2/+3845
* configure: Regenerate. * po/id.po: New Indonesian translation.
2008-10-08 * elf.c (assign_file_positions_for_load_sections): When checkingAlan Modra2-15/+14
a segment for contents, don't assume that a non-TLS nobits section must only be followed by nobits sections.
2008-10-06daily updateAlan Modra1-1/+1
2008-10-05daily updateAlan Modra1-1/+1
2008-10-04daily updateAlan Modra1-1/+1
2008-10-04 * elf32-cris.c (TLSHOWTO32, TLSHOWTO16): New macros.Hans-Peter Nilsson5-2/+103
(cris_elf_howto_table): Add entries for R_CRIS_32_GOT_GD, R_CRIS_16_GOT_GD, R_CRIS_32_GD, R_CRIS_DTP, R_CRIS_32_DTPREL, R_CRIS_16_DTPREL, R_CRIS_DTPMOD, R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL, R_CRIS_32_TPREL, R_CRIS_16_TPREL. (cris_reloc_map): Similarly. * reloc.c (bfd_reloc_code_type): Add entries for BFD_RELOC_CRIS_32_GOT_GD, BFD_RELOC_CRIS_16_GOT_GD, BFD_RELOC_CRIS_32_GD, BFD_RELOC_CRIS_DTP, BFD_RELOC_CRIS_32_DTPREL, BFD_RELOC_CRIS_16_DTPREL, BFD_RELOC_CRIS_DTPMOD, BFD_RELOC_CRIS_32_GOT_TPREL, BFD_RELOC_CRIS_16_GOT_TPREL, BFD_RELOC_CRIS_32_TPREL, BFD_RELOC_CRIS_16_TPREL. * libbfd.h, bfd-in2.h: Regenerate.
2008-10-04daily updateAlan Modra1-1/+1
2008-10-03add pr number for last commitAlan Modra1-0/+1
2008-10-03bfd/Alan Modra4-25/+140
* elf.c (bfd_elf_set_group_contents): Assign sh_info for ld -r when the signature symbol is global. * elflink.c (elf_link_input_bfd): Ensure group signature symbol is output when ld -r. Set group sh_info when local. * linker.c (default_indirect_link_order): Handle group sections specially. ld/ * ldemul.c (ldemul_place_orphan): Add "name" param. * ldemul.h (ldemul_place_orphan): Update prototype. (struct ld_emulation_xfer_struct <place_orphan>): Likewise. * ldlang.c (lang_place_orphans): Generate unique section names here.. * emultempl/elf32.em (place_orphan): ..rather than here. Don't directly use an existing output section statement that has no bfd section. * emultempl/pe.em (place_orphan): Likewise. * emultempl/pep.em (place_orphan): Likewise. * emultempl/beos.em (place_orphan): Adjust. * emultempl/spuelf.em (spu_place_special_section): Adjust place_orphan call. * emultempl/genelf.em (gld${EMULATION_NAME}_after_open): New function. (LDEMUL_AFTER_OPEN): Define.
2008-10-03daily updateAlan Modra1-1/+1
2008-10-02daily updateAlan Modra1-1/+1
2008-10-01daily updateAlan Modra1-1/+1
2008-09-30 * coffgen.c (coff_write_symbols): Check to see if a symbol's flagsNick Clifton3-1/+51
do not match it class and if necessary update the class. (null_error_handler): New function. Suppresses the generation of bfd error messages. * coff64-rs6000.c (bfd_xcoff_backend_data): Update comment. * config/tc-tic4x.c (tic4x_globl): Call S_SET_EXTERNAL as well as S_SET_STORAGE_CLASS.
2008-09-30run "make dep-am"Alan Modra3-12/+15
2008-09-30 * elflink.c (elf_link_add_object_symbols): Don't ignore returnedAlan Modra2-2/+8
value of check_directives.
2008-09-30daily updateAlan Modra1-1/+1
2008-09-29 * configure: Regenerate for new libtool.Steve Ellcey5-321/+1144
* aclocal.m4: Ditto. * Makefile.in: Ditto. * doc/Makefile.in: Ditto.
2008-09-29bfd/Alan Modra3-8/+28
PR 6789 * elf.c (assign_file_positions_for_load_sections): Call _bfd_elf_map_sections_to_segments, not elf_modify_segment_map. (get_program_header_size): Protect against NULL info. (_bfd_elf_map_sections_to_segments): Likewise. * elf32-spu.c (spu_elf_additional_program_headers): Likewise. ld/testsuite/ * ld-elf/extract-symbol-1sec.d: Correct section lma.
2008-09-29 * po/vi.po: Updated Vietnamese translation.Nick Clifton2-887/+1027
* po/fr.po: Updated French translation.
2008-09-29daily updateAlan Modra1-1/+1
2008-09-28 * elf.c (_bfd_elf_init_private_section_data): Tweak union copy.Alan Modra3-10/+24
(bfd_section_from_shdr): Don't change SHT_GROUP section name. * elflink.c (section_signature): New function. (_bfd_elf_section_already_linked): Use it.
2008-09-28daily updateAlan Modra1-1/+1
2008-09-27daily updateAlan Modra1-1/+1
2008-09-26daily updateAlan Modra1-1/+1
2008-09-25daily updateAlan Modra1-1/+1
2008-09-24daily updateAlan Modra1-1/+1
2008-09-23daily updateAlan Modra1-1/+1
2008-09-22daily updateAlan Modra1-1/+1
2008-09-21daily updateAlan Modra1-1/+1
2008-09-20daily updateAlan Modra1-1/+1
2008-09-19 * elf32-ppc.c (ppc_elf_finish_dynamic_sections): Handle vxworksAlan Modra2-10/+24
_GLOBAL_OFFSET_TABLE_ in .got.plt section. Add BFD_ASSERTs.
2008-09-19daily updateAlan Modra1-1/+1
2008-09-18 * elf32-xtensa.c (elf_xtensa_check_relocs): Check for negative refcount.Bob Wilson2-3/+17
2008-09-18daily updateAlan Modra1-1/+1
2008-09-17bfd/Jan Kratochvil2-4/+35
PR 6893 - Do not consider FDEs for discarded sections as invalid. * elf-eh-frame.c (_bfd_elf_parse_eh_frame): New REQUIRE_CLEARED_RELOCS. Consider FDEs with cleared relocations as valid and ignorable. ld/testsuite/ * ld-elf/eh-group.exp, ld-elf/eh-group1.s, ld-elf/eh-group2.s: New test. binutils/ Suppress warnings on NONE relocations to discarded sections. * readelf.c (is_none_reloc): New function. (debug_apply_relocations): Ignore is_none_reloc() relocations.
2008-09-17daily updateAlan Modra1-1/+1
2008-09-16bfd/H.J. Lu2-12/+33
2008-09-16 H.J. Lu <hongjiu.lu@intel.com> PR ld/6877 * elflink.c (_bfd_elf_merge_symbol): Allow a common symbol to override the function in a shared library. ld/testsuite/ 2008-09-16 H.J. Lu <hongjiu.lu@intel.com> PR ld/6877 * ld-elf/comm1.c: New. * ld-elf/func1.c: Likewise. * ld-elf/shared.exp: Add tests for libfunc1.so and comm1.
2008-09-16 PR 6844Alan Modra2-62/+57
* elf32-ppc.c (SYM_VAL): Define. Use throughout to find symbol vma. (ppc_elf_relocate_section): Correct GOT offset calculation. (ppc_elf_finish_dynamic_symbol): Use PPC_HA and PPC_LO. (ppc_elf_finish_dynamic_sections): Likewise. Error if htab->elf.hgot symbol is not defined in htab->got section.
2008-09-16daily updateAlan Modra1-1/+1
2008-09-15 PR 6888Alan Modra2-11/+37
* elf32-ppc.c (ppc_elf_relocate_section): Handle NULL symbol section on R_PPC_TOC16, R_PPC_SDAREL16, R_PPC_EMB_SDA2REL, R_PPC_EMB_SDA21, R_PPC_EMB_RELSDA, R_PPC_SECTOFF* relocs.
2008-09-15daily updateAlan Modra1-1/+1
2008-09-14daily updateAlan Modra1-1/+1
2008-09-13daily updateAlan Modra1-1/+1
2008-09-12daily updateAlan Modra1-1/+1