Date: Sun, 12 Jan 2014 07:45:44 -0800 From: Adrian Chadd <adrian@freebsd.org> To: Andrew Turner <andrew@freebsd.org> Cc: "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org> Subject: Re: svn commit: r260565 - head/contrib/gcc/config/arm Message-ID: <CAJ-Vmo=xXNC76g_GBQ5jG5Y_qp2Mi29amnw=0CXBCpy1TZ8gcA@mail.gmail.com> In-Reply-To: <201401121535.s0CFZ4Hd077053@svn.freebsd.org> References: <201401121535.s0CFZ4Hd077053@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Woo! -a On 12 January 2014 07:35, Andrew Turner <andrew@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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=xXNC76g_GBQ5jG5Y_qp2Mi29amnw=0CXBCpy1TZ8gcA>