bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/17592] x86-64 linker generates wrong PLT for large model


From: matz at suse dot de
Subject: [Bug ld/17592] x86-64 linker generates wrong PLT for large model
Date: Tue, 18 Nov 2014 14:45:47 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=17592

--- Comment #5 from Michael Matz <matz at suse dot de> ---
(In reply to H.J. Lu from comment #4)
> When there is a large readonly section,  it makes no differences between
> 
> text, plt, readonly, got
> 
> and
> 
> text, readonly, plt, got
> 
> since text needs to reach plt and plt needs to reach got.

Yes, but text reaching PLT is trivial with the large code model.  But PLT
reaching GOT requires changing the PLT layout.  The reason for my idea
of moving the PLT was to avoid doing that.  And with a large readonly only
the latter layout achieves that.  So I think that should be the default layout.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]