diff options
author | John Baldwin <jhb@FreeBSD.org> | 2017-01-06 23:30:54 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2017-01-06 23:30:54 +0000 |
commit | 69b4d461bef57a2b7a4dcd20c2c0faff4f25eb85 (patch) | |
tree | 46443df35cf949011425fa21fcd2566ea83fb35c /gnu/lib | |
parent | 452a3101674c96bc97913f2e7b38be13c7ee7f20 (diff) | |
download | src-test2-69b4d461bef57a2b7a4dcd20c2c0faff4f25eb85.tar.gz src-test2-69b4d461bef57a2b7a4dcd20c2c0faff4f25eb85.zip |
Enable /usr/lib32 for o32 binaries on mips64.
Build and install an o32 set of libraries on mips64 suitable for
running o32 binaries via COMPAT_FREEBSD32. Enable COMPAT_FREEBSD32 in
MALTA64.
Reviewed by: jmallett, imp
Sponsored by: DARPA / AFRL
Differential Revision: https://reviews.freebsd.org/D9032
Notes
Notes:
svn path=/head/; revision=311567
Diffstat (limited to 'gnu/lib')
-rw-r--r-- | gnu/lib/libgcc/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile index 0d53c12c843c..157495368c7e 100644 --- a/gnu/lib/libgcc/Makefile +++ b/gnu/lib/libgcc/Makefile @@ -133,7 +133,8 @@ LIBADD+= compiler_rt .if ${TARGET_CPUARCH} == mips LIB2FUNCS_EXTRA = floatunsidf.c floatunsisf.c # ABIs other than o32 need this -.if ${TARGET_ARCH:Mmips64*} != "" || ${TARGET_ARCH:Mmipsn32*} != "" +.if (${TARGET_ARCH:Mmips64*} != "" || ${TARGET_ARCH:Mmipsn32*} != "") && \ + !defined(COMPAT_32BIT) LIB2FUNCS_EXTRA+= floatdidf.c fixunsdfsi.c LIB2FUNCS_EXTRA+= floatdisf.c floatundidf.c LIB2FUNCS_EXTRA+= fixsfdi.c floatundisf.c |