Commit Graph

3409 Commits

Author SHA1 Message Date
Danny Smith 3c9d0484ea * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Clear
IMAGE_SCN_MEM_WRITE on known sections only.
2004-02-21 06:16:02 +00:00
Alan Modra a43d31e17b daily update 2004-02-20 23:00:05 +00:00
Jakub Jelinek a876ecf9be * elf32-ppc.c (allocate_dynrelocs): Create dynsym for undef weak
symbols used in PIE relocs.
2004-02-20 17:36:36 +00:00
Alan Modra 441abf5c92 daily update 2004-02-19 23:00:12 +00:00
Jakub Jelinek a8a6d7cef4 * elf32-sparc.c (elf32_sparc_finish_dynamic_sections): Clear
.plt sh_entsize.
2004-02-19 11:01:39 +00:00
Alan Modra 6f4009b0b6 daily update 2004-02-18 23:00:22 +00:00
Daniel Jacobowitz d080fcd283 * configure.in: Update version to 2.15.90.
* configure: Regenerate.
2004-02-18 17:17:17 +00:00
Alan Modra f2a1601b9d daily update 2004-02-17 23:00:05 +00:00
Richard Sandiford d25aed713b bfd/
* elfxx-mips.c (mips_elf_calculate_relocation): Use
	_bfd_elf_symbol_refs_local_p to decide whether to decay
	a GOT_PAGE/GOT_OFST pair to GOT_DISP/addend.
	(_bfd_mips_elf_check_relocs): Add a global GOT entry for GOT_PAGE
	relocs if the symbol wasn't defined by a regular object file.
	Don't check the symbol's dynindx.

ld/testsuite/
	* ld-mips/elf/elf-rel-xgot-{n32,n64-linux}.d: Update after 2004-02-02
	changes to the way large constants are added.
	* ld-mips/elf/elf-rel-got-{n32,n64-linux}.d: Likewise.  Adjust order
	of GOT entries after today's change to the handling of GOT_PAGE
	relocations.
2004-02-17 10:19:24 +00:00
Alan Modra 58e13eb9ec daily update 2004-02-16 23:00:05 +00:00
Andrew Cagney d7ce59e3ac 2004-02-16 Andrew Cagney <cagney@redhat.com>
* bfd-in.h (file_ptr, ufile_ptr): Configure type using
	@bfd_file_ptr@.
	* bfd-in2.h: Re-generate.
2004-02-16 18:46:40 +00:00
Alan Modra 39269bebd6 daily update 2004-02-15 23:00:05 +00:00
Alan Modra b90cf2887c daily update 2004-02-14 23:00:09 +00:00
Andrew Cagney ca0b76868a 2004-02-14 Andrew Cagney <cagney@redhat.com>
* configure.host (HDEFINES): When hppa*-*-hpux*, define
	_LARGEFILE64_SOURCE.
2004-02-14 15:38:20 +00:00
Andrew Cagney 340b6d9120 2004-02-13 Andrew Cagney <cagney@redhat.com>
* elf.c	(vma_page_aligned_bias): New function.
	(assign_file_positions_except_relocs)
	(assign_file_positions_for_segments): Replace broken modulo
	arithmetic with call to vma_page_aligned_bias.
2004-02-13 14:58:58 +00:00
Alan Modra 7cdf177637 daily update 2004-02-12 23:00:05 +00:00
Andrew Cagney 7c1927339f 2004-02-11 Andrew Cagney <cagney@redhat.com>
* bfd-in.h: Update copyright.
	(bfd_tell): Change return type to file_ptr.
	* bfd-in2.h: Re-generate.
	* cache.c: Update copyright.
	(bfd_cache_lookup_worker): Use real_fseek, do not cast offset
	parameter.
	(close_one): Use real_ftell.
	* bfdio.c: Update copyright.
	(real_ftell, real_fseek): New functions.
	(bfd_tell): Use real_fseek and real_ftell, change return type to
	file_ptr.
	(bfd_seek): Use real_ftell and real_fseek, change type of
	file_position to a file_ptr.
	* libbfd-in.h: Update copyright.
	(real_ftell, real_fseek): Declare.
	* libbfd.h: Re-generate.
