aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2009-12-08 * elf.c (write_zeros): New function.Alan Modra1-0/+6
(assign_file_positions_for_load_sections): Allocate file space for NOBITS sections that are followed by PROGBITS sections in a segment.
2009-12-032009-12-03 Tristan Gingold <gingold@adacore.com>Tristan Gingold1-0/+5
* 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 Modra1-0/+8
* 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-02 PR binutils/11017Nick Clifton1-0/+5
* 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-11-30config:Joseph Myers1-0/+4
* largefile.m4 (ACX_LARGEFILE): Require AC_CANONICAL_HOST and AC_CANONICAL_TARGET. bfd: * configure: Regenerate. binutils: * configure: Regenerate. gas: * configure: Regenerate. gdb: * configure: Regenerate. gprof: * configure: Regenerate. ld: * configure: Regenerate.
2009-11-272009-11-26 Per Øyvind Karlsen <peroyvind@mandriva.org>H.J. Lu1-2/+6
* plugin.c (bfd_plugin_bfd_copy_link_hash_symbol_type): Define.
2009-11-24 * acinclude.m4: Add include of ../config/zlib.m4.Joel Brobecker1-0/+6
* configure.in: AM_ZLIB to check for zlib support. * configure: Regenerate.
2009-11-232009-11-23 Paul Brook <paul@codesourcery.com>Paul Brook1-0/+40
ld/ * ldexp.c: Copy symbol type for simple assignments. bfd/ * libbfd-in.h (_bfd_generic_copy_link_hash_symbol_type): Add prototype. * elf-bfd.h (_bfd_elf_copy_link_hash_symbol_type): Add prototype. * linker.c (_bfd_generic_copy_link_hash_symbol_type): New function. * elflink.c (_bfd_elf_copy_link_hash_symbol_type): New function. * targets.c (BFD_JUMP_TABLE_LINK, struct bfd_target): Add _copy_link_hash_symbol_type. * bfd/coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Add _bfd_generic_copy_link_hash_symbol_type. * bfd/coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Add _bfd_generic_copy_link_hash_symbol_type. * aout-adobe.c (aout_32_bfd_copy_link_hash_symbol_type): Define. * aout-target.h (MY_bfd_copy_link_hash_symbol_type): Define. * aout-tic30.c (MY_bfd_copy_link_hash_symbol_type): Define. * binary.c (binary_bfd_copy_link_hash_symbol_type): Define. * bout.c (b_out_bfd_copy_link_hash_symbol_type): Define. * coffcode.h (coff_bfd_copy_link_hash_symbol_type): Define. * elfxx-target.h (bfd_elfNN_bfd_copy_link_hash_symbol_type): Define. * i386msdos.c (msdos_bfd_copy_link_hash_symbol_type): Define. * i386os9k.c (os9k_bfd_copy_link_hash_symbol_type): Define. * ieee.c (ieee_bfd_copy_link_hash_symbol_type): Define. * ihex.c (ihex_bfd_copy_link_hash_symbol_type): Define. * libecoff.h (_bfd_ecoff_bfd_copy_link_hash_symbol_type): Define. * mach-o.c (bfd_mach_o_bfd_copy_link_hash_symbol_type): Define. * mmo.c (mmo_bfd_copy_link_hash_symbol_type): Define. * nlm-target.h (nlm_bfd_copy_link_hash_symbol_type): Define. * oasys.c (oasys_bfd_copy_link_hash_symbol_type): Define. * pef.c (bfd_pef_bfd_copy_link_hash_symbol_type): Define. * ppcboot.c (ppcboot_bfd_copy_link_hash_symbol_type): Define. * som.c (som_bfd_copy_link_hash_symbol_type): Define. * srec.c (srec_bfd_copy_link_hash_symbol_type): Define. * tekhex.c (tekhex_bfd_copy_link_hash_symbol_type): Define. * versados.c (versados_bfd_copy_link_hash_symbol_type): Define. * vms.c (vms_bfd_copy_link_hash_symbol_type): Define. * xsym.c (bfd_sym_bfd_copy_link_hash_symbol_type): Define. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. ld/testsuite * ld-arm/script-type.sym: New test. * ld-arm/script-type.s: New test. * ld-arm/script-type.s: New test.
2009-11-192009-11-19 Tristan Gingold <gingold@adacore.com>Tristan Gingold1-0/+8
* coff-rs6000.c (rs6000coff_vec): Use generic routines instead of hard-coded casts. (pmac_xcoff_vec): Ditto. * coff64-rs6000.c (rs6000coff64_vec): Ditto. (aix5coff64_vec): Ditto.
2009-11-18bfd/Alan Modra1-0/+9
* bfd-in.h (_bfd_elf_ppc_at_tls_transform): Declare. * bfd-in2.h: Regenerate. * elf64-ppc.c (ppc64_elf_relocate_section): Move code for R_PPC64_TLS insn optimisation to.. * elf32-ppc.c (_bfd_elf_ppc_at_tls_transform): ..here. New function. (ppc_elf_relocate_section): Use it. gas/ * config/tc-ppc.c (md_assemble): Report error on invalid @tls operands and opcode.
2009-11-18 * targets.c: Don't include alloca-conf.h.Alan Modra1-0/+5
(bfd_get_target_info): Don't use alloca.
2009-11-172009-11-17 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-0/+6
PR ld/10955 * elfxx-ia64.c (elfNN_ia64_update_short_info): Also skip ABS sections.
2009-11-172009-11-17 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-0/+10
PR ld/10955 * elfxx-ia64.c (elfNN_ia64_link_hash_table): Update comments. (elfNN_ia64_update_short_info): Remove "->output_section" from ia64_info->max_short_sec and ia64_info->min_short_sec. (elfNN_ia64_choose_gp): Likewise. (elfNN_ia64_relax_section): Pass tsec->output_section to elfNN_ia64_update_short_info.
2009-11-172009-11-17 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-1/+12
PR ld/10955 * elfxx-ia64.c (elfNN_ia64_link_hash_table): Add max_short_sec, max_short_offset, min_short_sec and min_short_offset. (elfNN_ia64_update_short_info): New. (elfNN_ia64_relax_section): Update max_short_sec, max_short_offset, min_short_sec and min_short_offset. (elfNN_ia64_choose_gp): Use min_short_sec/max_short_sec if they are set.
2009-11-172009-11-17 Paul Brook <paul@codesourcery.com>Paul Brook1-0/+7
Daniel Jacobowitz <dan@codesourcery.com> gas/ * doc/c-arm.texi: Document .arch armv7e-m. * config/tc-arm.c (arm_ext_v6_dsp, arm_ext_v7m): New. (insns): Put Thumb versions of v5TExP instructions into arm_ext_v5exp also. Move some Thumb variants from arm_ext_v6_notm to arm_ext_v6_dsp. (arm_archs): Add armv7e-m architecture. (aeabi_set_public_attributes): Handle -march=armv7e-m. gas/testsuite/ * gas/arm/attr-march-armv7em.d: New test. * gas/arm/arch7em-bad.d: New test. * gas/arm/arch7em-bad.l: New test. * gas/arm/arch7em.d: New test. * gas/arm/arch7em.s: New test. include/elf/ * arm.h (TAG_CPU_ARCH_V7E_M): Define. include/opcode/ * arm.h (ARM_EXT_V6_DSP): Define. (ARM_AEXT_V6T2, ARM_AEXT_NOTM): Include ARM_EXT_V6_DSP. (ARM_AEXT_V7EM, ARM_ARCH_V7EM): Define. binutils/ * readelf.c (arm_attr_tag_CPU_arch): Add v7E-M. bfd/ * elf32-arm.c (using_thumb_only, arch_has_arm_nop, arch_has_thumb2_nop): Handle TAG_CPU_ARCH_V7E_M. (tag_cpu_arch_combine): Ditto. Correct MAX_TAG_CPU_ARCH test.
2009-11-17 * elf32-spu.c (struct spu_link_hash_table): Remove overlay_fixed,Ulrich Weigand1-0/+7
reserved, and extra_stack_space members. (spu_elf_auto_overlay): Use auto_overlay_fixed, auto_overlay_reserved, and extra_stack_space members of htab->params instead.
2009-11-172009-11-17 Tristan Gingold <gingold@adacore.com>Tristan Gingold1-0/+4
* targets.c: Include alloca-conf.h
2009-11-162009-11-16 Kai Tietz <kai.tietz@onevision.com>Kai Tietz1-0/+6
* targets.c (bfd_get_target_info): New function. (_bfd_find_arch_match): New function. * bfd-in2.h: Regenerated.
2009-11-12Updated Russian bfd translation.Nick Clifton1-0/+4
Updated Indonesian gas translation.
2009-11-11Updated Indonesian translation.Nick Clifton1-0/+4
2009-11-11bfd/Jan Kratochvil1-0/+7
* configure.in: Call ACX_LARGEFILE. Stop calling AC_PLUGINS, AC_SYS_LARGEFILE and checking the Solaris largefile exception. * aclocal.m4: Regenerate. * configure: Regenerate. binutils/ * configure.in: Call ACX_LARGEFILE. Stop calling AC_PLUGINS, AC_SYS_LARGEFILE and checking the Solaris largefile exception. * aclocal.m4: Regenerate. * configure: Regenerate. gas/ * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE. * aclocal.m4: Regenerate. * configure: Regenerate. gdb/ * configure.ac: Call ACX_LARGEFILE. * aclocal.m4: Call m4_include for ../config/largefile.m4 and ../config/plugins.m4. * configure: Regenerate. * config.in: Regenerate. gprof/ * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE. * aclocal.m4: Regenerate. * configure: Regenerate. ld/ * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE. * aclocal.m4: Regenerate. * configure: Regenerate.
2009-11-09Don't return on STT_GNU_IFUNC symbol when stripping.H.J. Lu1-1/+7
bfd/ 2009-11-09 H.J. Lu <hongjiu.lu@intel.com> PR ld/10911 * elflink.c (elf_link_output_extsym): Don't return on STT_GNU_IFUNC symbol when stripping. ld/testsuite/ 2009-11-09 H.J. Lu <hongjiu.lu@intel.com> PR ld/10911 * ld-ifunc/ifunc-4a-x86.d: New.
2009-11-08 * elf32-hppa.c (elf32_hppa_final_link): Don't sort unwind informationDave Anglin1-0/+6
in a relocatable link. * elf64-hppa.c (elf_hppa_final_link): Likewise.
2009-11-05 * elflink.c (elf_link_add_object_symbols): Improve errorNick Clifton1-0/+7
message generated when a symbol is left unresolved because a --no-add-needed command line option has prevented the inclusion of the DSO defining it.
2009-11-032009-11-03 Alan Modra <amodra@bigpond.net.au>Ulrich Weigand1-0/+6
Ulrich Weigand <uweigand@de.ibm.com> * elf32-spu.c (mark_functions_via_relocs): Handle non-branch relocs (jump tables or other references to code labels) as well.
2009-11-022009-11-02 Paul Brook <paul@codesourcery.com>Paul Brook1-0/+5
ld/testsuite/ * ld-arm/arm-elf.exp: Add new attr-merge-vfp tests. * ld-arm/attr-merge-vfp-1.d: New test. * ld-arm/attr-merge-vfp-1r.d: New test. * ld-arm/attr-merge-vfp-2.d: New test. * ld-arm/attr-merge-vfp-2r.d: New test. * ld-arm/attr-merge-vfp-3.d: New test. * ld-arm/attr-merge-vfp-3r.d: New test. * ld-arm/attr-merge-vfp-4.d: New test. * ld-arm/attr-merge-vfp-4r.d: New test. * ld-arm/attr-merge-vfp-5.d: New test. * ld-arm/attr-merge-vfp-5r.d: New test. * ld-arm/attr-merge-vfp-2.s: New test. * ld-arm/attr-merge-vfp-3.s: New test. * ld-arm/attr-merge-vfp-3-d16.s: New test. * ld-arm/attr-merge-vfp-4.s: New test. * ld-arm/attr-merge-vfp-4-d16.s: New test. gas/ * doc/c-arm.texi: Document new -mfpu options. * config/tc-arm.c (fpu_vfp_ext_v3xd, fpu_vfp_fp16, fpu_neon_ext_fma, fpu_vfp_ext_fma): New. (NEON_ENC_TAB): Add vfma, vfms, vfnma and vfnms. (do_vfp_nsyn_fma_fms, do_neon_fmac): New functions. (insns): Move double precision load/store. Split out double precision VFPv3 instrucitons. Add VFPv4 instructions. (arm_fpus): Add VFPv3-FP16, VFPv3xD and VFPv4 variants. (aeabi_set_public_attributes): Set VFPv4 variants gas/testsuite/ * gas/arm/attr-mfpu-vfpv4.d: New test. * gas/arm/attr-mfpu-vfpv4-d16.d: New test. * gas/arm/neon-fma-cov.d: New test. * gas/arm/neon-fma-cov.s: New test. * gas/arm/vfp-fma-inc.s: New test. * gas/arm/vfp-fma-arm.d: New test. * gas/arm/vfp-fma-arm.s: New test. * gas/arm/vfp-fma-thumb.d: New test. * gas/arm/vfp-fma-thumb.s: New test. * gas/arm/vfma1.d: New test. * gas/arm/vfma1.s: New test. * gas/arm/vfpv3xd.d: New test. * gas/arm/vfpv3xd.s: New test. include/opcode/ * arm.h (FPU_VFP_EXT_V3xD, FPU_VFP_EXT_FP16, FPU_NEON_EXT_FMA, FPU_VFP_EXT_FMA, FPU_VFP_V3xD, FPU_VFP_V4D16, FPU_VFP_V4): Define. (FPU_ARCH_VFP_V3D16_FP16, FPU_ARCH_VFP_V3_FP16, FPU_ARCH_VFP_V3xD, FPU_ARCH_VFP_V3xD_FP16, FPU_ARCH_VFP_V4, FPU_ARCH_VFP_V4D16, FPU_ARCH_NEON_VFP_V4): Define. binutils/ * readelf.c (arm_attr_tag_VFP_arch): Add VFPv4 and VFPv4-D16. bfd/ * elf32-arm.c (elf32_arm_merge_eabi_attributes): Handle VFPv4 attributes. opcodes/ * arm-dis.c (coprocessor_opcodes): Update to use new feature flags. Add VFPv4 instructions.
2009-11-02 * elflink.c (elf_link_add_object_symbols): Don't force debugAlan Modra1-0/+5
symbols local.
2009-10-29 * elf32-cris.c (cris_elf_plt_sym_val): New function.Hans-Peter Nilsson1-0/+5
(elf_backend_plt_sym_val): Define.
2009-10-272009-10-27 Kai Tietz <kai.tietz@onevision.com>Kai Tietz1-0/+5
* peXXigen.c (bfdver.h): Add include. (LINKER_VERSION): Do calculation based on BFD_VERSION.
2009-10-25 * elf32-vax.c (elf_vax_relocate_section): Correct assertion.Maciej W. Rozycki1-0/+4
2009-10-25 * elf32-vax.c (elf_vax_plt_entry): Fix formatting.Maciej W. Rozycki1-0/+4
2009-10-25 * elf32-vax.c (elf_vax_relocate_section): Fix a typo.Maciej W. Rozycki1-0/+4
2009-10-232009-10-23 Kai Tietz <kai.tietz@onevision.com>Kai Tietz1-0/+5
* coff-x86_64.c (coff_amd64_rtype_to_howto): Subtract offset of R_AMD64_PCRLONG_<X> relocations from addend.
2009-10-23 * plugin.c: Produce empty object if not BFD_SUPPORTS_PLUGINS.Alan Modra1-0/+4
2009-10-20 PR binutils/10802Alan Modra1-0/+5
* opncls.c (_maybe_make_executable): Make DYNAMIC files executable.
2009-10-19 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_DTPREL>:Hans-Peter Nilsson1-0/+6
Don't subtract the size of the TLS block for non-shared objects from the relocation.
2009-10-17* coff-z80.c (z80coff_vec): Allow sections to be of type SEC_CODE or SEC_DATAArnold Metselaar1-0/+5
* ld-scripts/align.exp: Remove xfails for z80-*-coff
2009-10-16 PR binutils/10785Alan Modra1-0/+9
* coff-alpha.c (alpha_ecoff_get_elt_at_filepos): Don't bfd_alloc bim and bim->buffer. bfd_malloc instead. * peicode.h (pe_ILF_build_a_bfd): Similarly. (ILF_DATA_SIZE): Don't include bim. * opncls.c (bfd_close): Test bim->buffer non-NULL before freeing.
2009-10-14include/Alan Modra1-0/+4
* bfdlink.h (enum bfd_link_common_skip_ar_symbols): Rename from bfd_link_common_skip_ar_aymbols. (struct bfd_link_info): Here too. bfd/ * aoutx.h (aout_link_check_ar_symbols): Typo fix. ld/ * emultempl/netbsd.em (gldnetbsd_before_parse): Typo fix.
2009-10-132009-10-13 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-0/+6
PR binutils/10763 * elf32-i386.c (elf_i386_finish_dynamic_symbol): Declare plt earlier.
2009-10-13 * elflink.c (_bfd_elf_merge_symbol): Revert previous patch.Alan Modra1-0/+4
2009-10-13Fix %s that should be %B in several message formats.Roland McGrath1-1/+6
2009-10-10 * cofflink.c (_bfd_coff_link_input_bfd): Skip section symbols forAlan Modra1-0/+5
excluded output sections.
2009-10-09bfd/Tristan Gingold1-0/+5
2009-10-09 Tristan Gingold <gingold@adacore.com> * mach-o.c (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_RPATH. (bfd_mach_o_bfd_print_private_bfd_data): Ditto.
2009-10-092009-10-09 Tristan Gingold <gingold@adacore.com>Tristan Gingold1-0/+46
* mach-o.c (bfd_mach_o_scan_read_symtab_symbols): Rename to bfd_mach_o_read_symtab_symbols. (bfd_mach_o_scan_write_thread): Rename to bfd_mach_o_write_thread. (bfd_mach_o_scan_write_relocs): Rename to bfd_mach_o_write_relocs. (bfd_mach_o_scan_write_section_32): Rename to bfd_mach_o_write_section_32. (bfd_mach_o_scan_write_section_64): Rename to bfd_mach_o_write_section_64. (bfd_mach_o_scan_write_segment_32): Rename to bfd_mach_o_write_segment_32. (bfd_mach_o_scan_write_segment_64): Rename to bfd_mach_o_write_segment_64. (bfd_mach_o_scan_write_symtab): Rename to bfd_mach_o_write_symtab. (bfd_mach_o_scan_read_section_32): Rename to bfd_mach_o_read_section_32. (bfd_mach_o_scan_read_section_64): Rename to bfd_mach_o_read_section_64. (bfd_mach_o_scan_read_section): Rename to bfd_mach_o_read_section. (bfd_mach_o_scan_read_symtab_strtab): Rename to bfd_mach_o_read_symtab_strtab. (bfd_mach_o_scan_read_symtab_symbol): Rename to bfd_mach_o_read_symtab_symbol. (bfd_mach_o_scan_read_dysymtab_symbol): Rename to bfd_mach_o_read_dysymtab_symbol. (bfd_mach_o_scan_read_dylinker): Rename to bfd_mach_o_read_dylinker. (bfd_mach_o_scan_read_dylib): Rename to bfd_mach_o_read_dylib. (bfd_mach_o_scan_read_prebound_dylib): Rename to bfd_mach_o_read_prebound_dylib. (bfd_mach_o_scan_read_thread): Rename to bfd_mach_o_read_thread. (bfd_mach_o_scan_read_dysymtab): Rename to bfd_mach_o_read_dysymtab. (bfd_mach_o_scan_read_symtab): Rename to bfd_mach_o_read_symtab. (bfd_mach_o_scan_read_uuid): Rename to bfd_mach_o_read_uuid. (bfd_mach_o_scan_read_linkedit): Rename to bfd_mach_o_read_linkedit. (bfd_mach_o_scan_read_str): Rename to bfd_mach_o_read_str. (bfd_mach_o_scan_read_dyld_info): Rename to bfd_mach_o_read_dyld_info. (bfd_mach_o_scan_read_segment): Rename to bfd_mach_o_read_segment. (bfd_mach_o_scan_read_segment_32): Rename to bfd_mach_o_read_segment_32. (bfd_mach_o_scan_read_segment_64): Rename to bfd_mach_o_read_segment_64. (bfd_mach_o_scan_read_command): Rename to bfd_mach_o_read_command. * mach-o.h (bfd_mach_o_scan_read_dysymtab_symbol): Rename to bfd_mach_o_read_dysymtab_symbol.
2009-10-092009-10-09 Tristan Gingold <gingold@adacore.com>Tristan Gingold1-0/+10
* mach-o.c (bfd_mach_o_section_get_entry_size): Moved. (bfd_mach_o_section_get_nbr_indirect): Ditto. (bfd_mach_o_get_synthetic_symtab): New function. (bfd_mach_o_print_private_header): Print the number of commands in decimal. * mach-o.h (bfd_mach_o_get_synthetic_symtab): Add prototype. * mach-o-target.c: Do not defined bfd_mach_o_get_synthetic_symtab.
2009-10-082009-10-08 Tristan Gingold <gingold@adacore.com>Tristan Gingold1-0/+4
* config.bfd: Add bfd_mach_o_i386_vec in x86_64-darwin targ_selvecs.
2009-10-062009-10-06 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-0/+4
* bfd-in2.h: Regenerated.
2009-10-02include/aout/Alan Modra1-2/+18
* aout64.h (N_SHARED_LIB): Define as zero if not already defined. * sun4.h (N_SHARED_LIB): Define. * hp300hpux.h (N_SHARED_LIB): Don't define. bfd/ * aout-cris.c (N_SHARED_LIB): Don't define. * hp300bsd.c (N_SHARED_LIB): Don't define. * i386bsd.c (N_SHARED_LIB): Don't define. * i386linux.c (N_SHARED_LIB): Don't define. * i386lynx.c (N_SHARED_LIB): Don't define. * m68klinux.c (N_SHARED_LIB): Don't define. * m88kmach3.c (N_SHARED_LIB): Don't define. * mipsbsd.c (N_SHARED_LIB): Don't define. * newsos3.c (N_SHARED_LIB): Don't define. * pc532-mach.c (N_SHARED_LIB): Don't define. * pdp11.c (N_SHARED_LIB): Don't define. * sparclinux.c (N_SHARED_LIB): Don't define. * vaxbsd.c (N_SHARED_LIB): Don't define.
2009-10-01 * cofflink.c (_bfd_coff_generic_relocate_section): Look for the auxDave Korn1-0/+5
symbol for a weak undef in the auxbfd, not the input bfd.