This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] [BZ #18078] FAIL: elf/check-localplt with ld from binutils 2.26
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Tue, 10 Mar 2015 15:21:17 -0700 (PDT)
- Subject: Re: [PATCH] [BZ #18078] FAIL: elf/check-localplt with ld from binutils 2.26
- Authentication-results: sourceware.org; auth=none
- References: <20150309202636 dot GA24131 at intel dot com>
I don't think this is the way to do it. For those cases it is mandatory
that libc is actually using the PLT entry, so we don't want a check that
would pass if libc stopped using it at all. Perhaps instead there is a way
to modify scripts/localplt.awk and/or scripts/check-localplt.awk so that
they will grok the new linker's output as constituting use of a PLT entry.
Maybe a GLOB_DAT reloc to a symbol that's STT_FUNC is a close enough proxy?