platform/upstream/libunwind.git
2 years agoApplied -fcommon for HWASan build 11/265911/1 accepted/tizen_6.5_base accepted/tizen_6.5_base_tool tizen_6.5_base accepted/tizen/6.5/base/20230714.002544 accepted/tizen/6.5/base/tool/20211110.003142 submit/tizen_6.5_base/20211108.033831
Andrey Kazmin [Wed, 24 Mar 2021 13:31:40 +0000 (16:31 +0300)]
Applied -fcommon for HWASan build

Change-Id: Icd877497348287236a59440dae400cb2c2845a63
Signed-off-by: Andrey Kazmin <a.kazmin@partner.samsung.com>
(cherry picked from commit 0b57fb5ddd871b82c3ffaeb384364c64f7e38a9a)

3 years agotizen: bump version to v1.3.1 98/248198/1 accepted/tizen/6.5/base/tool/20211027.120446 accepted/tizen/base/tool/20201125.225050 submit/tizen_6.5_base/20211026.180901 submit/tizen_6.5_base/20211027.183101 submit/tizen_6.5_base/20211027.200801 submit/tizen_base/20201123.135715 tizen_6.5.m2_release
Mateusz Moscicki [Mon, 23 Nov 2020 12:20:32 +0000 (13:20 +0100)]
tizen: bump version to v1.3.1

Change-Id: Ibe052962ebe5aaba882a73c6ee4584815cc5a068

3 years agoMerge branch 'upstream' into tizen_base 97/248197/1
Mateusz Moscicki [Mon, 23 Nov 2020 12:09:55 +0000 (13:09 +0100)]
Merge branch 'upstream' into tizen_base

Change-Id: I500e0821b3aa5268cb5860d9a4ba51d2b83acae9

3 years agoImported Upstream version 1.3.1 40/247940/1 upstream/1.3.1
Mateusz Moscicki [Mon, 16 Nov 2020 11:52:09 +0000 (12:52 +0100)]
Imported Upstream version 1.3.1

Change-Id: Idf8eb0e923b852f847825d6ad592c9e4d0274e68

6 years agodwarf/Gparser: fix crash during unwinding 24/161224/1 accepted/tizen_5.0_base accepted/tizen_5.5_base accepted/tizen_5.5_base_mobile_hotfix accepted/tizen_5.5_base_wearable_hotfix accepted/tizen_6.0_base accepted/tizen_6.0_base_tool accepted/tizen_6.0_base_tool_hotfix tizen_5.0_base tizen_5.5_base_mobile_hotfix tizen_5.5_base_wearable_hotfix tizen_5.5_tv tizen_6.0_base tizen_6.0_base_hotfix accepted/tizen/5.0/base/20181101.090315 accepted/tizen/5.5/base/20191030.081902 accepted/tizen/5.5/base/mobile/hotfix/20201023.084336 accepted/tizen/5.5/base/wearable/hotfix/20201023.080734 accepted/tizen/6.0/base/20201029.110930 accepted/tizen/6.0/base/20230713.142919 accepted/tizen/6.0/base/tool/20201029.112212 accepted/tizen/6.0/base/tool/hotfix/20201030.125016 accepted/tizen/6.0/base/tool/hotfix/20201102.090322 accepted/tizen/base/20180914.214614 submit/tizen_5.0_base/20181101.000001 submit/tizen_5.5_base/20191030.000001 submit/tizen_5.5_base_mobile_hotfix/20201023.171501 submit/tizen_5.5_base_wearable_hotfix/20201023.155601 submit/tizen_6.0_base/20201029.184801 submit/tizen_6.0_base_hotfix/20201030.192501 submit/tizen_6.0_base_hotfix/20201102.162701 submit/tizen_base/20180910.125249 tizen_5.5.m2_release tizen_6.0.m2_release
Konstantin Baladurin [Tue, 17 Oct 2017 18:27:53 +0000 (21:27 +0300)]
dwarf/Gparser: fix crash during unwinding

We should update locations of the registers after all of them will
be restored. Otherwise some locations will be incorrect.

For example if function stores ebp, edi, esi and ebx registers on
stack in its prologue, compiler can generate following unwind info:
DW_CFA_expression: r5 (ebp) (DW_OP_breg5 (ebp): 0)
DW_CFA_expression: r7 (edi) (DW_OP_breg5 (ebp): -4)
DW_CFA_expression: r6 (esi) (DW_OP_breg5 (ebp): -8)
DW_CFA_expression: r3 (ebx) (DW_OP_breg5 (ebp): -12)

In this case locations of the ebx and ebp will be calculated using
current ebp but locations of the esi and edi will be calculated using
previous (restored) one. Due to it their locations will be incorrect
and it could lead to crash if we will try to get esi or edi value.

