svn commit: r310124 - head/sys/boot/arm/uboot

Ronald Klop ronald-lists at klop.ws
Wed Dec 21 22:21:33 UTC 2016


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 at 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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-src-all
> To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"


More information about the svn-src-head mailing list