Commit Graph

8844 Commits

Author SHA1 Message Date
Bernd Schmidt
ddcf1fcfb2 * elflink.c (is_reloc_section): Remove function.
(get_dynamic_reloc_section_name): Construct string manually.
2011-03-02 17:07:03 +00:00
Alan Modra
75c362b84e daily update 2011-03-01 23:00:06 +00:00
Alan Modra
ff1431da42 daily update 2011-02-28 23:00:05 +00:00
Kai Tietz
007d618909 ChangeLog libiberty/
2011-02-28  Kai Tietz  <kai.tietz@onevision.com>

	* filename_cmp.c (filename_ncmp): New function.
	* functions.texi: Regenerated.

ChangeLog include/
2011-02-28  Kai Tietz  <kai.tietz@onevision.com>

	* filenames.h (filename_ncmp): New prototype.

ChangeLog bfd/
2011-02-28  Kai Tietz  <kai.tietz@onevision.com>

	* archive.c (_bfd_find_nested_archive): Use filename_(n)cmp.
	(adjust_relative_path): Likewise.
	(_bfd_construct_extended_name_table): Likewise.
	* corefile.c (generic_core_file_matches_executable_p): Likewise.
	* elf32-bfin.c (bfinfdpic_relocate_section): Likewise.
	* elf32-frv.c (elf32_frv_relocate_section): Likewise.
	* elf32-spu.c (sort_bfds): Likewise.
	(spu_elf_auto_overlay): Likewise.
	* syms.c (_bfd_stab_section_find_nearest_line): Likewise.
	* xcofflink.c (xcoff_set_import_path): Likewise.
	* xtensa-isa.c (xtensa_regfile_lookup): Likewise.
	(xtensa_regfile_lookup_shortname): Likewise.
2011-02-28 18:30:16 +00:00
Alan Modra
8616ad89d6 PR 12513
* archive.c (bfd_slurp_bsd_armap_f2): Sanity check parsed_size and
	stringsize.  Properly sanity check symdef_count.  Remove redundant
	bfd_release.
2011-02-28 07:46:37 +00:00
Alan Modra
9a7d3aa9ac daily update 2011-02-27 23:00:05 +00:00
Alan Modra
c24bea2f47 daily update 2011-02-26 23:00:05 +00:00
Rafael Ávila de Espíndola
80549d04a2 2011-02-25 Rafael Ávila de Espíndola <respindola@mozilla.com>
* plugin.c (bfd_plugin_object_p): Correctly set the filesize
	and handle claim_file seeking. Only try to load the plugin once.
2011-02-26 00:03:09 +00:00
Alan Modra
6c597b9d36 daily update 2011-02-25 23:00:06 +00:00
Alan Modra
53ed733c44 daily update 2011-02-24 23:00:05 +00:00
Alan Modra
d1e12d09f3 daily update 2011-02-23 23:00:06 +00:00
Alan Modra
ceb839f35d daily update 2011-02-22 23:00:06 +00:00
Andreas Schwab
93b3ac7505 * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): For a TLS_GD
relocation read the value from the second GOT slot.
2011-02-22 15:46:13 +00:00
Alan Modra
8ecaf248f5 daily update 2011-02-21 23:00:05 +00:00
Alan Modra
748d7a86a6 daily update 2011-02-20 23:00:06 +00:00
Alan Modra
b6c5772a6d daily update 2011-02-19 23:00:06 +00:00
Alan Modra
96012e554a daily update 2011-02-18 23:00:06 +00:00
Alan Modra
33df58f5be daily update 2011-02-17 23:00:05 +00:00
H.J. Lu
98e16b7718 Revert the last change to elf64-x86-64.c. 2011-02-17 13:51:52 +00:00
Alan Modra
567c08759e daily update 2011-02-16 23:00:04 +00:00
H.J. Lu
5295881de1 Don't check relocation overflow for x32.
2011-02-16  H.J. Lu  <hongjiu.lu@intel.com>

	* elf64-x86-64.c (elf_x86_64_check_relocs): Check relocation
	overflow only for ABI_64_P.
	(elf_x86_64_relocate_section): Likewise.
2011-02-16 14:58:18 +00:00
Alan Modra
e49499f8b3 daily update 2011-02-15 23:00:05 +00:00
Tristan Gingold
6fa052f048 2011-02-15 Tristan Gingold <gingold@adacore.com>
* vms-alpha.c (alpha_vms_link_add_archive_symbols): Add a comment.
2011-02-15 09:35:42 +00:00
Alan Modra
28be611cf8 * elf64-ppc.c (ppc64_elf_edit_toc): Reinstate second read of
toc relocs.  Fuss over free(NULL).
2011-02-15 04:07:43 +00:00
Alan Modra
a14087dc74 daily update 2011-02-14 23:00:05 +00:00
Mike Frysinger
93252b1cf4 bfd/ld: handle ABI prefixes in version scripts
The default language in version scripts is supposed to be C, but no
symbol demangling is performed on the symbols by default.  This makes
targets with a symbol prefix to fail with most version scripts out
there.  So strip away this prefix by default.

