From owner-svn-src-all@freebsd.org Tue May 23 17:41:10 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 792D5D7AA57; Tue, 23 May 2017 17:41:10 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 480D11E93; Tue, 23 May 2017 17:41:10 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v4NHf9Cm031343; Tue, 23 May 2017 17:41:09 GMT (envelope-from jhb@FreeBSD.org) Received: (from jhb@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v4NHf9jH031342; Tue, 23 May 2017 17:41:09 GMT (envelope-from jhb@FreeBSD.org) Message-Id: <201705231741.v4NHf9jH031342@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jhb set sender to jhb@FreeBSD.org using -f From: John Baldwin Date: Tue, 23 May 2017 17:41:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r318754 - head/sys/boot/mips/beri/boot2 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2017 17:41:10 -0000 Author: jhb Date: Tue May 23 17:41:09 2017 New Revision: 318754 URL: https://svnweb.freebsd.org/changeset/base/318754 Log: Pass -N directly to ld via -Wl rather than passing it to the compiler driver. In particular, clang doesn't accept -N. Obtained from: CheriBSD Sponsored by: DARPA / AFRL Modified: head/sys/boot/mips/beri/boot2/Makefile Modified: head/sys/boot/mips/beri/boot2/Makefile ============================================================================== --- head/sys/boot/mips/beri/boot2/Makefile Tue May 23 17:34:10 2017 (r318753) +++ head/sys/boot/mips/beri/boot2/Makefile Tue May 23 17:41:09 2017 (r318754) @@ -63,7 +63,7 @@ LIBSTAND= ${.OBJDIR}/../../../../../lib/ LDFLAGS= -nostdlib \ -static \ - -N \ + -Wl,-N \ -G0 \ -L${.CURDIR}