PATCH: PR ld/4590: String merging breaks ia64 linker

Nick Clifton nickc@redhat.com
Tue Jun 19 10:38:00 GMT 2007


Hi H. J.

> bfd/
> 2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>
> 
> 	PR ld/4590
> 	* elfxx-ia64.c (sort_dyn_sym_info): Keep the valid got_offset
> 	when removing duplicated entries.
> 	(get_dyn_sym_info): Initialize the got_offset field to -1.
> 	Update call to sort_dyn_sym_info.
> 	(elfNN_ia64_relocate_section): Call sort_dyn_sym_info to sort
> 	array of addend and remove duplicates.
> 
> ld/testsuite/
> 2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>
> 
> 	PR ld/4590
> 	* ld-ia64/merge1.d: New.
> 	* ld-ia64/merge1.s: Likewise.
> 	* ld-ia64/merge2.d: Likewise.
> 	* ld-ia64/merge2.s: Likewise.
> 	* ld-ia64/merge3.d: Likewise.
> 	* ld-ia64/merge3.s: Likewise.
> 	* ld-ia64/merge4.d: Likewise.
> 	* ld-ia64/merge4.s: Likewise.
> 	* ld-ia64/merge5.d: Likewise.
> 	* ld-ia64/merge5.s: Likewise.

Approved - please apply.

Cheers
   Nick



More information about the Binutils mailing list