PATCH: PR ld/9679: Linker doesn't merge visibility of weak symbol

H.J. Lu hjl.tools@gmail.com
Mon Dec 22 19:06:00 GMT 2008


Hi,

When we skip a weak definition, we failed to merge its visibility. This
patch fixes it.

-- 
H.J.
---

2008-12-22  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/9679
	* elflink.c (elf_merge_st_other): New.
	(_bfd_elf_merge_symbol): Use it on skipped weak definitions and
	hide them if needed.
	(elf_link_add_object_symbols): Updated.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bfd-weak-1.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20081222/44f69a1c/attachment.ksh>


More information about the Binutils mailing list