From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 73219 invoked by alias); 13 Jul 2017 10:52:54 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Received: (qmail 70968 invoked by uid 89); 13 Jul 2017 10:52:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.5 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=Hx-spam-relays-external:sk:EUR03-A, H*RU:sk:EUR03-A, HX-HELO:sk:EUR03-A, H*c:HHH X-HELO: EUR03-AM5-obe.outbound.protection.outlook.com Received: from mail-eopbgr30084.outbound.protection.outlook.com (HELO EUR03-AM5-obe.outbound.protection.outlook.com) (40.107.3.84) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 13 Jul 2017 10:52:46 +0000 Received: from VI1PR0801MB2031.eurprd08.prod.outlook.com (10.173.74.140) by AM5PR0802MB2388.eurprd08.prod.outlook.com (10.175.43.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.13; Thu, 13 Jul 2017 10:52:43 +0000 Received: from VI1PR0801MB2031.eurprd08.prod.outlook.com ([fe80::a9ee:7f10:b6a1:339a]) by VI1PR0801MB2031.eurprd08.prod.outlook.com ([fe80::a9ee:7f10:b6a1:339a%18]) with mapi id 15.01.1240.020; Thu, 13 Jul 2017 10:52:42 +0000 From: Tamar Christina To: "newlib@sourceware.org" CC: nd , Richard Earnshaw , "Marcus Shawcroft" Subject: [PATCH] [libgloss][AArch64] Fix link when nosys.specs is used to link Date: Thu, 13 Jul 2017 10:52:00 -0000 Message-ID: authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM5PR0802MB2388;7:6vWnI/HbUBjsx9XjFLDOwEQM9r+i6BYy46TlZzX7cUkUg2j8ZLh/U9zo/XkcN4RhHZ0Qht81V91+JlDWqwbb43yMIDjBUbQfLfwAcaa0wC8f38Fr5Klu+D7uOkzvvy9s68laxgaWvvgmjl4SI8xJHM0fZ8FORy9rXHoJ/3IpXnkH1vEdmUgZWb2z/q8vcTT84K3cXXKA1EfPPoWqokFseB5c3IlNsUSiZRgK5v6/VtnSTbDZYIAtSafFOaFBQoavRdp8UTAGZFM1fTsxGjQDpYmBWAZM9Ygcl6u55H5bBQTK1eORTfpHuB4yO+kdeYEFZfl4XQRWsNM17+J533zYj1nb2xWv2Lp3I9wby4QJ/1PXyyjDIM2WK+3yCZZ5AhlFztI9YgVg3E2sWFMKgugbndBkc82BsKsYdi+AVRiPIGWwnwHgstzweJ+QFFQTouBmZR7nk6fpTzYFSZ0lT8Wlpb1YCUFMzcsletbGH06fU4kQr36P1wTWcbX4Dh32zlGdzGE04Y2A3Jegbl/zbbe9bUiBES9Xt2757I/TPGOdPhU4SYtyOIaKXzuIkcLTDDIX3IZKyDOhS5kE/7LrikQ7tfbOtuDHes73e553BIHanYCUz0mCAwWyHBPJ0kbVKrfLEs4QsIlgLnzqkhnAzn4q+gN+BBNLKbM2JfhIld7L2CHyTozR0K12DQLrtgOVA+55xXioeLBoXZDzZDZo7YfA72LqYc+BOtBlwt68Wz7Uk7HjK+DqaINVLwapvC87voMvlPrp5eaG9F/0Qpuqdp3OOVqtrxcGPYy6ZbWQ7PAkY+Q= x-ms-office365-filtering-correlation-id: a68e58c7-9a59-4f12-6e6c-08d4c9dd49bc x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(48565401081)(300000503095)(300135400095)(2017052603031)(49563074)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:AM5PR0802MB2388; x-ms-traffictypediagnostic: AM5PR0802MB2388: nodisclaimer: True x-exchange-antispam-report-test: UriScan:(133145235818549)(236129657087228); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(102415395)(6040450)(601004)(2401047)(2017060910075)(5005006)(8121501046)(100000703101)(100105400095)(3002001)(10201501046)(93006095)(93001095)(6055026)(6041248)(20161123562025)(20161123558100)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:AM5PR0802MB2388;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:AM5PR0802MB2388; x-forefront-prvs: 0367A50BB1 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(39840400002)(39850400002)(39450400003)(39410400002)(39400400002)(39860400002)(53754006)(7696004)(5660300001)(189998001)(74316002)(86362001)(66066001)(81166006)(8676002)(1730700003)(8936002)(6916009)(6116002)(102836003)(3846002)(14454004)(3280700002)(2906002)(3660700001)(33656002)(38730400002)(478600001)(110136004)(53936002)(2351001)(50986999)(99936001)(6436002)(5250100002)(72206003)(2501003)(4326008)(6506006)(2900100001)(99286003)(54906002)(55016002)(7736002)(54356999)(25786009)(9686003)(305945005)(5640700003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM5PR0802MB2388;H:VI1PR0801MB2031.eurprd08.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/mixed; boundary="_002_VI1PR0801MB20313037AB7411E3EB4B8D0DFFAC0VI1PR0801MB2031_" MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jul 2017 10:52:42.6248 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0802MB2388 X-IsSubscribed: yes X-SW-Source: 2017/txt/msg00591.txt.bz2 --_002_VI1PR0801MB20313037AB7411E3EB4B8D0DFFAC0VI1PR0801MB2031_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-length: 373 Hi All, This patch fixes the issue where nosys.specs is used to link. e.g. The use of crt0 without any support for semihosting requested. The AArch64 crt0 was missing an #ifdef for the initialise_monitor_handles which was causing the link to fail. Sorry for missing this before. Ok for master? PS. I don't have commit access so if OK can someone apply? Thanks, Tamar= --_002_VI1PR0801MB20313037AB7411E3EB4B8D0DFFAC0VI1PR0801MB2031_ Content-Type: text/x-patch; name="nosys.patch" Content-Description: nosys.patch Content-Disposition: attachment; filename="nosys.patch"; size=567; creation-date="Thu, 13 Jul 2017 10:49:28 GMT"; modification-date="Thu, 13 Jul 2017 10:49:28 GMT" Content-Transfer-Encoding: base64 Content-length: 769 ZGlmZiAtLWdpdCBhL2xpYmdsb3NzL2FhcmNoNjQvY3J0MC5TIGIvbGliZ2xv c3MvYWFyY2g2NC9jcnQwLlMKaW5kZXggZWQ0ZGFmY2IxMGYwYjFjYzk5OWQ1 MDkyNmM0OTA2NTI4NWM2MTY1OC4uY2JmZjExYTQ5MjBjOTJhOTE1NWZjNjBh MTRkMDY5M2NjZTVlMzhmZiAxMDA2NDQKLS0tIGEvbGliZ2xvc3MvYWFyY2g2 NC9jcnQwLlMKKysrIGIvbGliZ2xvc3MvYWFyY2g2NC9jcnQwLlMKQEAgLTE0 NCw4ICsxNDQsMTAgQEAKIAlzdWIJeDIsIHgyLCB4MAkJLyogVGhpcmQgYXJn OiBsZW5ndGggb2YgYmxvY2sgKi8KIAlibAlGVU5DVElPTiAobWVtc2V0KQog CisjaWZkZWYgQVJNX1JESV9NT05JVE9SCiAJLyogTmVlZCB0byBzZXQgdXAg c3RhbmRhcmQgZmlsZSBoYW5kbGVzICovCiAJYmwJRlVOQ1RJT04gKGluaXRp YWxpc2VfbW9uaXRvcl9oYW5kbGVzKQorI2VuZGlmCiAKIAkvKiAuaW5pdCBh bmQgLmZpbmkgc2VjdGlvbnMgYXJlIHVzZWQgdG8gY3JlYXRlIGNvbnN0cnVj dG9ycwogCSAgIGFuZCBkZXN0cnVjdG9ycy4gIEhlcmUgd2UgY2FsbCB0aGUg X2luaXQgZnVuY3Rpb24gYW5kIGFycmFuZ2UK --_002_VI1PR0801MB20313037AB7411E3EB4B8D0DFFAC0VI1PR0801MB2031_--