On 21.03.2022 12:57, Roger Pau Monné wrote:
> On Mon, Mar 21, 2022 at 12:46:54PM +0100, Jan Beulich wrote:
>> The initial three entries in .got.plt are "static", i.e. present
>> independent of actual entries allocation of which is triggered by
>> respective relocations. When no real entries are needed, halfway recent
>> ld discards the "static" portion of the table as well, but older GNU ld
>> fails to do so.
>
> Do you know what this 'static' entries refer to?
I didn't take the time to look this up, and I don't know off the top of
my head.
>> Fixes: dedb0aa42c6d ("x86/build: use --orphan-handling linker option if
>> available")
>> Reported-by: Julien Grall <[email protected]>
>> Signed-off-by: Jan Beulich <[email protected]>
>
> Reviewed-by: Roger Pau Monné <[email protected]>
Thanks.
Jan