[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: |
30 Jul 2009 16:50:27 -0000 |
------- Additional Comments From hjl dot tools at gmail dot com 2009-07-30
16:50 -------
If all relocations against an IFUNC symbol are in the same file
where it is defined, the ref_regular field may not be set. I
changed the x86 linker to set it properly for IFUNC symbols. We
need to do it. Otherwise we will run into this bug. If not all
backends need it, we can change elflink.c from
if ((h->type == STT_GNU_IFUNC
&& h->def_regular
&& !finfo->info->relocatable)
to
if ((h->type == STT_GNU_IFUNC
&& !finfo->info->relocatable
&& bed->need_finish_dynamic_ifunc_symbol (h))
It will be default to h->def_regular. I can provide a patch if it is
OK.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|SUSPENDED |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, 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, 2009/07/23
- [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 <=
- [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