OBS User unknown 2007-06-07 11:15:07 +00:00 committed by Git OBS Bridge
parent 369946e363
commit d439061b98
3 changed files with 68 additions and 19 deletions

View File

@ -1,3 +1,36 @@
--- src/ia64/Gcreate_addr_space.c
+++ src/ia64/Gcreate_addr_space.c
@@ -33,14 +33,7 @@
#ifdef UNW_LOCAL_ONLY
return NULL;
#else
- unw_addr_space_t as = malloc (sizeof (*as));
-
- if (!as)
- return NULL;
-
- memset (as, 0, sizeof (*as));
-
- as->acc = *a;
+ unw_addr_space_t as;
/*
* IA-64 supports only big or little-endian, not weird stuff like
@@ -51,6 +44,14 @@
&& byte_order != __BIG_ENDIAN)
return NULL;
+ as = malloc (sizeof (*as));
+ if (!as)
+ return NULL;
+
+ memset (as, 0, sizeof (*as));
+
+ as->acc = *a;
+
if (byte_order == 0)
/* use host default: */
as->big_endian = (__BYTE_ORDER == __BIG_ENDIAN);
--- src/x86_64/Gresume.c
+++ src/x86_64/Gresume.c
@@ -35,6 +35,7 @@
@ -35,6 +68,15 @@
endif
check_SCRIPTS_cdep = run-ptrace-mapper run-ptrace-misc
check_PROGRAMS_cdep = Gtest-bt Ltest-bt Gtest-exc Ltest-exc \
@@ -57,8 +56,6 @@
noinst_PROGRAMS = $(noinst_PROGRAMS_common) $(noinst_PROGRAMS_cdep) \
$(noinst_PROGRAMS_arch)
-Lia64_test_readonly_SOURCES = Lia64-test-readonly.c ia64-test-readonly-asm.S
-Gia64_test_readonly_SOURCES = Gia64-test-readonly.c ia64-test-readonly-asm.S
Lia64_test_stack_SOURCES = Lia64-test-stack.c ia64-test-stack-asm.S \
ia64-test-stack.h
Gia64_test_stack_SOURCES = Gia64-test-stack.c ia64-test-stack-asm.S \
--- tests/Makefile.in
+++ tests/Makefile.in
@@ -73,9 +73,6 @@

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 6 14:03:41 CEST 2007 - schwab@suse.de
- Fix memory leak.
-------------------------------------------------------------------
Thu Jan 26 01:59:01 CET 2006 - schwab@suse.de

View File

@ -1,21 +1,21 @@
#
# spec file for package libunwind (Version 0.98.5)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libunwind
BuildRequires: gcc-c++
URL: http://www.hpl.hp.com/research/linux/libunwind/
URL: http://savannah.nongnu.org/projects/libunwind/
Summary: Unwind Library
Version: 0.98.5
Release: 8
Release: 59
Group: System/Base
License: X11/MIT
Source: libunwind-%{version}.tar.gz
@ -31,7 +31,7 @@ call chain of a program.
Authors:
--------
David Mosberger <davidm@hpl.hp.com>
David Mosberger <David.Mosberger@acm.org>
%package devel
Summary: Unwind library
@ -94,7 +94,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libunwind-*.so
%doc %{_mandir}/man?/*
%changelog -n libunwind
%changelog
* Wed Jun 06 2007 - schwab@suse.de
- Fix memory leak.
* Thu Jan 26 2006 - schwab@suse.de
- Run ldconfig.
* Wed Jan 25 2006 - mls@suse.de