This patch fixes this problem.

Origin: https://github.com/libunwind/libunwind/pull/44
Change-Id: I33595d23fbbe034820461c2161f26e5285342ff8

6 years agoApply ASLR for test binary - test-ptrace-misc, test-ptrace 13/143713/1 accepted/tizen_4.0_base tizen_4.0_base tizen_4.0_tv accepted/tizen/4.0/base/20170828.221034 accepted/tizen/base/20170814.055747 submit/tizen_4.0_base/20170828.000000 submit/tizen_4.0_base/20170828.000001 submit/tizen_base/20170811.051714 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m2_release
Kunhoon Baik [Wed, 9 Aug 2017 08:02:09 +0000 (17:02 +0900)]
Apply ASLR for test binary - test-ptrace-misc, test-ptrace

Change-Id: Ia2247fe65defb0b58917cede4138a28b36831a1b

6 years agotizen: bump version to v1.2 sandbox/klewandowski/upgrade-v1.2 accepted/tizen/4.0/base/20170811.092652 accepted/tizen/base/20170721.023426 submit/tizen/20170713.125122 submit/tizen_4.0_base/20170811.071500 submit/tizen_base/20170714.145411
Karol Lewandowski [Mon, 8 May 2017 16:12:14 +0000 (18:12 +0200)]
tizen: bump version to v1.2

This commit also adds .gbs.conf, which directs gbs to use original upstream
tags to build correct version.

6 years agobuild libunwind-tests package
Rafal Pietruch [Tue, 27 Dec 2016 13:53:00 +0000 (14:53 +0100)]
build libunwind-tests package

include test-ptrace tracer with test-ptrace-misc tracee
and run-ptrace-misc script to run test

Change-Id: I285f10660670832f74a30e78c7755afa20e1a280

Conflicts:
packaging/libunwind.spec

6 years agoptrace: Add support for GETREGSET
Frederic Berat [Thu, 12 May 2016 13:49:34 +0000 (15:49 +0200)]
ptrace: Add support for GETREGSET

Adding support for PTRACE_GETREGSET that is expected to replace
PTRACE_PEEK for newer architectures.

Origin: https://lists.nongnu.org/archive/html/libunwind-devel/2016-07/msg00001.html
Change-Id: I2e720e6697fbc1facf1d7547b398f5665b17731e
Signed-off-by: Frederic Berat <fberat@de.adit-jv.com>
6 years agoAdd -64bit package for .NET i586 build
Jiyoung Yun [Wed, 15 Mar 2017 10:01:06 +0000 (19:01 +0900)]
Add -64bit package for .NET i586 build

.NET runtime has a dependency with libunwind library.
There is no toolchain for i586 build in .NET runtime,
so to build it for i586,
it needs i586 package which contains x86_64 library.

Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Change-Id: I2fd0573987e8b6e216718935c2837f8966a8795d

6 years agoSwitching off -fno-common since it breaks build
Dongkyun, Son [Wed, 7 Sep 2016 05:32:24 +0000 (14:32 +0900)]
Switching off -fno-common since it breaks build

Change-Id: I6872fdcd14ddd49737d2a1a1929b32d260e7ccbe
Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
Signed-off-by: Chan Lee <chan45.lee@samsung.com>
6 years agopackaging: enable build for aarch64
Chanho Park [Fri, 22 Aug 2014 01:39:32 +0000 (10:39 +0900)]
packaging: enable build for aarch64

Change-Id: If257a96544e3748d89f67d7b30ea8a18e532d0a7
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
6 years agoresetting manifest requested domain to floor
Alexandru Cornea [Mon, 1 Jul 2013 16:40:15 +0000 (19:40 +0300)]
resetting manifest requested domain to floor

6 years agoSet license using %license
Anas Nashif [Sat, 11 May 2013 05:47:07 +0000 (01:47 -0400)]
Set license using %license

6 years agoadd changes
Anas Nashif [Tue, 30 Apr 2013 16:13:09 +0000 (09:13 -0700)]
add changes

6 years agoInitial import
Anas Nashif [Tue, 30 Apr 2013 16:12:08 +0000 (09:12 -0700)]
Initial import

6 years agoImported Upstream version 1.2 upstream/1.2
Karol Lewandowski [Fri, 26 May 2017 13:23:42 +0000 (15:23 +0200)]
Imported Upstream version 1.2

11 years agoImported Upstream version 1.1 submit/trunk/20130430.161055 submit/trunk/20130430.161110 upstream/1.1
Anas Nashif [Tue, 30 Apr 2013 12:18:06 +0000 (05:18 -0700)]
Imported Upstream version 1.1