Update ARM EABI version number in GCC

Richard Earnshaw rearnsha@arm.com
Thu Jan 22 10:21:00 GMT 2009


On Wed, 2009-01-14 at 01:04 +0000, Joseph S. Myers wrote:
> The ARM EABI specifies EABI version 5 for e_flags; version 4, the
> value currently used by GCC by default, was used in prerelease
> versions of the ABI only.  This patch makes the default correspond to
> the released ABI version.  The corresponding gas patch is
> <http://sourceware.org/ml/binutils/2009-01/msg00168.html>.
> 
> Tested with no regressions with cross to arm-none-eabi.  OK to commit?
> 

Will this force users to upgrade their GAS?  If so, has a suitable GAS
been released by the FSF?

If the answer to the first is no, then OK.

If the answer to the second is yes, then OK.

Otherwise, this will need some configure trickery to ensure that it does
the right thing.

R.
> 2009-01-13  Mark Shinwell  <shinwell@codesourcery.com>
> 
> 	* config/arm/bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Bump EABI
> 	version number to five.
> 
> Index: gcc/config/arm/bpabi.h
> ===================================================================
> --- gcc/config/arm/bpabi.h	(revision 143347)
> +++ gcc/config/arm/bpabi.h	(working copy)
> @@ -55,7 +55,7 @@
>  
>  /* Tell the assembler to build BPABI binaries.  */
>  #undef  SUBTARGET_EXTRA_ASM_SPEC
> -#define SUBTARGET_EXTRA_ASM_SPEC "%{mabi=apcs-gnu|mabi=atpcs:-meabi=gnu;:-meabi=4}" TARGET_FIX_V4BX_SPEC
> +#define SUBTARGET_EXTRA_ASM_SPEC "%{mabi=apcs-gnu|mabi=atpcs:-meabi=gnu;:-meabi=5}" TARGET_FIX_V4BX_SPEC
>  
>  #ifndef SUBTARGET_EXTRA_LINK_SPEC
>  #define SUBTARGET_EXTRA_LINK_SPEC ""
> 




More information about the Gcc-patches mailing list