This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix a linker segfault for PPC sdata


On Tue, May 17, 2005 at 05:28:18PM -0400, Daniel Jacobowitz wrote:
> 2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
> 
> 	* bfd/elf32-ppc.c (struct ppc_elf_link_hash_entry): Add new field
> 	has_sda_refs.
> 	(ppc_elf_copy_indirect_symbol): Copy has_sda_refs.
> 	(ppc_elf_check_relocs): Set has_sda_refs.
> 	(ppc_elf_adjust_dynamic_symbol): Check has_sda_refs before eliminating
> 	copy relocations.  Use has_sda_refs to place variables in .sbss.
> 	(ppc_elf_finish_dynamic_symbol): Use has_sda_refs to place variables in
> 	.sbss.
> 
> 2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
> 
> 	* ld-powerpc/sdalib.s, ld-powerpc/sdadyn.s, ld-powerpc/sdadyn.d: New
> 	files.
> 	* ld-powerpc/powerpc.exp: Run the new test.

OK, thanks.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]