Commit Graph

9896 Commits

Author SHA1 Message Date
Alan Modra a86852103b typo fixes 2012-08-17 02:43:21 +00:00
Alan Modra ed668b34df PR binutils/14475:
* archive.c (bfd_ar_hdr_from_filesystem): Revert last change.
	Instead malloc areltdata.
2012-08-17 01:06:27 +00:00
Alan Modra d4ae793968 daily update 2012-08-17 00:00:04 +00:00
Tom Tromey a3074307fc PR binutils/14475:
* archive.c (bfd_ar_hdr_from_filesystem): Allocate areltdata on
	'member' BFD.  Don't try to free 'ared'.
2012-08-16 14:24:44 +00:00
Alan Modra c54be15e4e daily update 2012-08-16 00:00:04 +00:00
Alan Modra f22e3c5823 daily update 2012-08-15 00:00:03 +00:00
Nick Clifton 63a79b61fd Updated Ukranian translations. 2012-08-14 11:59:05 +00:00
Alan Modra d5553bbce9 daily update 2012-08-14 00:00:05 +00:00
Maciej W. Rozycki af0edeb8e6 * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Look up
the options section in the output rather than input BFD to
	decide if to add a DT_MIPS_OPTIONS tag.
2012-08-13 19:43:38 +00:00
Maciej W. Rozycki 9edaacb3fb * config.bfd: Wrap mips*el-*-linux* and mips*-*-linux* into
#ifdef BFD64.
2012-08-13 15:01:13 +00:00
Nick Clifton a06ea96464 Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
Maciej W. Rozycki 9f1a453ea1 * elfxx-mips.c (mips_elf_calculate_relocation): Fix the handling
of protected symbols.
2012-08-13 13:06:14 +00:00
Alan Modra f8cb18510f daily update 2012-08-13 00:00:05 +00:00
Alan Modra 15b2a22d97 daily update 2012-08-12 00:00:05 +00:00
Alan Modra d887eb7be1 daily update 2012-08-11 00:00:05 +00:00
Alan Modra 44534af395 PR binutils/14444
* elf.c (IS_VALID_GROUP_SECTION_HEADER) Add minsize param.
	(setup_group): Adjust uses.
	(bfd_section_from_shdr): Allow SHT_GROUP sections with just a flag
	word.
2012-08-10 02:14:50 +00:00
Alan Modra 18a45ee20d daily update 2012-08-10 00:00:04 +00:00
Nick Clifton 3c892704a9 Updated Vietnamese translation. 2012-08-09 14:46:44 +00:00
Maciej W. Rozycki d21911eadd * elfxx-mips.c (LA25_LUI_MICROMIPS_1, LA25_LUI_MICROMIPS_2):
Remove macros, folding them into...
	(LA25_LUI_MICROMIPS): ... this new macro.
	(LA25_J_MICROMIPS_1, LA25_J_MICROMIPS_2): Likewise into...
	(LA25_J_MICROMIPS): ... this new macro.
	(LA25_ADDIU_MICROMIPS_1, LA25_ADDIU_MICROMIPS_2): Likewise
	into...
	(LA25_ADDIU_MICROMIPS): ... this new macro.
	(bfd_put_micromips_32, bfd_get_micromips_32): New functions.
	(mips_elf_create_la25_stub): Use them.
	(check_br32_dslot, check_br32, check_relocated_bzc): Likewise.
	(_bfd_mips_elf_relax_section): Likewise.
2012-08-09 12:05:15 +00:00
Alan Modra eeb1f9aea6 * archive.c (SECTION Archives): Update documentation.
(_bfd_delete_archive_data): Remove.
	(_bfd_add_bfd_to_archive_cache): Set 'parent_cache' and 'key'.
	(archive_close_worker, _bfd_archive_close_and_cleanup): New
	functions.
	* libbfd-in.h (struct areltdata <parent_cache, key>): New fields.
	(_bfd_delete_archive_data): Don't declare.
	(_bfd_archive_close_and_cleanup): Declare.
	(_bfd_generic_close_and_cleanup): Redefine.
	* libbfd.h: Rebuild.
	* opncls.c (_bfd_delete_bfd): Don't call _bfd_delete_archive_data.
	(bfd_close): Don't close nested thin archives here.
