Commit graph

7940 commits

Author SHA1 Message Date
Alan Modra
41b6334fa9 daily update 2009-11-08 23:00:04 +00:00
Dave Anglin
d9f4081713 * elf32-hppa.c (elf32_hppa_final_link): Don't sort unwind information
in a relocatable link.
	* elf64-hppa.c (elf_hppa_final_link): Likewise.
2009-11-08 20:47:24 +00:00
Alan Modra
8655941f11 daily update 2009-11-07 23:00:05 +00:00
Alan Modra
7580967a34 daily update 2009-11-06 23:00:04 +00:00
Alan Modra
58d79fab30 daily update 2009-11-05 23:00:04 +00:00
Nick Clifton
3cbc5de02a * elflink.c (elf_link_add_object_symbols): Improve error
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-05 15:34:18 +00:00
Alan Modra
d90834c7df daily update 2009-11-04 23:00:05 +00:00
Alan Modra
f94567824c daily update 2009-11-03 23:00:03 +00:00
Ulrich Weigand
6567fa84dc 2009-11-03 Alan Modra <amodra@bigpond.net.au>
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-03 13:58:49 +00:00
Alan Modra
3ddeef5ffd daily update 2009-11-02 23:00:05 +00:00
Paul Brook
62f3b8c867 2009-11-02 Paul Brook <paul@codesourcery.com>
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 13:44:05 +00:00
Alan Modra
3703bab932 * elflink.c (elf_link_add_object_symbols): Don't force debug
symbols local.
2009-11-02 06:27:08 +00:00
Alan Modra
b7cb8455fd daily update 2009-11-01 23:00:04 +00:00
Alan Modra
3db36ded4f daily update 2009-10-31 23:00:05 +00:00
Alan Modra
0b4f16a24e daily update 2009-10-30 23:00:04 +00:00
Alan Modra
0db823f6e5 daily update 2009-10-29 23:00:04 +00:00
Hans-Peter Nilsson
5d5a918a3d * elf32-cris.c (cris_elf_plt_sym_val): New function.
(elf_backend_plt_sym_val): Define.
2009-10-29 11:49:00 +00:00
Alan Modra
ff65479121 daily update 2009-10-28 23:00:04 +00:00
Alan Modra
1e8c521f4a daily update 2009-10-27 23:00:05 +00:00
Kai Tietz
5fdcb63c89 2009-10-27 Kai Tietz <kai.tietz@onevision.com>
* peXXigen.c (bfdver.h): Add include.
        (LINKER_VERSION): Do calculation based on BFD_VERSION.
2009-10-27 10:53:28 +00:00
Alan Modra
d336b6b9e8 daily update 2009-10-26 23:00:04 +00:00
Alan Modra
3bc3ec8426 daily update 2009-10-25 23:00:04 +00:00
Maciej W. Rozycki
d76b263e04 * elf32-vax.c (elf_vax_relocate_section): Correct assertion. 2009-10-25 01:43:06 +00:00
Maciej W. Rozycki
71f136d6c2 * elf32-vax.c (elf_vax_plt_entry): Fix formatting. 2009-10-25 01:27:56 +00:00
Maciej W. Rozycki
9e86195cc1 * elf32-vax.c (elf_vax_relocate_section): Fix a typo. 2009-10-25 00:49:43 +00:00
Alan Modra
2f04b56cfe daily update 2009-10-24 23:00:09 +00:00
Alan Modra
05014a7efc daily update 2009-10-23 23:00:05 +00:00
Kai Tietz
406dba1369 2009-10-23 Kai Tietz <kai.tietz@onevision.com>
* coff-x86_64.c (coff_amd64_rtype_to_howto): Subtract offset
        of R_AMD64_PCRLONG_<X> relocations from addend.
2009-10-23 11:30:25 +00:00
Alan Modra
98950613d8 * plugin.c: Produce empty object if not BFD_SUPPORTS_PLUGINS. 2009-10-23 05:45:27 +00:00
Alan Modra
5186414052 daily update 2009-10-22 23:00:04 +00:00
Alan Modra
eed7823138 daily update 2009-10-21 23:00:05 +00:00
Alan Modra
66779bb111 daily update 2009-10-20 23:00:05 +00:00
Alan Modra
dbde1c1272 PR binutils/10802
* opncls.c (_maybe_make_executable): Make DYNAMIC files executable.
2009-10-20 00:49:31 +00:00
Alan Modra
20f0ec92c5 daily update 2009-10-19 23:00:05 +00:00
Hans-Peter Nilsson
ebf275e360 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_DTPREL>:
Don't subtract the size of the TLS block for non-shared objects
	from the relocation.
2009-10-19 16:33:49 +00:00
Alan Modra
fb2cd69a79 daily update 2009-10-18 23:00:04 +00:00
Alan Modra
e552fb34da daily update 2009-10-17 23:00:05 +00:00
Arnold Metselaar
6c293e26a3 * coff-z80.c (z80coff_vec): Allow sections to be of type SEC_CODE or SEC_DATA
* ld-scripts/align.exp: Remove xfails for z80-*-coff
2009-10-17 17:18:28 +00:00
Alan Modra
06e66df219 daily update 2009-10-16 23:00:04 +00:00
Alan Modra
493152cb4f PR binutils/10785
* 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-16 07:14:43 +00:00
Alan Modra
65e05ed2f3 daily update 2009-10-15 23:00:04 +00:00
Alan Modra
98b5404363 daily update 2009-10-14 23:00:04 +00:00
Alan Modra
f88dc410a7 include/
* 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-14 05:54:29 +00:00
Alan Modra
d473580821 daily update 2009-10-13 23:00:04 +00:00
H.J. Lu
cd2b2c108e 2009-10-13 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/10763
	* elf32-i386.c (elf_i386_finish_dynamic_symbol): Declare plt
	earlier.
2009-10-13 16:37:39 +00:00
Alan Modra
fc3e1e3c7e * elflink.c (_bfd_elf_merge_symbol): Revert previous patch. 2009-10-13 04:06:20 +00:00
Roland McGrath
f8076f98aa Fix %s that should be %B in several message formats. 2009-10-13 02:35:08 +00:00
Alan Modra
e3f2493ba1 daily update 2009-10-12 23:00:05 +00:00
Alan Modra
8222bba344 daily update 2009-10-11 23:00:04 +00:00
Alan Modra
913fca114e daily update 2009-10-10 22:59:50 +00:00