Commit graph

6075 commits

Author SHA1 Message Date
Alan Modra
6326e5da7f daily update 2007-06-13 00:00:05 +00:00
Alan Modra
5adbd72d2e daily update 2007-06-12 00:00:06 +00:00
Bob Wilson
99ded152a5 bfd/
* elf32-xtensa.c (extend_ebb_bounds_forward): Use renamed
        XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.
        (extend_ebb_bounds_backward, compute_text_actions): Likewise.
        (compute_ebb_proposed_actions, coalesce_shared_literal): Likewise.
        (xtensa_get_property_predef_flags): Likewise.
        (compute_removed_literals): Pass new arguments to is_removable_literal.
        (is_removable_literal): Add sec, prop_table and ptblsize arguments.
        Do not remove literal if the NO_TRANSFORM property flag is set.
gas/
        * config/tc-xtensa.c (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to...
        (XTENSA_PROP_NO_TRANSFORM): ...this.
        (frag_flags_struct): Move is_no_transform out of the insn sub-struct.
        (xtensa_mark_frags_for_org): New.
        (xtensa_handle_align): Set RELAX_ORG frag subtype for rs_org.
        (xtensa_post_relax_hook): Call xtensa_mark_frags_for_org.
        (get_frag_property_flags): Adjust reference to is_no_transform flag.
        (xtensa_frag_flags_combinable): Likewise.
        (frag_flags_to_number): Likewise.  Use XTENSA_PROP_NO_TRANSFORM.
        * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_ORG.
include/elf/
        * xtensa.h (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to...
        (XTENSA_PROP_NO_TRANSFORM): ...this.
ld/
        * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use renamed
        XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.
2007-06-11 16:53:08 +00:00
Alan Modra
33c02870f4 daily update 2007-06-11 00:00:05 +00:00
Alan Modra
d6fb1e5cc9 daily update 2007-06-10 00:00:06 +00:00
Alan Modra
ba6bd54195 daily update 2007-06-09 00:00:05 +00:00
Alan Modra
bf7c57a85e daily update 2007-06-08 00:00:06 +00:00
Alan Modra
22c0ef5c12 daily update 2007-06-07 00:00:05 +00:00
Alan Modra
81103de8dd daily update 2007-06-06 00:00:08 +00:00
Alan Modra
a9beac614b daily update 2007-06-05 00:00:05 +00:00
Alan Modra
f6c489bc53 daily update 2007-06-04 00:00:05 +00:00
Alan Modra
a901c493b8 daily update 2007-06-03 00:00:05 +00:00
Alan Modra
d142e9b5b4 daily update 2007-06-02 00:00:06 +00:00
Alan Modra
1b10b7bfe2 daily update 2007-06-01 00:00:06 +00:00
Richard Sandiford
cbf2cba4be bfd/
* elfxx-mips.c (mips_elf_initialize_tls_index): When processing a
	type (3) single-GOT entry, read tls_type from the hash table entry
	rather than the GOT entry.
2007-05-31 20:22:56 +00:00
Alan Modra
a9a4c53ecc include/
* bfdlink.h (struct bfd_link_info): Add input_bfds_tail.
bfd/
	* simple.c (bfd_simple_get_relocated_section_content): Init
	input_bfds_tail.
ld/
	* ldlang.c (ldlang_add_file): Use input_bfds_tail.
	* ldmain.c (main): Init input_bfds_tail.  Sort link_info
	initialization.
2007-05-31 15:04:52 +00:00
Alan Modra
8fd3aac734 daily update 2007-05-31 00:00:05 +00:00
Alan Modra
42bb2e3317 bfd/
* elf.c (elf_fake_sections): Adjust test for SHT_NOBITS sections
	created by objcopy --only-keep-debug.
	(_bfd_elf_init_private_section_data): Only change elf_section_type
	if it is SHT_NULL.
binutils/
	* objcopy.c (copy_object): Revert 2007-05-11 change.  Don't
	avoid calling bfd_copy_private_bfd_data for ELF STRIP_NONDEBUG.
	(setup_section): Don't modify flags, and don't avoid calling
	bfd_copy_private_section_data for ELF STRIP_NONDEBUG.
	* readelf.c (process_program_headers): Ignore .dynamic of type
	SHT_NOBITS.
2007-05-30 14:29:27 +00:00
Alan Modra
02bf8d82b5 * elf.c (assign_file_positions_for_load_sections): Correct sh_type
to SHT_NOBITS earlier.  Base actions in rest of function on sh_type
	and sh_flags instead of bfd section flags.  Delete voff and code
	keeping nobits segments aligned.
2007-05-30 13:38:50 +00:00
Alan Modra
4e57dfd62a daily update 2007-05-30 00:00:06 +00:00
Alan Modra
846a3c3a49 daily update 2007-05-29 00:00:06 +00:00
Alan Modra
e92a48353d daily update 2007-05-28 00:00:05 +00:00
Alan Modra
afa923e792 daily update 2007-05-27 00:00:05 +00:00
Alan Modra
be69418222 daily update 2007-05-26 00:00:07 +00:00
Eric Christopher
4e591bc17f 2007-05-25 Eric Christopher <echristo@apple.com>
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame):
        Check that sym_sec isn't NULL before accessing.
2007-05-25 23:06:11 +00:00
Alan Modra
53d33df97a daily update 2007-05-25 00:00:05 +00:00
Steve Ellcey
d7040cdb28 * regenerated files from updating libtool. 2007-05-24 18:12:51 +00:00
Steve Ellcey
37ad95141b * ltmain.sh: Update from GCC.
* libtool.m4: Update from GCC.
	* ltsugar.m4: New. Update from GCC.
	* ltversion.m4: New. Update from GCC.
	* ltoptions.m4: New. Update from GCC.
	* ltconfig: Remove.
	* ltcf-c.sh: Remove.
	* ltcf-cxx.sh: Remove.
	* ltcf-gcj.sh: Remove.
	* src-release: Update with new libtool file list.
	* newlib/*/configure.in: invoke _LD_DECL_SED.
	* newlib/*/Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
	* Regenerate subdirectories
2007-05-24 17:33:42 +00:00
Alan Modra
6f60ca4eac daily update 2007-05-24 00:00:07 +00:00
Alan Modra
950c3b7d2c daily update 2007-05-23 00:00:10 +00:00
Paul Brook
91a5743d01 2007-05-22 Paul Brook <paul@codesourcery.com>
ld/testsuite/
	* ld-arm/arm-pic-veneer.d: Update expected output.
	* ld-arm/arm-call.d: Ditto.

	bfd/
	* elf32-arm.c (output_arch_syminfo): Replace plt_shndx and plt_offset
	with sec and sec_shndx.
	(elf32_arm_ouput_plt_map_sym): Use them.
	(elf32_arm_output_arch_local_syms): Output mapping symbols for
	interworking glue.
2007-05-22 17:17:53 +00:00
Nick Clifton
0e9517a90d Use @copying around copyright notices 2007-05-22 09:16:39 +00:00
Alan Modra
1d47bfb06d daily update 2007-05-22 00:00:06 +00:00
Nick Clifton
f07575174a * bfdint.texi: Add GNU Free Documentation License notice. 2007-05-21 16:39:51 +00:00
Alan Modra
56c40d18e2 daily update 2007-05-21 00:00:06 +00:00
Alan Modra
d8073b87c8 daily update 2007-05-20 00:00:05 +00:00
Alan Modra
379c558d32 daily update 2007-05-19 00:00:13 +00:00
Paul Brook
26079076f5 2007-05-18 Paul Brook <paul@codesourcery.com>
bfd/
	* elf32-arm.c (ARM2THUMB_V5_STATIC_GLUE_SIZE): Define.
	(a2t1v5_ldr_insn, a2t1v5_ldr_insn): New.
	(record_arm_to_thumb_glue): Add v5t non-pic glue.
	(elf32_arm_create_thumb_stub): Ditto.

	ld/testsuite/
	* ld-arm/arm-call.d: Update expected output.
2007-05-18 00:25:04 +00:00
Alan Modra
0ee68a72db daily update 2007-05-18 00:00:05 +00:00
Alan Modra
2106c1f0c5 daily update 2007-05-17 00:00:07 +00:00
H.J. Lu
91ac591132 2007-05-16 H.J. Lu <hongjiu.lu@intel.com>
Alan Modra  <amodra@bigpond.net.au>

	* elflink.c (_bfd_elf_adjust_dynamic_copy): Align dynamic bss
	section to the minimum alignment.
2007-05-16 12:52:03 +00:00
Alan Modra
017f71b6e8 daily update 2007-05-16 00:00:05 +00:00
H.J. Lu
027297b7a8 2007-05-15 H.J. Lu <hongjiu.lu@intel.com>
Alan Modra  <amodra@bigpond.net.au>

	PR ld/4504
	* elf-bfd.h (_bfd_elf_adjust_dynamic_copy): New.
	* elflink.c (_bfd_elf_adjust_dynamic_copy): New.

	* elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Call
	_bfd_elf_adjust_dynamic_copy to adjust for the copy in dynamic
	bss section.
	* elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Likewise.
	* elf32-cris.c (elf_cris_adjust_dynamic_symbol): Likewise.
	* elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise.
	* elf32-i370.c (i370_elf_adjust_dynamic_symbol): Likewise.
	* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise.
	* elf32-m32r.c (m32r_elf_adjust_dynamic_symbol): Likewise.
	* elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise.
	* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise.
	* elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
	* elf32-sh.c (sh_elf_adjust_dynamic_symbol): Likewise.
	* elf32-vax.c (elf_vax_adjust_dynamic_symbol): Likewise.
	* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise.
	* elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
	* elf64-sh64.c (sh64_elf64_adjust_dynamic_symbol): Likewise.
	* elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise.
	* elfxx-mips.c (_bfd_mips_vxworks_adjust_dynamic_symbol): Likewise.
	* elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise.
2007-05-15 13:55:54 +00:00
Richard Sandiford
5c18022ec5 bfd/
* elfxx-mips.c (mips_elf_create_local_got_entry): Remove
	input_section argument.  Create .rela.dyn relocations against
	symbol 0 rather than the section symbol.
	(mips_elf_local_got_index): Remove input_section argument.
	Update call to mips_elf_create_local_got_entry.
	(mips_elf_got_page, mips_elf_got16_entry): Likewise.
	(mips_elf_calculate_relocation): Update calls to
	mips_elf_local_got_index, mips_elf_got16_entry and mips_elf_got_page.

ld/testsuite/
	* ld-mips-elf/vxworks1-lib.rd: Expect the GOT relocation to be
	against symbol 0.
2007-05-15 12:18:53 +00:00
Mark Shinwell
a00a1f35e1 bfd/
* elf32-arm.c (elf32_arm_final_link_relocate): Correctly
	handle the Thumb-2 JUMP19 relocation.

	ld/testsuite/
	* ld-arm/arm-elf.exp: Add jump19 testcase.
	* ld-arm/jump19.d: New.
	* ld-arm/jump19.s: New.
2007-05-15 09:54:09 +00:00
Alan Modra
0414f35b82 PR 4479
* elf.c (elf_fake_sections): Don't allow backend to change
	SHT_NOBITS if called for strip/objcopy --only-keep-debug.
	* elfxx-mips.c (_bfd_mips_elf_fake_sections): Remove similar
	fix from here.
2007-05-15 08:39:58 +00:00
Alan Modra
78832c11e4 daily update 2007-05-15 00:00:05 +00:00
Alan Modra
74f2e02bf4 * elf.c (bfd_elf_string_from_elf_section): Return NULL on
invalid shstrndx.
	(bfd_elf_get_str_section): Likewise.
2007-05-14 04:15:53 +00:00
Alan Modra
a1513dafcc daily update 2007-05-14 00:00:05 +00:00
Alan Modra
adc44effcb daily update 2007-05-13 00:00:06 +00:00