svn commit: r239547 - head/sys/conf
Adrian Chadd
adrian at freebsd.org
Wed Aug 22 00:13:31 UTC 2012
Thanks so much for this!
I've just booted -HEAD (from a week or so ago, I think) on a Gateworks
Cambria board (Intel xscale IXP435). Without this, the build was
giving me a little-endian kernel..
Adrian
On 21 August 2012 16:44, Oleksandr Tymoshenko <gonzo at freebsd.org> wrote:
> Author: gonzo
> Date: Tue Aug 21 23:44:47 2012
> New Revision: 239547
> URL: http://svn.freebsd.org/changeset/base/239547
>
> Log:
> Get rid of ARM_BIG_ENDIAN for good:
> - remove leftovers in Makefile.arm
> - Let ld use default output format instead of providing one in ldscript
>
> Modified:
> head/sys/conf/Makefile.arm
> head/sys/conf/ldscript.arm
>
> Modified: head/sys/conf/Makefile.arm
> ==============================================================================
> --- head/sys/conf/Makefile.arm Tue Aug 21 22:42:46 2012 (r239546)
> +++ head/sys/conf/Makefile.arm Tue Aug 21 23:44:47 2012 (r239547)
> @@ -35,17 +35,6 @@ INCLUDES+= -I$S/contrib/libfdt
> SYSTEM_LD:= ${SYSTEM_LD:$S/conf/ldscript.$M=ldscript.$M}
> SYSTEM_DEP:= ${SYSTEM_DEP:$S/conf/ldscript.$M=ldscript.$M}
>
> -.if defined(ARM_BIG_ENDIAN)
> -CC += -mbig-endian
> -SYSTEM_LD += -EB
> -LD += -EB
> -.else
> -CC += -mlittle-endian
> -SYSTEM_LD += -EL
> -LD += -EL
> -.endif
> -
> -
> .if !defined(DEBUG) && !defined(PROFLEVEL)
> STRIP_FLAGS = -S
> .endif
>
> Modified: head/sys/conf/ldscript.arm
> ==============================================================================
> --- head/sys/conf/ldscript.arm Tue Aug 21 22:42:46 2012 (r239546)
> +++ head/sys/conf/ldscript.arm Tue Aug 21 23:44:47 2012 (r239547)
> @@ -1,5 +1,4 @@
> /* $FreeBSD$ */
> -OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
> OUTPUT_ARCH(arm)
> ENTRY(_start)
>
More information about the freebsd-arm
mailing list