2012-08-09 06:25:53 +00:00
Alan Modra 2588feef11 daily update 2012-08-09 00:00:05 +00:00
Alan Modra a91b471c56 daily update 2012-08-08 00:00:05 +00:00
Nick Clifton a988325c24 * config/tc-i386.c (lex_got): Provide implementation for PE
format.

	* gas/i386/secrel.s: Add test of <symbol>@SECREL32.
	* gas/i386/secrel.d: Add expected disassembly.

	* scripttempl/pe.sc (R_TLS): Add .tls$AAA and .tls$ZZZ.
	* scripttempl/pep.sc (R_TLS): Add .tls$AAA and .tls$ZZZ.

	* archive.c (_bfd_delete_archive_data): New function.
	* libbfd-in.h (_bfd_delete_archive_data): Declare.
	* libbfd.h: Rebuild.
	* opncls.c (_bfd_delete_bfd): Call _bfd_delete_archive_data.
2012-08-07 13:47:19 +00:00
Nick Clifton 5125d2b040 Updated Ukranian and Japanese translations. 2012-08-07 10:37:31 +00:00
Alan Modra a71a0c4b60 daily update 2012-08-07 00:00:05 +00:00
Maciej W. Rozycki eb8476a6e2 bfd/
* elflink.c (bfd_elf_record_link_assignment): Remove --defsym
	symbols special case.

	ld/
	* ldexp.h (etree_union): Add defsym member to the assign member
	structure.
	(exp_assign): Add hidden argument to prototype.
	* ldexp.c (exp_fold_tree_1): Use the defsym member to handle
	--defsym symbols.
	(exp_assop): Add defsym argument, initialize the defsym member
	of the assign structure.
	(exp_assign): Handle hidden symbols.
	(exp_defsym): Update to use the defsym argument to exp_assop.
	(exp_provide): Update to handle the defsym argument to exp_assop.
	* ldlex.l (HIDDEN): New token.
	* ldgram.y (HIDDEN): Likewise.
	(assignment, section): Update calls to exp_assign.
	* ldctor.c (ldctor_build_sets): Likewise.
	* mri.c (mri_format): Likewise.
	* ldlang.c (lang_insert_orphan, lang_leave_overlay): Likewise.
	(open_input_bfds): Remove --defsym symbols special case.
	* emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Update
	call to exp_assign.
	* emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
	* emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
	* emultempl/spuelf.em (spu_place_special_section): Likewise.
	* emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets):
	Likewise.
	* ld.texinfo (Assigning Values to Symbols): Add HIDDEN.
	(HIDDEN): New subsection.
2012-08-06 22:27:52 +00:00
Alan Modra 5d2939f193 daily update 2012-08-06 00:00:05 +00:00
Maciej W. Rozycki a22a803903 bfd/
* elf32-vax.c (elf_vax_adjust_dynamic_symbol): Don't allocate
	PLT slots for local symbols.

	ld/testsuite/
	* ld-vax-elf: New directory.
	* ld-vax-elf/plt-local-lib.dd: New test.
	* ld-vax-elf/plt-local-lib.ld: New test linker script.
	* ld-vax-elf/plt-local-lib.s: New test source.
	* ld-vax-elf/plt-local.dd: New test.
	* ld-vax-elf/plt-local.ld: New test linker script.
	* ld-vax-elf/plt-local.s: New test source.
	* ld-vax-elf/plt-local-hidden-pic.s: New test source.
	* ld-vax-elf/plt-local-rehidden-pic.s: New test source.
	* ld-vax-elf/vax-elf.exp: New test script.
2012-08-05 22:45:20 +00:00
Alan Modra 901963236e daily update 2012-08-05 00:00:05 +00:00
Alan Modra 01a5d7c2fb daily update 2012-08-04 00:00:04 +00:00
Maciej W. Rozycki 1a6c3ca234 * elf64-mips.c (mips16_elf64_howto_table_rela): Correct src_mask
field initializers throughout.
	* elfn32-mips.c (elf_mips16_howto_table_rela): Likewise.
