Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc/lib/libgcc more ia64 support:



details:   https://anonhg.NetBSD.org/src/rev/228404625c40
branches:  trunk
changeset: 794262:228404625c40
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Mar 09 23:23:09 2014 +0000

description:
more ia64 support:

# We have to weed out any existing func.S file that may exist
# from the list of files we create.

diffstat:

 external/gpl3/gcc/lib/libgcc/Makefile.inc |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r f28e3b2431a4 -r 228404625c40 external/gpl3/gcc/lib/libgcc/Makefile.inc
--- a/external/gpl3/gcc/lib/libgcc/Makefile.inc Sun Mar 09 23:09:32 2014 +0000
+++ b/external/gpl3/gcc/lib/libgcc/Makefile.inc Sun Mar 09 23:23:09 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.23 2014/03/01 10:00:33 mrg Exp $
+#      $NetBSD: Makefile.inc,v 1.24 2014/03/09 23:23:09 mrg Exp $
 
 LIBGCC_MACHINE_ARCH?=${MACHINE_ARCH:S/earmv5/earm/}
 
@@ -93,8 +93,15 @@
 LIB2DIVMOD=    ${LIB2_DIVMOD_FUNCS:=.c}
 LIB2_EH=       ${G_LIB2ADDEH:M*.c:T}
 LIB2_EHASM=    ${G_LIB2ADDEH:M*.S:T}
+
+# We have to weed out any existing func.S file that may exist
+# from the list of files we create.
 .if !empty(G_LIB1ASMFUNCS)
-LIB1ASMFUNCS=  ${G_LIB1ASMFUNCS:=.S}
+. for f in ${G_LIB1ASMFUNCS:=.S}
+.  if !exists(${DIST}/libgcc/config/${MACHINE_GNU_ARCH}/${f})
+LIB1ASMFUNCS+= ${f}
+.  endif
+. endfor
 .endif
 
 .if exists(${.CURDIR}/../arch/${LIBGCC_MACHINE_ARCH}/defs.mk)



Home | Main Index | Thread Index | Old Index