diff options
author | gjb <gjb@FreeBSD.org> | 2016-01-27 14:16:13 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2016-01-27 14:16:13 +0000 |
commit | 589dc73d2eba5f91a4ab047f4b31b5c1a4994c14 (patch) | |
tree | cd17f3cd63074e4e70587321dea01ed34bb78584 /gnu | |
parent | 38c2fa8095c4ce38f152709522173bd201546224 (diff) | |
parent | aad03cf95cc55ec999cf45e2fabdaadecbc27624 (diff) | |
download | FreeBSD-src-589dc73d2eba5f91a4ab047f4b31b5c1a4994c14.zip FreeBSD-src-589dc73d2eba5f91a4ab047f4b31b5c1a4994c14.tar.gz |
MFH
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/lib/libgcc/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile index f3166e7..cdf62dd 100644 --- a/gnu/lib/libgcc/Makefile +++ b/gnu/lib/libgcc/Makefile @@ -58,8 +58,10 @@ LIB2FUNCS+= _fixuns${mode}si .endfor # Likewise double-word routines. -.if ${TARGET_CPUARCH} != "aarch64" && ${TARGET_CPUARCH} != "arm" -# These are implemented in an ARM specific file but will not be filtered out +.if ${TARGET_CPUARCH} != "aarch64" && ${TARGET_CPUARCH} != "arm" && \ + ${TARGET_CPUARCH} != "riscv64" +# These are implemented in an ARM specific file but will not be filtered out. +# RISCVTODO: can't compile .for mode in sf df xf tf LIB2FUNCS+= _fix${mode}di _fixuns${mode}di LIB2FUNCS+= _floatdi${mode} _floatundi${mode} @@ -322,7 +324,10 @@ EH_OBJS_T = ${LIB2ADDEHSTATIC:R:S/$/.o/} EH_OBJS_P = ${LIB2ADDEHSTATIC:R:S/$/.po/} EH_OBJS_S = ${LIB2ADDEHSHARED:R:S/$/.So/} EH_CFLAGS = -fexceptions -D__GLIBC__=3 -DElfW=__ElfN +.if ${TARGET_CPUARCH} != "riscv64" +# RISCVTODO: unwinding support SOBJS += ${EH_OBJS_S} +.endif .for _src in ${LIB2ADDEHSTATIC:M*.c} ${_src:R:S/$/.o/}: ${_src} ${COMMONHDRS} |