2004-02-11 23:23:20 +00:00
Alan Modra 63338fd920 daily update 2004-02-11 23:00:05 +00:00
Andrew Cagney c1ea0c0914 * config.in: Re-generate. 2004-02-11 22:05:35 +00:00
Andrew Cagney 1012372a47 2004-02-11 Andrew Cagney <cagney@redhat.com>
* configure.in (AC_CHECK_FUNCS): Check for ftello, ftello64,
	fseeko and fseeko64.  Determine bfd_file_ptr.
	* configure: Re-generate.
2004-02-11 22:01:00 +00:00
Alan Modra 3ab2a9a6b9 daily update 2004-02-10 23:00:05 +00:00
Alan Modra f80e2ec4e8 daily update 2004-02-09 23:00:05 +00:00
Nick Clifton 3255318a04 Add support for relaxing the 32bit ldc/stc instructions. 2004-02-09 12:15:57 +00:00
Nick Clifton 0d5f99947b Catch GOT offsets for a symbol which have no associated GOT subsection. 2004-02-09 10:30:13 +00:00
Richard Sandiford 174fd7f955 * bfd-elf.h (elf_backend_name_local_section_symbols): New hook.
* elf.c (swap_out_syms): Use it to decide whether local section
	symbols should be named.
	* elfxx-target.h (elf_backend_name_local_section_symbols): New macro.
	* elfxx-mips.h (_bfd_mips_elf_name_local_section_symbols): Declare.
	(elf_backend_name_local_section_symbols): Define.
	* elfxx-mips.c (_bfd_mips_elf_name_local_section_symbols): New.
2004-02-09 08:04:00 +00:00
Alan Modra 57e8e62f46 daily update 2004-02-08 23:00:05 +00:00
Alan Modra fff48208c9 daily update 2004-02-07 23:00:05 +00:00
Alan Modra 5cbf0477c5 daily update 2004-02-06 23:00:04 +00:00
Alan Modra 862c7bbf1d daily update 2004-02-05 23:00:05 +00:00
Alan Modra f9dc10dd9b daily update 2004-02-04 23:00:04 +00:00
Alan Modra e82850bce4 daily update 2004-02-03 23:00:06 +00:00
Alan Modra 0399f61a44 daily update 2004-02-02 23:00:06 +00:00
Alan Modra a313c320d4 daily update 2004-02-01 23:00:06 +00:00
Alan Modra 3910f4f7a7 daily update 2004-01-31 23:00:05 +00:00
H.J. Lu 03609792ae 2004-01-30 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_relax_brl): New function.
	(elfNN_ia64_relax_section): Optimize brl to br during the relax
	finalize pass.
2004-01-30 23:13:28 +00:00
Alan Modra 5bbce64e0e daily update 2004-01-30 23:00:35 +00:00
Alexandre Oliva ea01195e38 * elf32-frv.c (elf32_frv_always_size_sections): Initialize pointer
to bfd_link_hash_entry passed by reference to
_bfd_generic_link_add_one_symbol.
2004-01-30 21:11:37 +00:00
Alan Modra 1a40fbf0f6 daily update 2004-01-29 23:00:06 +00:00
Alan Modra 98c6820a65 daily update 2004-01-28 23:00:07 +00:00
Alan Modra 26b24bd6a7 daily update 2004-01-27 23:00:05 +00:00
Alan Modra ffc0f4c440 daily update 2004-01-26 23:00:06 +00:00
H.J. Lu 838e70c548 2004-01-25 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_relocate_section): Disallow imm
	relocations against dynamic symbols.
2004-01-26 20:32:08 +00:00
Alan Modra f832a4191d daily update 2004-01-25 23:00:05 +00:00
Alan Modra c2f1a72101 daily update 2004-01-25 02:42:20 +00:00
Alan Modra 3835ff9bee daily update 2004-01-23 23:00:05 +00:00
Daniel Jacobowitz 4f199be3eb * elf32-arm.h (elf32_arm_check_relocs): Revert part of 2004-01-13
change.
2004-01-23 16:51:48 +00:00
Alan Modra 8a58e4e85f daily update 2004-01-22 23:00:06 +00:00
Alan Modra afd82b6fec daily update 2004-01-21 23:00:07 +00:00
Nick Clifton 28d39d1a3a Stop indexed move byte instructions from being relaxed. 2004-01-21 11:17:53 +00:00
Alan Modra fd4a7be66b daily update 2004-01-20 23:00:06 +00:00