[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release
From: |
Paul Pluzhnikov |
Subject: |
Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"? |
Date: |
Mon, 21 Mar 2011 16:16:00 -0700 |
On Mon, Mar 21, 2011 at 4:00 PM, Lassi Tuura <address@hidden> wrote:
>>>> 1. On many distributions, _dl_debug_state compiles to a single 'ret'.
...
> As long as _dl_debug_state() has enough space to patch in the jump to our
> code
A single 'ret' is a single byte, which isn't enough space to patch anything
(which was my point).
> The dynamic linkers I looked seem to be built with enough code padding
> that there's space to replace the ret with a jump.
You are likely saved by '-falign-functions=16', which leaves you 15 bytes
to play with.
You can't count on it though, and I believe that I *have* seen dynamic
loaders where there literally was only one byte available.
--
Paul Pluzhnikov
- [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Evan Jones, 2011/03/18
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Arun Sharma, 2011/03/18
- [Libunwind-devel] Re: Bug fixes in libunwind git = make another "release"?, Ken Werner, 2011/03/20
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Lassi Tuura, 2011/03/21
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Paul Pluzhnikov, 2011/03/21
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Paul Pluzhnikov, 2011/03/21
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Lassi Tuura, 2011/03/21
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Paul Pluzhnikov, 2011/03/21
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Lassi Tuura, 2011/03/21
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?,
Paul Pluzhnikov <=
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Lassi Tuura, 2011/03/22
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Joe Damato, 2011/03/23
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Arun Sharma, 2011/03/23
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Joe Damato, 2011/03/23
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Paul Pluzhnikov, 2011/03/23
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Arun Sharma, 2011/03/21
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Lassi Tuura, 2011/03/21
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Konstantin Belousov, 2011/03/21
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Arun Sharma, 2011/03/21
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Lassi Tuura, 2011/03/22