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: hjl.tools at gmail dot com
Subject: [Bug ld/17592] x86-64 linker generates wrong PLT for large model
Date: Mon, 17 Nov 2014 20:26:36 +0000

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

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Michael Matz from comment #1)
> Back in http://www.sourceware.org/ml/binutils/2006-03/msg00276.html
> I suggested to place .plt after .text so that PLT and GOT are nearer
> to each other.  In that case the large PLT layout would only need to
> be used if there were more that 100 million PLT slots (and GOT entry).
> 

It is an interesting idea.  If we place .plt just after .text, there
may be readonly sections before .got, the distance between .plt and
.got.plt can still be big.  If we place .plt just before .got, the
text segment will have text, readonly data and followed by text. Do
we want to do that?

-- 
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]