[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/10433] Latest ld fails to link ldconfig properly
From: |
hjl dot tools at gmail dot com |
Subject: |
[Bug ld/10433] Latest ld fails to link ldconfig properly |
Date: |
23 Jul 2009 13:29:10 -0000 |
------- Additional Comments From hjl dot tools at gmail dot com 2009-07-23
13:29 -------
(In reply to comment #11)
> Hi H.J.
>
> Will the uploaded patch work ?
>
I am afraid it is wrong. You have to duplicate the whole
logic in elf_link_output_extsym:
if ((h->type == STT_GNU_IFUNC
&& h->def_regular
&& !finfo->info->relocatable)
|| ((h->dynindx != -1
|| h->forced_local)
&& ((finfo->info->shared
&& (ELF_ST_VISIBILITY (h->other) == STV_DEFAULT
|| h->root.type != bfd_link_hash_undefweak))
|| !h->forced_local)
&& elf_hash_table (finfo->info)->dynamic_sections_created))
{
Otherwise, you will miss the || part. Like I said, the backend is
the wrong place to fix this bug.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
http://sourceware.org/bugzilla/show_bug.cgi?id=10433
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug ld/10433] Latest ld fails to link ldconfig properly, (continued)
- [Bug ld/10433] Latest ld fails to link ldconfig properly, hjl dot tools at gmail dot com, 2009/07/22
- [Bug ld/10433] Latest ld fails to link ldconfig properly, hjl dot tools at gmail dot com, 2009/07/22
- [Bug ld/10433] Latest ld fails to link ldconfig properly, cvs-commit at gcc dot gnu dot org, 2009/07/22
- [Bug ld/10433] Latest ld fails to link ldconfig properly, hjl dot tools at gmail dot com, 2009/07/22
- [Bug ld/10433] Latest ld fails to link ldconfig properly, hjl dot tools at gmail dot com, 2009/07/22
- [Bug ld/10433] Latest ld fails to link ldconfig properly, hjl dot tools at gmail dot com, 2009/07/22
- [Bug ld/10433] Latest ld fails to link ldconfig properly, hjl dot tools at gmail dot com, 2009/07/22
- [Bug ld/10433] Latest ld fails to link ldconfig properly, nickc at redhat dot com, 2009/07/23
- [Bug ld/10433] Latest ld fails to link ldconfig properly, nickc at redhat dot com, 2009/07/23
- [Bug ld/10433] Latest ld fails to link ldconfig properly, hjl dot tools at gmail dot com, 2009/07/23
- [Bug ld/10433] Latest ld fails to link ldconfig properly,
hjl dot tools at gmail dot com <=
- [Bug ld/10433] Latest ld fails to link ldconfig properly, nickc at redhat dot com, 2009/07/27
- [Bug ld/10433] Latest ld fails to link ldconfig properly, nickc at redhat dot com, 2009/07/27
- [Bug ld/10433] Latest ld fails to link ldconfig properly, hjl dot tools at gmail dot com, 2009/07/27
- [Bug ld/10433] Latest ld fails to link ldconfig properly, amodra at bigpond dot net dot au, 2009/07/29
- [Bug ld/10433] Latest ld fails to link ldconfig properly, hjl dot tools at gmail dot com, 2009/07/30
- [Bug ld/10433] Latest ld fails to link ldconfig properly, hjl dot tools at gmail dot com, 2009/07/30
- [Bug ld/10433] Latest ld fails to link ldconfig properly, amodra at bigpond dot net dot au, 2009/07/30
- [Bug ld/10433] Latest ld fails to link ldconfig properly, hjl dot tools at gmail dot com, 2009/07/30