This fixes many tests (real world and ld's testsuite) for Blackfin
targets and doesn't seem to cause regressions for x86_64.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-02-14 17:03:45 +00:00
Alan Modra
b72eef8c79 daily update 2011-02-13 23:00:04 +00:00
Ralf Wildenhues
822ce8ee21 Remove freebsd1 from libtool.m4 macros and config.rpath.
/:
	Import from Libtool and gnulib:

	2011-01-27  Gerald Pfeifer  <gerald@pfeifer.com>

	Prepare for supporting FreeBSD 10.
	* config.rpath: Remove handling of freebsd1* which soon would
	match FreeBSD 10.0.

	2011-01-20  Gerald Pfeifer  <gerald@pfeifer.com>  (tiny change)

	Remove support for FreeBSD 1.x.
	* libtool.m4 (_LT_LINKER_SHLIBS)
	(_LT_SYS_DYNAMIC_LINKER): Remove handling of freebsd1* which
	soon would incorrectly match FreeBSD 10.0.

bfd/:
	* configure: Regenerate.

gas/:
	* configure: Regenerate.

ld/:
	* configure: Regenerate.

opcodes/:
	* configure: Regenerate.

binutils/:
	* configure: Regenerate.

gprof/:
	* configure: Regenerate.
2011-02-13 21:00:14 +00:00
Alan Modra
f777cfc42b daily update 2011-02-12 23:00:05 +00:00
Alan Modra
b4e297a3c7 daily update 2011-02-11 23:00:15 +00:00
Alan Modra
cc3db291f5 daily update 2011-02-10 23:00:04 +00:00
Alan Modra
c202f10bb3 daily update 2011-02-09 23:00:04 +00:00
Alan Modra
425b145b6e * elf64-ppc.c (ppc64_elf_edit_toc): Don't free toc relocs until
we are done.  When optimising large toc, check that a global
	symbol on a toc reloc is defined in a kept section.
2011-02-09 08:16:00 +00:00
Alan Modra
b1eecb365d daily update 2011-02-08 23:00:06 +00:00
Nick Clifton
82f2dbf73d PR binutils/12467
* readelf.c (process_program_headers): Issue a warning if there
	are no program headers but the file header has a non-zero program
	header offset.
	(process_section_headers): Issue a warning if there are no section
	headers but the file header has a non-zero section header offset.
	(process_section_groups): Reword the no section message so that it
	can be distinguished from the one issued by process_section_headers.

	* elf.c (assign_file_positions_for_load_sections): Set the program
	header offset and entry size to zero if there are no program
	headers.
2011-02-08 09:40:05 +00:00
Alan Modra
df22d22333 * elf64-ppc.c (ppc64_elf_edit_toc): Don't segfault on NULL
local_syms when looking for local symbols in .toc.
2011-02-08 02:54:42 +00:00
Alan Modra
8e8fa03b7e daily update 2011-02-07 23:00:05 +00:00
Alan Modra
cac9794631 daily update 2011-02-06 23:00:04 +00:00
Alan Modra
f22ecf4fa6 daily update 2011-02-05 23:00:29 +00:00
Alan Modra
a2b0095576 daily update 2011-02-04 23:00:05 +00:00
Alan Modra
02e155fee8 daily update 2011-02-03 23:00:04 +00:00
Alan Modra
92ef14442d daily update 2011-02-02 23:00:07 +00:00
Alan Modra
5a5b3962d7 daily update 2011-02-01 23:00:05 +00:00
Alan Modra
824b9efe20 daily update 2011-01-31 23:00:05 +00:00
Alan Modra
6683a28dfa * elf64-ppc.c (ppc64_elf_next_input_section): Use elf_gp value
for toc pointer on any section having makes_toc_func_call set.
	(check_pasted_section): Ensure pasted .init/.fini fragments use
	the same toc if any has makes_toc_func_call set.
2011-01-31 22:38:26 +00:00
Alan Modra
38eb900395 daily update 2011-01-30 23:00:07 +00:00
Alan Modra
a3ec7a4927 daily update 2011-01-29 23:00:05 +00:00
Joseph Myers
5240d94db3 * elf32-ppc.c (ppc_elf_link_hash_newfunc): Initialize has_sda_refs
field.
2011-01-29 00:12:52 +00:00
Alan Modra
c6b67b32dd daily update 2011-01-28 23:00:04 +00:00
Alan Modra
2988010ff0 daily update 2011-01-27 23:00:05 +00:00