From: jca Date: Fri, 19 Jan 2018 11:10:43 +0000 (+0000) Subject: Partial revert of rev. 1.7, fixes build with clang X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=18cddbba4e2a0454294d0c2b069fcac74be36111;p=openbsd Partial revert of rev. 1.7, fixes build with clang The error was: --8<-- ffs.S:57:2: error: unsupported relocation on symbol adrne r2, .L_ffs_table ^ -->8-- Minimal workaround suggested by deraadt@, ok guenther@ kettenis@ --- diff --git a/lib/libc/arch/arm/string/ffs.S b/lib/libc/arch/arm/string/ffs.S index 09a65b40459..9cb18ce92f7 100644 --- a/lib/libc/arch/arm/string/ffs.S +++ b/lib/libc/arch/arm/string/ffs.S @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs.S,v 1.7 2018/01/18 08:23:44 guenther Exp $ */ +/* $OpenBSD: ffs.S,v 1.8 2018/01/19 11:10:43 jca Exp $ */ /* $NetBSD: ffs.S,v 1.5 2003/04/05 23:08:52 bjh21 Exp $ */ /* * Copyright (c) 2001 Christopher Gilbert @@ -66,7 +66,6 @@ ENTRY(ffs) END(ffs) .protected ffs - .section .rodata .type .L_ffs_table, _ASM_TYPE_OBJECT; .L_ffs_table: /* 0 1 2 3 4 5 6 7 */