Date: Thu, 31 May 2018 20:16:50 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 228574] GNU ld doesn't emit _end when linking with lld-linked libc.so Message-ID: <bug-228574-227-OFO0tsGcn2@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-228574-227@https.bugs.freebsd.org/bugzilla/> References: <bug-228574-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228574 --- Comment #4 from Mark Johnston <markj@FreeBSD.org> --- The solution proposed by the binutils developers is to emit _end, etc., onl= y in executables. To integrate that change, we'd have to remove _end from libc.s= o's version map. However, this change would require lld to adopt the same behaviour, since otherwise libc.so will use the internal definition of _end when linked with lld, which will always be wrong. lld also needs to be twea= ked to emit _end if libc.so contains an undefined _end symbol. Currently it will not emit _end in an executable if libc.so has an undefined reference to _en= d. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228574-227-OFO0tsGcn2>