summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/sparcv9
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2014-04-16 20:03:15 +0100
committerRichard Lowe <richlowe@richlowe.net>2017-10-02 15:55:19 -0400
commit3e76f9d6851ef6c63217178eb67278ec2809b944 (patch)
tree8c8e1172a6bdbce8420f12d2af84d19f658bbae1 /usr/src/lib/libc/sparcv9
parent2aca6c63d5cd09b4015887c19fcacf9df90967b0 (diff)
downloadillumos-joyent-3e76f9d6851ef6c63217178eb67278ec2809b944.tar.gz
8609 want a position independent CRT
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Albert Lee <trisk@forkgnu.org> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/lib/libc/sparcv9')
-rw-r--r--usr/src/lib/libc/sparcv9/Makefile.com4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/lib/libc/sparcv9/Makefile.com b/usr/src/lib/libc/sparcv9/Makefile.com
index 5c131719c9..632aa62dd2 100644
--- a/usr/src/lib/libc/sparcv9/Makefile.com
+++ b/usr/src/lib/libc/sparcv9/Makefile.com
@@ -1004,7 +1004,7 @@ TRACEOBJS= \
plockstat.o
# NOTE: libc.so.1 must be linked with the minimal crti.o and crtn.o
-# modules whose source is provided in the $(SRC)/lib/common directory.
+# modules whose source is provided in the $(SRC)/lib/crt directory.
# This must be done because otherwise the Sun C compiler would insert
# its own versions of these modules and those versions contain code
# to call out to C++ initialization functions. Such C++ initialization
@@ -1013,7 +1013,7 @@ TRACEOBJS= \
# Since libc contains no C++ code, linking with the minimal crti.o and
# crtn.o modules is safe and avoids the problems described above.
OBJECTS= $(CRTI) $(MOSTOBJS) $(CRTN)
-CRTSRCS= ../../common/sparcv9
+CRTSRCS= ../../crt/sparc
# include common library definitions
include $(SRC)/lib/Makefile.lib