diff options
author | obrien <obrien@FreeBSD.org> | 2008-09-01 18:46:03 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2008-09-01 18:46:03 +0000 |
commit | f18a1ee8d409a05ce2da0ed78cc3075560def165 (patch) | |
tree | d4a5d7ba05f3e4eac86517fd9574ef2710df6e58 /gnu/lib | |
parent | 1a39c79ce0aa29aa14db8a450a4ac4f989d997b5 (diff) | |
download | FreeBSD-src-f18a1ee8d409a05ce2da0ed78cc3075560def165.zip FreeBSD-src-f18a1ee8d409a05ce2da0ed78cc3075560def165.tar.gz |
Add FreeBSD/MIPS support to GCC.
Diffstat (limited to 'gnu/lib')
-rw-r--r-- | gnu/lib/libgcc/Makefile | 2 | ||||
-rw-r--r-- | gnu/lib/libgomp/Makefile | 2 | ||||
-rw-r--r-- | gnu/lib/libgomp/config.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile index fa8a26f..5f34f72 100644 --- a/gnu/lib/libgcc/Makefile +++ b/gnu/lib/libgcc/Makefile @@ -174,7 +174,7 @@ OBJ_GRPS = STD DIV # Floating point emulation functions # .if ${TARGET_ARCH} == "armNOT_YET" || ${TARGET_ARCH} == "powerpc" || \ - ${TARGET_ARCH} == "sparc64" + ${TARGET_ARCH} == "sparc64" || ${TARGET_ARCH} == "mips" FPBIT_CFLAGS = -DFINE_GRAINED_LIBRARIES -DFLOAT DPBIT_CFLAGS = -DFINE_GRAINED_LIBRARIES diff --git a/gnu/lib/libgomp/Makefile b/gnu/lib/libgomp/Makefile index 17f8b46..b0a7be8 100644 --- a/gnu/lib/libgomp/Makefile +++ b/gnu/lib/libgomp/Makefile @@ -24,7 +24,7 @@ VERSION_MAP= ${SRCDIR}/libgomp.map # Target-specific OpenMP configuration .if ${MACHINE_ARCH} == arm || ${MACHINE_ARCH} == i386 || \ - ${MACHINE_ARCH} == powerpc + ${MACHINE_ARCH} == powerpc || ${MACHINE_ARCH} == mips OMP_LOCK_ALIGN = 4 OMP_LOCK_KIND= 4 OMP_LOCK_SIZE= 4 diff --git a/gnu/lib/libgomp/config.h b/gnu/lib/libgomp/config.h index 2616a50..8aecae8 100644 --- a/gnu/lib/libgomp/config.h +++ b/gnu/lib/libgomp/config.h @@ -59,7 +59,7 @@ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if the target supports thread-local storage. */ -#if !defined(__sparc64__) && !defined(__arm__) +#if !defined(__sparc64__) && !defined(__arm__) && !defined(__mips__) #define HAVE_TLS 1 #endif |