This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Remove zero terminator for .eh_frame in libc.so [BZ #22053]


On Thu, Aug 31, 2017 at 6:01 PM, Alan Modra <amodra@gmail.com> wrote:
> On Thu, Aug 31, 2017 at 06:53:08AM -0700, H.J. Lu wrote:
>> elf/sofini.c has a zero terminator for .eh_frame in libc.so.  It was
>> added before -eh-frame-hdr is added to ld.  Since -eh-frame-hdr is
>> always used to build libc.so, zero terminator in elf/sofini.c can be
>> removed.
>
> This might be true, but the real problem is that elf/sofini.os appears
> on the libc.so link command line before -lgcc.
>

This has been fixed for glibc 2.27.


-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]