From 10c188eeb6b00d48c77dc7ab53e8572e5ad11d9d68baa471e81c640f855098ed Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 15 Feb 2007 17:08:01 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemtap?expand=0&rev=5 --- systemtap-s390x-probe-at-function-entry.diff | 15 +++++++++++++++ systemtap-s390x-store_deref-fix.diff | 13 +++++++++++++ systemtap.changes | 10 ++++++++++ systemtap.spec | 10 +++++++++- 4 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 systemtap-s390x-probe-at-function-entry.diff create mode 100644 systemtap-s390x-store_deref-fix.diff diff --git a/systemtap-s390x-probe-at-function-entry.diff b/systemtap-s390x-probe-at-function-entry.diff new file mode 100644 index 0000000..0fa60a5 --- /dev/null +++ b/systemtap-s390x-probe-at-function-entry.diff @@ -0,0 +1,15 @@ +--- tapsets.cxx.orig 2007-01-31 13:22:50.000000000 -0800 ++++ tapsets.cxx 2007-01-31 14:12:48.000000000 -0800 +@@ -2413,9 +2413,9 @@ + } + else + { +-#ifdef __ia64__ +- // In IA64 platform function probe point is set at its +- // entry point rather than prologue end pointer ++#if defined (__ia64__) || defined (__s390x__) ++ // On IA64 and s390x platforms function probe point is set at its ++ // entry point rather than prologue end pointer. + query_statement (fi.name, fi.decl_file, fi.decl_line, + &fi.die, entrypc, q); + diff --git a/systemtap-s390x-store_deref-fix.diff b/systemtap-s390x-store_deref-fix.diff new file mode 100644 index 0000000..c1d3e77 --- /dev/null +++ b/systemtap-s390x-store_deref-fix.diff @@ -0,0 +1,13 @@ +diff --git a/runtime/loc2c-runtime.h b/runtime/loc2c-runtime.h +index 7ed9d41..976bf64 100644 +--- a/runtime/loc2c-runtime.h ++++ b/runtime/loc2c-runtime.h +@@ -416,7 +416,7 @@ + _v; \ + }) + +-#define deref_store(size, addr, value) \ ++#define store_deref(size, addr, value) \ + ({ \ + int _bad = 0; \ + switch (size) { \ diff --git a/systemtap.changes b/systemtap.changes index df6365d..7dabdbf 100644 --- a/systemtap.changes +++ b/systemtap.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Feb 15 13:20:32 CET 2007 - tiwai@suse.de + +- fix a wrong name of store_deref definition (#245544) + +------------------------------------------------------------------- +Wed Feb 14 16:39:39 CET 2007 - tiwai@suse.de + +- fix the handling of function arguments on s390x (#245310) + ------------------------------------------------------------------- Tue Feb 6 14:51:54 CET 2007 - tiwai@suse.de diff --git a/systemtap.spec b/systemtap.spec index 90af5f4..15cde60 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -16,7 +16,7 @@ BuildRequires: gcc-c++ %define elfutils_version 0.125 License: GNU General Public License (GPL) Version: 0.5.8 -Release: 28 +Release: 31 Summary: Instrumentation System Group: Development/Tools/Debuggers URL: http://sourceware.org/systemtap/ @@ -27,6 +27,8 @@ Source1: elfutils-%{elfutils_version}-no-osl.tar.bz2 Patch: systap-elf-install.patch Patch1: elfutils-portability.patch Patch2: elfutils-0.125-build-fix.diff +Patch3: systemtap-s390x-probe-at-function-entry.diff +Patch4: systemtap-s390x-store_deref-fix.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -47,6 +49,8 @@ Authors: # %setup -n %{name}-%{package_version} -q -a1 %setup -n src -q -a1 %patch +%patch3 +%patch4 -p1 autoreconf -fi cd elfutils-%{elfutils_version} %patch1 -p1 @@ -75,6 +79,10 @@ rm -rf ${RPM_BUILD_ROOT} %dir %attr(0755,root,root) /var/cache/systemtap %changelog -n systemtap +* Thu Feb 15 2007 - tiwai@suse.de +- fix a wrong name of store_deref definition (#245544) +* Wed Feb 14 2007 - tiwai@suse.de +- fix the handling of function arguments on s390x (#245310) * Tue Feb 06 2007 - tiwai@suse.de - update to snapshot 20070203, bugfixes including: * add missing sockets tapset support (#239346)