https://sourceware.org/bugzilla/show_bug.cgi?id=17592
--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Michael Matz from comment #5) > (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. I also want to support larger code size in small model. Put .plt after .text will help small model. I will implement large PLT for large model. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils