SHA256
1
0
forked from pool/systemtap
OBS User unknown 2007-02-15 17:08:01 +00:00 committed by Git OBS Bridge
parent e6492ee021
commit 10c188eeb6
4 changed files with 47 additions and 1 deletions

View File

@ -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);

View File

@ -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) { \

View File

@ -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

View File

@ -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)