Accepting request 490939 from home:marxin:branches:devel:tools
Fix issue seen by GCC7. OBS-URL: https://build.opensuse.org/request/show/490939 OBS-URL: https://build.opensuse.org/package/show/devel:tools/valgrind?expand=0&rev=156
This commit is contained in:
parent
9081475c40
commit
effc087fb2
44
fix-ppcl64-clobber-list.patch
Normal file
44
fix-ppcl64-clobber-list.patch
Normal file
@ -0,0 +1,44 @@
|
||||
Index: include/valgrind.h
|
||||
===================================================================
|
||||
--- include/valgrind.h (revision 16253)
|
||||
+++ include/valgrind.h (revision 16254)
|
||||
@@ -2708,7 +2708,7 @@
|
||||
#define __CALLER_SAVED_REGS \
|
||||
"lr", "ctr", "xer", \
|
||||
"cr0", "cr1", "cr2", "cr3", "cr4", "cr5", "cr6", "cr7", \
|
||||
- "r0", "r2", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", \
|
||||
+ "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", \
|
||||
"r11", "r12", "r13"
|
||||
|
||||
/* Macros to save and align the stack before making a function
|
||||
@@ -3264,7 +3264,7 @@
|
||||
#define __CALLER_SAVED_REGS \
|
||||
"lr", "ctr", "xer", \
|
||||
"cr0", "cr1", "cr2", "cr3", "cr4", "cr5", "cr6", "cr7", \
|
||||
- "r0", "r2", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", \
|
||||
+ "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", \
|
||||
"r11", "r12", "r13"
|
||||
|
||||
/* Macros to save and align the stack before making a function
|
||||
Index: coregrind/m_debuglog.c
|
||||
===================================================================
|
||||
--- coregrind/m_debuglog.c (revision 16253)
|
||||
+++ coregrind/m_debuglog.c (revision 16254)
|
||||
@@ -215,7 +215,7 @@
|
||||
:
|
||||
: "b" (block)
|
||||
: "cc","memory","cr0","ctr",
|
||||
- "r0","r2","r3","r4","r5","r6","r7","r8","r9","r10","r11","r12"
|
||||
+ "r0","r3","r4","r5","r6","r7","r8","r9","r10","r11","r12"
|
||||
);
|
||||
if (block[0] < 0)
|
||||
block[0] = -1;
|
||||
@@ -231,7 +231,7 @@
|
||||
: "=&r" (__res)
|
||||
: "i" (__NR_getpid)
|
||||
: "cc","memory","cr0","ctr",
|
||||
- "r0","r2","r4","r5","r6","r7","r8","r9","r10","r11","r12"
|
||||
+ "r0","r4","r5","r6","r7","r8","r9","r10","r11","r12"
|
||||
);
|
||||
return (UInt)__res;
|
||||
}
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 25 07:57:46 UTC 2017 - mliska@suse.cz
|
||||
|
||||
- Add fix-ppcl64-clobber-list.patch: fix clobber list on ppcl64le,
|
||||
it's backport of upstream patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 27 21:48:56 UTC 2016 - foss@grueninger.de
|
||||
|
||||
|
@ -36,6 +36,7 @@ Source0: http://valgrind.org/downloads/%{name}-%{version}.tar.bz2
|
||||
# svn di svn://svn.valgrind.org/vex/tags/VEX_3_5_0 svn://svn.valgrind.org/vex/branches/VEX_3_5_BRANCH > VEX_3_5_BRANCH.diff
|
||||
Patch1: jit-register-unregister.diff
|
||||
Patch2: armv6-support.diff
|
||||
Patch3: fix-ppcl64-clobber-list.patch
|
||||
BuildRequires: automake
|
||||
BuildRequires: docbook-xsl-stylesheets
|
||||
BuildRequires: docbook_4
|
||||
@ -110,6 +111,7 @@ but it has been successfully used to optimize several KDE applications.
|
||||
# needs porting to 3.11
|
||||
##%patch1
|
||||
%patch2
|
||||
%patch3
|
||||
|
||||
%build
|
||||
export FLAGS="%{optflags}"
|
||||
|
Loading…
Reference in New Issue
Block a user