Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/gcc/config/arm If compiling with apcs...



details:   https://anonhg.NetBSD.org/src/rev/09865f658bde
branches:  trunk
changeset: 784685:09865f658bde
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Feb 05 19:29:13 2013 +0000

description:
If compiling with apcs-gnu or atpcs ABIs, supply -mabi=gnu to gas.

diffstat:

 external/gpl3/gcc/dist/gcc/config/arm/netbsd-eabi.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 32ca36adf12c -r 09865f658bde external/gpl3/gcc/dist/gcc/config/arm/netbsd-eabi.h
--- a/external/gpl3/gcc/dist/gcc/config/arm/netbsd-eabi.h       Tue Feb 05 19:21:27 2013 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/arm/netbsd-eabi.h       Tue Feb 05 19:29:13 2013 +0000
@@ -68,7 +68,7 @@
 
 #undef SUBTARGET_EXTRA_ASM_SPEC
 #define SUBTARGET_EXTRA_ASM_SPEC       \
-  "-matpcs %{fpic|fpie:-k} %{fPIC|fPIE:-k}"
+  "-matpcs %{mabi=apcs-gnu|mabi=atpcs:-meabi=gnu} %{fpic|fpie:-k} %{fPIC|fPIE:-k}"
 
 /* Default to full VFP if -mhard-float is specified.  */
 #undef SUBTARGET_ASM_FLOAT_SPEC



Home | Main Index | Thread Index | Old Index