This is the mail archive of the
frysk@sources.redhat.com
mailing list for the frysk project.
libunwind changes
- From: Andrew Cagney <cagney at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: frysk <frysk at sourceware dot org>
- Date: Thu, 03 May 2007 09:52:22 -0400
- Subject: libunwind changes
Jan,
I was looking through frysk's downstream copy of libunwind and noticed
one or two recent changes. I'm just wondering if they made it upstream
to the official repo (well perhaps not the PPC changes :-).
Andrew
2007-04-05 Jan Kratochvil <jan.kratochvil@redhat.com>
* src/hppa/getcontext.S, src/hppa/setcontext.S,
src/hppa/siglongjmp.S,
src/ia64/Ginstall_cursor.S, src/ia64/Linstall_cursor.S,
src/ia64/dyn_info_list.S, src/ia64/getcontext.S, src/ia64/longjmp.S,
src/ia64/setjmp.S, src/ia64/siglongjmp.S, src/ia64/sigsetjmp.S,
src/ppc64/longjmp.S, src/ppc64/siglongjmp.S, src/x86/longjmp.S,
src/x86/siglongjmp.S, src/x86_64/longjmp.S, src/x86_64/setcontext.S,
src/x86_64/siglongjmp.S: Stack should be non-executable, for
SELinux.
* tests/test-ptrace.c (target_pid_kill): New function.
(target_pid, main): TARGET_PID made static, for target_pid_kill ().
(main): Register target_pid_kill () for atexit(3).
* tests/ia64-test-setjmp.c (doit): New forward declaration.
(doit_pointer): New function pointer variable initialized to DOIT.
(doit): Self-call made by an unoptimizable volatile indirect call.
* src/Makefile.am (LIBRARIES_cdep, lib_LTLIBRARIES_cdep_setjmp):
Removed, moved into ...
(lib_LTLIBRARIES_cdep) ... here to fix libtool --disable-static.
(libunwind_ptrace_a_SOURCES): Renamed to ...
(libunwind_ptrace_la_SOURCES) ... here to fix libtool
--disable-static.
(install-exec-hook): Fixed for conditional compilations.
(lib_LIBRARIES): Removed.
(lib_LTLIBRARIES): Updated for removed
`lib_LTLIBRARIES_cdep_setjmp'.
(EXTRA_DIST): Updated for new renamed `libunwind_ptrace_la_SOURCES'.
* tests/Makefile.am (test_ptrace_LDADD): Updated for libtool.
2007-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
* acinclude.m4, config/compile, config/config.guess,
config/config.sub,
config/depcomp, config/install-sh, config/ltmain.sh, config/missing,
config/mkinstalldirs: Removed the autotools generated files.
* .cvsignore: `config' is no longer a repository stored directory.
* include/libunwind-ppc64.h (UNW_TDEP_CURSOR_LEN): Fixed for
assert()s.
* include/tdep-ppc64/libunwind_i.h (mempool.h): Version update
even for
the ppc64 architecture.
* src/Makefile.am (ppc64): Version forward-ported the ppc64 port.
* src/ppc64/Ginit.c (ppc64_local_addr_space_init): Removed VALIDATE
initialization as it is no longer a cross-architecture field.
* src/ppc64/Lcreate_addr_space.c, src/ppc64/Lget_proc_info.c,
src/ppc64/Lget_save_loc.c, src/ppc64/Lglobal.c, src/ppc64/Linit.c,
src/ppc64/Linit_local.c, src/ppc64/Linit_remote.c,
src/ppc64/Lis_signal_frame.c, src/ppc64/Lregs.c,
src/ppc64/Lresume.c,
src/ppc64/Lstep.c: New files.
* src/ppc64/setcontext.S: Removed file as it had invalid unused
content. * src/ppc64/siglongjmp.S (_UI_siglongjmp_cont): New stub
function.
* tests/flush-cache.S (flush_cache): New stub function for ppc64.
* tests/test-ptrace-stepper.c (lockup): New ppc64 and crossplatform
implementations.
* tests/Gtest-dyn1.c, tests/Gtest-resume-sig.c,
tests/test-async-sig.c,
tests/test-ptrace.c: Fixed lockups on broken libunwind (as ppc64
is).