From dbff657a3794268ca090d0df941e9c9631bf0681 Mon Sep 17 00:00:00 2001
From: Paul Brook <pbrook@gcc.gnu.org>
Date: Tue, 13 Dec 2005 01:35:43 +0000
Subject: [PATCH] bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Pass -meabi=gnu for
 apcs/atpcs.

	* config/arm/bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Pass -meabi=gnu for
	apcs/atpcs.

From-SVN: r108450
---
 gcc/config/arm/bpabi.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/arm/bpabi.h b/gcc/config/arm/bpabi.h
index ac5a0905cc5f..4c730885ec0e 100644
--- a/gcc/config/arm/bpabi.h
+++ b/gcc/config/arm/bpabi.h
@@ -46,7 +46,7 @@
 
 /* Tell the assembler to build BPABI binaries.  */
 #undef SUBTARGET_EXTRA_ASM_SPEC
-#define SUBTARGET_EXTRA_ASM_SPEC "-meabi=4"
+#define SUBTARGET_EXTRA_ASM_SPEC "%{mabi=apcs-gnu|mabi=atpcs:-meabi=gnu;:-meabi=4}"
 
 /* The generic link spec in elf.h does not support shared libraries.  */
 #undef LINK_SPEC
-- 
GitLab