From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11008 Path: news.gmane.org!.POSTED!not-for-mail From: Reiner Herrmann Newsgroups: gmane.linux.lib.musl.general Subject: [PATCH] use .object_arch to declare the architecture of the object file Date: Sat, 4 Feb 2017 15:19:47 +0100 Message-ID: <20170204141947.5208-1-reiner@reiner-h.de> References: <20170104205123.GH19319@reiner-h.de> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1486217959 7881 195.159.176.226 (4 Feb 2017 14:19:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 4 Feb 2017 14:19:19 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-11023-gllmg-musl=m.gmane.org@lists.openwall.com Sat Feb 04 15:19:15 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1ca1BK-0001qS-Sj for gllmg-musl@m.gmane.org; Sat, 04 Feb 2017 15:19:15 +0100 Original-Received: (qmail 8018 invoked by uid 550); 4 Feb 2017 14:19:17 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 7983 invoked from network); 4 Feb 2017 14:19:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=reiner-h.de; s=mail; t=1486217942; bh=3fTeCxc5jXyHDXxAC71zaXAFmmajkGEl2nNMFfE3/2k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=FgNrp+1IlztO/UQTlY3uIsu1sWB3Z6ZT5MOJYboT6tpS4cJ6HR9n7Vg4IKPRh3F5Z oA9pye2J2zlXO2ea/rdb/zjEKt1Fu1bQ1I2Xk6Q5f2fZx26vOU7ifzS+RlEPrmVnOY G2XLRL3dlO5tCKyV1c4RJUIRbJe8Nnao7DygkW9Y= X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170104205123.GH19319@reiner-h.de> Xref: news.gmane.org gmane.linux.lib.musl.general:11008 Archived-At: musl fails to build for arm with current binutils (since commit bada434). Szabolcs Nagy suggested to use .object_arch for declaring the architecture of the object file, instead of .arch. See also: https://sourceware.org/ml/binutils/2006-09/msg00054.html --- src/thread/arm/atomics.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thread/arm/atomics.s b/src/thread/arm/atomics.s index 202faa4a..101ad391 100644 --- a/src/thread/arm/atomics.s +++ b/src/thread/arm/atomics.s @@ -84,7 +84,7 @@ __a_gettp_cp15: bx lr /* Tag this file with minimum ISA level so as not to affect linking. */ -.arch armv4t +.object_arch armv4t .eabi_attribute 6,2 .data -- 2.11.0