Date: Wed, 21 Dec 2016 23:21:21 +0100 From: "Ronald Klop" <ronald-lists@klop.ws> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org, "Andrew Turner" <andrew@freebsd.org> Subject: Re: svn commit: r310124 - head/sys/boot/arm/uboot Message-ID: <op.ysudpvxckndu52@d93fd8ae.cm-21.dynamic.ziggo.nl> In-Reply-To: <201612151736.uBFHatUL016048@repo.freebsd.org> References: <201612151736.uBFHatUL016048@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <andrew@freebsd.org> 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.ysudpvxckndu52>