Patchwork [aarch64] Remove __ARM_EABI__ code.

login
register
mail settings
Submitter Marcus Shawcroft
Date July 17, 2012, 9:41 a.m.
Message ID <50053351.4030000@arm.com>
Download mbox | patch
Permalink /patch/171362/
State New
Headers show

Comments

Marcus Shawcroft - July 17, 2012, 9:41 a.m.
I committed this patch to the aarch64 branch to remove unused 
__ARM_EABI__ gated code.

Marcus

Patch

Index: libgcc/config/aarch64/sfp-machine.h
===================================================================
--- libgcc/config/aarch64/sfp-machine.h	(revision 189563)
+++ libgcc/config/aarch64/sfp-machine.h	(revision 189564)
@@ -78,43 +78,3 @@ 
 # define strong_alias(name, aliasname) _strong_alias(name, aliasname)
 # define _strong_alias(name, aliasname) \
   extern __typeof (name) aliasname __attribute__ ((alias (#name)));
-
-#ifdef __ARM_EABI__
-/* Rename functions to their EABI names.  */
-/* The comparison functions need wrappers for EABI semantics, so
-   leave them unmolested.  */
-#define __negsf2	__aeabi_fneg
-#define __subsf3	__aeabi_fsub
-#define __addsf3	__aeabi_fadd
-#define __floatunsisf	__aeabi_ui2f
-#define __floatsisf	__aeabi_i2f
-#define __floatundisf	__aeabi_ul2f
-#define __floatdisf	__aeabi_l2f
-#define __mulsf3	__aeabi_fmul
-#define __divsf3	__aeabi_fdiv
-#define __unordsf2	__aeabi_fcmpun
-#define __fixsfsi	__aeabi_f2iz
-#define __fixunssfsi	__aeabi_f2uiz
-#define __fixsfdi	__aeabi_f2lz
-#define __fixunssfdi	__aeabi_f2ulz
-#define __floatdisf	__aeabi_l2f
-
-#define __negdf2	__aeabi_dneg
-#define __subdf3	__aeabi_dsub
-#define __adddf3	__aeabi_dadd
-#define __floatunsidf	__aeabi_ui2d
-#define __floatsidf	__aeabi_i2d
-#define __extendsfdf2	__aeabi_f2d
-#define __truncdfsf2	__aeabi_d2f
-#define __floatundidf	__aeabi_ul2d
-#define __floatdidf	__aeabi_l2d
-#define __muldf3	__aeabi_dmul
-#define __divdf3	__aeabi_ddiv
-#define __unorddf2	__aeabi_dcmpun
-#define __fixdfsi	__aeabi_d2iz
-#define __fixunsdfsi	__aeabi_d2uiz
-#define __fixdfdi	__aeabi_d2lz
-#define __fixunsdfdi	__aeabi_d2ulz
-#define __floatdidf	__aeabi_l2d
-
-#endif /* __ARM_EABI__ */
Index: libgcc/ChangeLog.aarch64
===================================================================
--- libgcc/ChangeLog.aarch64	(revision 189563)
+++ libgcc/ChangeLog.aarch64	(revision 189564)
@@ -1,3 +1,7 @@ 
+2012-07-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+	* config/aarch64/sfp-machine.h (__ARM_EABI__): Remove.
+
 2012-06-08  Jim MacArthur  <jim.macarthur@arm.com>
 
 	* config.host