Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat,  4 Feb 2017 15:19:47 +0100
From: Reiner Herrmann <reiner@...ner-h.de>
To: musl@...ts.openwall.com
Subject: [PATCH] use .object_arch to declare the architecture of the object file

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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.