[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.
- [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 <=
- [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, 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