2012-08-03 22:17:19 +00:00
Maciej W. Rozycki 3bdf9505db bfd/
* elfxx-mips.c (mips_elf_perform_relocation): Update the
	cross-mode jump message.

	ld/testsuite/
	* ld-mips-elf/mode-change-error-1.d: Update the error message.
2012-08-03 22:14:21 +00:00
Maciej W. Rozycki 6e6be592e8 * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Update the
comment on DT_MIPS_RLD_MAP.
2012-08-03 22:09:40 +00:00
Tom Tromey 7b84f8dad0 * opncls.c (_bfd_delete_bfd): Now static.
* libbfd-in.h (_bfd_delete_bfd): Don't declare.
	* libbfd.h: Rebuild.
2012-08-03 20:09:53 +00:00
Sean Keys 9a92d0ce36 * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Modified
conditional statment to allow suppression of mismatched bank
	warning.
2012-08-02 20:40:30 +00:00
Alan Modra 145d4047d2 daily update 2012-08-02 00:00:05 +00:00
Alan Modra 1c37913d09 * dwarf2.c (struct dwarf2_debug): Add close_on_cleanup.
(_bfd_dwarf2_slurp_debug_info): Set close_on_cleanup if we open
	gnu_debuglink bfd.
	(_bfd_dwarf2_cleanup_debug_info): Act on close_on_cleanup.
2012-08-01 01:29:12 +00:00
Alan Modra 12d60edc82 daily update 2012-08-01 00:00:04 +00:00
Alan Modra a8dafa24fb daily update 2012-07-31 00:00:05 +00:00
Nick Clifton a6dc81d2ab Updated translations 2012-07-30 08:43:46 +00:00
Alan Modra 06948bacc4 daily update 2012-07-30 00:00:04 +00:00
Alan Modra 3b00177415 daily update 2012-07-29 00:00:04 +00:00
Alan Modra 1d875643b9 daily update 2012-07-28 00:00:04 +00:00
Mike Frysinger c4dd807e7b bfd: update to AC_INIT
Move the package name/version from AM_INIT_AUTOMAKE to AC_INIT per recent
autotools guidelines.  We use recent versions of both, so it shouldn't be
a problem.

This sets PACKAGE_xxx variables correctly, and makes the output of:
	./configure --version
actually useful:
	bfd configure 2.22.52

Changing the other dirs to use AC_INIT would require a bit of m4 trickery
that I don't feel like getting into, and they all use BFD_VERSION anyways,
so there isn't much point.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-07-27 16:30:57 +00:00
Andreas Krebbel c92b291c62 2012-07-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* cpu-s390.c (bfd_s390_64_arch, bfd_s390_arch): Pick the default
	arch depending on the target size.
2012-07-27 15:56:43 +00:00
Tristan Gingold ecdf0cbb12 bfd/
2012-07-27  Tristan Gingold  <gingold@adacore.com>

	* configure.in: Bump version to 2.23.51
	* configure: Regenerate.
2012-07-27 08:24:36 +00:00
Alan Modra 7eea7d65f7 daily update 2012-07-27 00:00:04 +00:00
Cary Coutant f725daa870 2012-07-26 Teresa Johnson <tejohnson@google.com>
* bfd/dwarf2.c (find_line): Initialize discriminator_ptr
	if it is non-NULL.
2012-07-26 18:20:39 +00:00
Nick Clifton 054565943a PR ld/14397
* elf32-arm.c (elf32_arm_finish_dynamic_sections): Report an error
	if a required section is missing from the linker script.

	* ld-arm/arm-elf.exp: Add tests of linking without .rel.plt.
	* ld-arm/arm-no-rel-plt.out: Linker script without .rel.plt section.
	* ld-arm/arm-no-rel-plt.out: Expected output.
2012-07-26 13:43:24 +00:00
Alan Modra 666c1376b6 daily update 2012-07-26 00:00:05 +00:00