[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] [PATCH 0/6] Enhance portability of libuwind
From: |
Ken Werner |
Subject: |
[Libunwind-devel] [PATCH 0/6] Enhance portability of libuwind |
Date: |
Thu, 27 Oct 2011 10:38:06 +0200 |
Hi,
These patches enhance the portability of libunwind. Especially for targets
that don't provide ucontext.h and dl_iterate_phdr functionality like Android.
Most of them are straight forward and very small. The third patch focuses on
removing dependencies to <link.h> in case of remote unwinding. Since it's
technically not required it can (and should) be avoided. This patch also fixes
some corner-case-bugs when the address ranges (start/end) are calculated. With
these patches applied I was able to sucessfully build libunwind with remote
unwinding capabilities for Gingerbread on ARM. I've also tested these patches
on X86_64 and Linux on ARM without regressions. As usual the changes can be
pulled from the following git tree:
git://git.linaro.org/people/kwerner/libunwind.git
Ken Werner (6):
Include <sys/mman.h> to have MAP_ANONYMOUS defined
UNW_REMOTE_ONLY fixes
Prevent the use of struct dl_phdr_info outside of dl_iterate_phdr
[ARM] Add support for systems that don't support ucontext.h
Define GNU and processor specific values for the Phdr p_type field
Add missing <signal.h> include directive
include/dwarf.h | 8 +++-
include/libunwind-arm.h | 18 +++++---
include/libunwind_i.h | 11 +++++
include/tdep-arm/libunwind_i.h | 2 +-
src/arm/Gglobal.c | 6 ++-
src/arm/Ginit.c | 37 ++++--------------
src/arm/Ginit_local.c | 4 +-
src/arm/Gresume.c | 54 +++++++++++++-------------
src/arm/init.h | 36 +++++++++---------
src/dwarf/Gfind_proc_info-lsb.c | 76 +++++++++++++++++++-------------------
src/ptrace/_UPT_find_proc_info.c | 50 ++++++++++---------------
tests/Gtest-dyn1.c | 2 +-
12 files changed, 148 insertions(+), 156 deletions(-)
Regards
Ken
--
1.7.5.4
- [Libunwind-devel] [PATCH 0/6] Enhance portability of libuwind,
Ken Werner <=
- [Libunwind-devel] [PATCH 1/6] Include <sys/mman.h> to have MAP_ANONYMOUS defined, Ken Werner, 2011/10/27
- [Libunwind-devel] [PATCH 5/6] Define GNU and processor specific values for the Phdr p_type field, Ken Werner, 2011/10/27
- [Libunwind-devel] [PATCH 6/6] Add missing <signal.h> include directive, Ken Werner, 2011/10/27
- [Libunwind-devel] [PATCH 2/6] UNW_REMOTE_ONLY fixes, Ken Werner, 2011/10/27
- [Libunwind-devel] [PATCH 4/6] [ARM] Add support for systems that don't support ucontext.h, Ken Werner, 2011/10/27
- [Libunwind-devel] [PATCH 3/6] Prevent the use of struct dl_phdr_info outside of dl_iterate_phdr, Ken Werner, 2011/10/27