summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/sparc/Makefile
diff options
context:
space:
mode:
authorraf <none@none>2005-11-29 11:51:21 -0800
committerraf <none@none>2005-11-29 11:51:21 -0800
commit0ec5755428223b8105e488e8fddc19de4db26521 (patch)
treeb591b7b19a02be3744f72bcb43264ff1a64ebc97 /usr/src/lib/libc/sparc/Makefile
parentafd1ac7b1c9a8cdf273c865aa5e9a14620341443 (diff)
downloadillumos-joyent-0ec5755428223b8105e488e8fddc19de4db26521.tar.gz
6350867 gcc and libc don't get along on sparc
--HG-- rename : usr/src/lib/libc/amd64/threads/inlines.s => deleted_files/usr/src/lib/libc/amd64/threads/inlines.s rename : usr/src/lib/libc/i386/threads/inlines.s => usr/src/lib/libc/i386/gen/_divdi3.s
Diffstat (limited to 'usr/src/lib/libc/sparc/Makefile')
-rw-r--r--usr/src/lib/libc/sparc/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr/src/lib/libc/sparc/Makefile b/usr/src/lib/libc/sparc/Makefile
index 3f4cae59ae..0abf1da9ce 100644
--- a/usr/src/lib/libc/sparc/Makefile
+++ b/usr/src/lib/libc/sparc/Makefile
@@ -101,6 +101,9 @@ FPASMOBJS= \
fpsetrnd.o \
fpsetsticky.o
+$(__GNUC)FPASMOBJS += \
+ __quad.o
+
ATOMICOBJS= \
atomic.o
@@ -1063,6 +1066,9 @@ TIL= \
$(TIL:%=pics/%) := CFLAGS += $(LIBCBASE)/threads/sparc.il
+# special kludge for gcc inlines with 'cas':
+$(__GNUC)pics/synch.o pics/lwp.o := sparc_XARCH = -xarch=v8plus
+
# Files in port/fp subdirectory that need base.il inline template
IL= \
__flt_decim.o \
@@ -1155,8 +1161,6 @@ $(QIL:%=pics/%): ../$(MACH)/fp/__quad.il
# include common libc targets
include ../Makefile.targ
-pics/getxby_door.o := CCMODE =
-
# We need to strip out all CTF and DOF data from the static library
$(LIB_PIC) := DIR = pics
$(LIB_PIC): pics $$(PICS)