[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: |
Tue, 18 Nov 2014 14:57:21 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=17592
--- Comment #6 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.
Putting readonly data between text makes this even worse:
https://sourceware.org/bugzilla/show_bug.cgi?id=16685
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/17592] New: x86-64 linker generates wrong PLT for large model, hjl.tools at gmail dot com, 2014/11/12
- [Bug ld/17592] x86-64 linker generates wrong PLT for large model, matz at suse dot de, 2014/11/17
- [Bug ld/17592] x86-64 linker generates wrong PLT for large model, hjl.tools at gmail dot com, 2014/11/17
- [Bug ld/17592] x86-64 linker generates wrong PLT for large model, matz at suse dot de, 2014/11/18
- [Bug ld/17592] x86-64 linker generates wrong PLT for large model, hjl.tools at gmail dot com, 2014/11/18
- [Bug ld/17592] x86-64 linker generates wrong PLT for large model, matz at suse dot de, 2014/11/18
- [Bug ld/17592] x86-64 linker generates wrong PLT for large model,
hjl.tools at gmail dot com <=
- [Bug ld/17592] x86-64 linker generates wrong PLT for large model, hjl.tools at gmail dot com, 2014/11/18
- [Bug ld/17592] x86-64 linker generates wrong PLT for large model, evandro at yahoo dot com, 2014/11/18