svn commit: r260565 - head/contrib/gcc/config/arm

Adrian Chadd adrian at freebsd.org
Sun Jan 12 15:45:45 UTC 2014


Woo!


-a

On 12 January 2014 07:35, Andrew Turner <andrew at freebsd.org> wrote:
> Author: andrew
> Date: Sun Jan 12 15:35:03 2014
> New Revision: 260565
> URL: http://svnweb.freebsd.org/changeset/base/260565
>
> Log:
>   Fix gcc with EABI on big-endian ARM by setting the endian correctly.
>   Without this gcc would generate byte loads for a little-endian core.
>
>   MFC after:    1 week
>
> Modified:
>   head/contrib/gcc/config/arm/freebsd.h
>
> Modified: head/contrib/gcc/config/arm/freebsd.h
> ==============================================================================
> --- head/contrib/gcc/config/arm/freebsd.h       Sun Jan 12 14:37:39 2014        (r260564)
> +++ head/contrib/gcc/config/arm/freebsd.h       Sun Jan 12 15:35:03 2014        (r260565)
> @@ -72,6 +72,9 @@
>  #undef TARGET_DEFAULT_FLOAT_ABI
>  #define TARGET_DEFAULT_FLOAT_ABI ARM_FLOAT_ABI_SOFT
>
> +#undef TARGET_DEFAULT
> +#define TARGET_DEFAULT (MASK_INTERWORK | TARGET_ENDIAN_DEFAULT)
> +
>  #undef ARM_DEFAULT_ABI
>  #define ARM_DEFAULT_ABI ARM_ABI_AAPCS_LINUX
>


More information about the svn-src-head mailing list