From owner-svn-src-head@freebsd.org Wed Dec 21 22:21:33 2016 Return-Path: Delivered-To: svn-src-head@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 13877C8A99B; Wed, 21 Dec 2016 22:21:33 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C9BBF1731; Wed, 21 Dec 2016 22:21:31 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1cJpGE-00061T-JR; Wed, 21 Dec 2016 23:21:22 +0100 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org, "Andrew Turner" Subject: Re: svn commit: r310124 - head/sys/boot/arm/uboot References: <201612151736.uBFHatUL016048@repo.freebsd.org> Date: Wed, 21 Dec 2016 23:21:21 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: <201612151736.uBFHatUL016048@repo.freebsd.org> User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.2 X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 autolearn=disabled version=3.4.0 X-Scan-Signature: 2394e6fd9f1e9f86011669f8146dc264 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2016 22:21:33 -0000 Hello, Is this 12-CURRENT only or also applicable to 11-STABLE? Regards, Ronald. On Thu, 15 Dec 2016 18:36:55 +0100, Andrew Turner wrote: > Author: andrew > Date: Thu Dec 15 17:36:54 2016 > New Revision: 310124 > URL: https://svnweb.freebsd.org/changeset/base/310124 > > Log: > Add -fPIC to the ubldr build. Without this the self relocation code > will > try to use an absolute address in a switch statement, jumping to an > invalid > memory location. > Sponsored by: ABT Systems Ltd > > Modified: > head/sys/boot/arm/uboot/Makefile > > Modified: head/sys/boot/arm/uboot/Makefile > ============================================================================== > --- head/sys/boot/arm/uboot/Makefile Thu Dec 15 17:34:18 2016 (r310123) > +++ head/sys/boot/arm/uboot/Makefile Thu Dec 15 17:36:54 2016 (r310124) > @@ -109,6 +109,8 @@ CFLAGS+= -I${.OBJDIR}/../../uboot/lib > # where to get libstand from > CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/ > +CFLAGS+= -fPIC > + > # clang doesn't understand %D as a specifier to printf > NO_WERROR.clang= > _______________________________________________ > svn-src-all@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/svn-src-all > To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"