diff options
author | peter <peter@FreeBSD.org> | 1998-03-08 05:33:24 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-03-08 05:33:24 +0000 |
commit | 69d046431cb5de200f587771df80118f89b532ed (patch) | |
tree | 5aff2f800d3d105dd0168cb51ae721ffa40b7ffb /contrib/gcc | |
parent | c39aed21a8d0e0849e9678f826151961a0762e3b (diff) | |
download | FreeBSD-src-69d046431cb5de200f587771df80118f89b532ed.zip FreeBSD-src-69d046431cb5de200f587771df80118f89b532ed.tar.gz |
Add hooks for John Birrell's kernel thread support library.
Submitted by: John Birrell <jb@cimlogic.com.au>
Diffstat (limited to 'contrib/gcc')
-rw-r--r-- | contrib/gcc/config/i386/freebsd.h | 2 | ||||
-rw-r--r-- | contrib/gcc/config/i386/freebsd.h.fixed | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/gcc/config/i386/freebsd.h b/contrib/gcc/config/i386/freebsd.h index 913fb09..f3503fc 100644 --- a/contrib/gcc/config/i386/freebsd.h +++ b/contrib/gcc/config/i386/freebsd.h @@ -483,7 +483,7 @@ do { \ /* Like the default, except no -lg, and no -p. */ #undef LIB_SPEC -#define LIB_SPEC "%{!shared:%{!pg:%{!pthread:-lc}%{pthread:-lc_r}}%{pg:%{!pthread:-lc_p}%{pthread:-lc_r_p}}}" +#define LIB_SPEC "%{!shared:%{!pg:%{!pthread:%{!kthread:-lc}%{kthread:-lpthread -lc}}%{pthread:-lc_r}}%{pg:%{!pthread:%{!kthread:-lc_r}%{kthread:-lpthread_p -lc_p}}%{pthread:-lc_r_p}}}" /* Let gcc locate this for us according to the -m rules */ #undef LIBGCC_SPEC diff --git a/contrib/gcc/config/i386/freebsd.h.fixed b/contrib/gcc/config/i386/freebsd.h.fixed index 913fb09..f3503fc 100644 --- a/contrib/gcc/config/i386/freebsd.h.fixed +++ b/contrib/gcc/config/i386/freebsd.h.fixed @@ -483,7 +483,7 @@ do { \ /* Like the default, except no -lg, and no -p. */ #undef LIB_SPEC -#define LIB_SPEC "%{!shared:%{!pg:%{!pthread:-lc}%{pthread:-lc_r}}%{pg:%{!pthread:-lc_p}%{pthread:-lc_r_p}}}" +#define LIB_SPEC "%{!shared:%{!pg:%{!pthread:%{!kthread:-lc}%{kthread:-lpthread -lc}}%{pthread:-lc_r}}%{pg:%{!pthread:%{!kthread:-lc_r}%{kthread:-lpthread_p -lc_p}}%{pthread:-lc_r_p}}}" /* Let gcc locate this for us according to the -m rules */ #undef LIBGCC_SPEC |