From patchwork Mon Jul 31 13:58:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wilco Dijkstra X-Patchwork-Id: 21824 Received: (qmail 18976 invoked by alias); 31 Jul 2017 13:58:34 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 18955 invoked by uid 89); 31 Jul 2017 13:58:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.8 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:5181 X-HELO: EUR01-VE1-obe.outbound.protection.outlook.com From: Wilco Dijkstra To: "libc-alpha@sourceware.org" CC: nd Subject: [PATCH][AArch64] Add unwind info to __libc_start_main Date: Mon, 31 Jul 2017 13:58:28 +0000 Message-ID: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Wilco.Dijkstra@arm.com; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB6PR0801MB2053; 7:/o7KgYQWQ4h2/ibqm+LCFAZR9kdZNhycgbKeN6K0AiP5gkh1EBgTkq4/pNvyogjdc+9sPeViyqByjPn6om1cnDUkCergRsflXRI4jgcqVzkaRdhH4XxSZaEhgicsulumgEMRopeU6nNZEiYoMIZU60YRFqX+R5/QnyZVQnX2iMAJHpVFP69mrdmh9OA4m0VamwEe9/3REK9r4qH9SnMHLMdJA5/MCrllXjpxm1EFLVwv9cC8WHvPrjsXMQRErxmHbhpxvz/7KZg/ExL2J/cma+Q309qgwL1406F0hoA/11dXuJjOJiKuPcG67TAmZObGXTH16/iWc2nLQjwDaFHgDiOD3/E2GrL5YeFx2KUYXWtWrz8+FB8DNufZKike2yWe/0iR2tl7FD21hvYAVZJXGhsux8ZeWN31IXdDtJidTLEBxF3YFjneds74jE3L+vAwWCqpcV4y/m2XiKbvS1kjou/pw9wimPrvwKAORkgaI46Y0Y4FpW4KXTAqdsKH9uPrtb789mKskPiqi2yEv2Sw/74V8fTn2UNhS0XGWTYH7ussiTQMFrq+0aACPE2hNOleGU772dwDrD/LZnifG0FNKNwzEzyULyLwLDxqXaBnDyzuw7Truu7EUPkpPmJjx5WDLWrZkRLFMRm6qCw2ByPh8xCT6zQUX7PHJLOoqtrliaYexqbYK3ZQRVyaiaPESa9K95cBAy/PSkFnHlDZLxPTM9WSgNWYZ/sV373ipztMWsz8n+OYcxQFiFqj5LOGsqkNqFKgSYrpgn8hwlSGgWPran86yye5W8wufBoNhu0/YsU= x-ms-office365-filtering-correlation-id: 21c48159-291c-4f53-27b9-08d4d81c38a0 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DB6PR0801MB2053; x-ms-traffictypediagnostic: DB6PR0801MB2053: nodisclaimer: True x-exchange-antispam-report-test: UriScan:(180628864354917); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(3002001)(6055026)(6041248)(20161123558100)(20161123562025)(20161123564025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB6PR0801MB2053; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB6PR0801MB2053; x-forefront-prvs: 03853D523D x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39850400002)(39410400002)(39400400002)(39860400002)(39840400002)(39450400003)(377424004)(189002)(199003)(54534003)(97736004)(105586002)(106356001)(6916009)(2351001)(101416001)(33656002)(5250100002)(7736002)(305945005)(4326008)(110136004)(38730400002)(8676002)(5640700003)(72206003)(81156014)(3660700001)(6436002)(8936002)(9686003)(53936002)(81166006)(478600001)(2906002)(25786009)(54356999)(99286003)(55016002)(3280700002)(7696004)(14454004)(74316002)(3846002)(102836003)(6116002)(5660300001)(50986999)(2900100001)(189998001)(68736007)(66066001)(6506006)(2501003)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0801MB2053; H:DB6PR0801MB2053.eurprd08.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Jul 2017 13:58:28.5223 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0801MB2053 Add unwind info to __libc_start_main so that unwinding continues one extra level to _start. ChangeLog: 2017-07-31 Wilco Dijkstra * sysdeps/aarch64/Makefile: Build libc-start.c with -fexceptions. diff --git a/sysdeps/aarch64/Makefile b/sysdeps/aarch64/Makefile index 562c1373aebee6ffb4ff5c2071a23d007a8e07ba..81bb01923d18856b609632251a83d93a6e995b46 100644 --- a/sysdeps/aarch64/Makefile +++ b/sysdeps/aarch64/Makefile @@ -11,6 +11,8 @@ endif ifeq ($(subdir),csu) gen-as-const-headers += tlsdesc.sym + +CFLAGS-libc-start.c += -fexceptions endif ifeq ($(subdir),gmon)