summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-06-08 10:58:36 +0000
committerjb <jb@FreeBSD.org>1998-06-08 10:58:36 +0000
commitba935f3272691a296f28649cd8f87ac16161aebe (patch)
treeff42d24243675836d1dec57283088501372bc39d /contrib
parent566ee5c323c868aba9bdc6c3d1ad52a3dd7b17e9 (diff)
downloadFreeBSD-src-ba935f3272691a296f28649cd8f87ac16161aebe.zip
FreeBSD-src-ba935f3272691a296f28649cd8f87ac16161aebe.tar.gz
Add LIB_SPEC (same as on i386) so that gcc knows about libc_r.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/gcc/config/alpha/freebsd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/gcc/config/alpha/freebsd.h b/contrib/gcc/config/alpha/freebsd.h
index 732255d..30d365f 100644
--- a/contrib/gcc/config/alpha/freebsd.h
+++ b/contrib/gcc/config/alpha/freebsd.h
@@ -68,6 +68,10 @@
#undef ASM_FINAL_SPEC
+/* Like the default, except no -lg, and no -p. */
+#undef LIB_SPEC
+#define LIB_SPEC "%{!shared:%{!pg:%{!pthread:%{!kthread:-lc}%{kthread:-lpthread -lc}}%{pthread:-lc_r}}%{pg:%{!pthread:%{!kthread:-lc_p}%{kthread:-lpthread_p -lc_p}}%{pthread:-lc_r_p}}}"
+
/* Output assembler code to FILE to increment profiler label # LABELNO
for profiling a function entry. Under FreeBSD/Alpha, the assembler does
nothing special with -pg. */
OpenPOWER on IntegriCloud