summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2003-09-05 18:08:19 +0000
committerkan <kan@FreeBSD.org>2003-09-05 18:08:19 +0000
commit3cec797a7b3a9ef957f2e2dc7c2f24b3d388e9b7 (patch)
treef833af7bcbc2399b852494c2d58e3ed5ec3ef44c
parent3bdf2e08b506268b868eadf9fe16c6f62e765f98 (diff)
downloadFreeBSD-src-3cec797a7b3a9ef957f2e2dc7c2f24b3d388e9b7.zip
FreeBSD-src-3cec797a7b3a9ef957f2e2dc7c2f24b3d388e9b7.tar.gz
The caller is expected to set up PIC register corectly before
jumping to .cerror. This means .cerror has to be present in the same module with its consumers, or bad things will happen.
-rw-r--r--lib/libkse/support/Makefile.inc2
-rw-r--r--lib/libpthread/support/Makefile.inc2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/libkse/support/Makefile.inc b/lib/libkse/support/Makefile.inc
index c8176b3..0b7e059 100644
--- a/lib/libkse/support/Makefile.inc
+++ b/lib/libkse/support/Makefile.inc
@@ -1,6 +1,7 @@
# $FreeBSD$
.PATH: ${.CURDIR}/support ${.CURDIR}/../libc/gen ${.CURDIR}/../libc/string
+.PATH: ${.CURDIR}/../libc/${MACHINE_ARCH}/sys
CFLAGS+= -I${.CURDIR}/../libc/${MACHINE_ARCH}
@@ -24,6 +25,7 @@ ${SYSCALL_SRC}:
LIBC_OBJS= sigsetops.So \
bcopy.So \
bzero.So \
+ cerror.So \
memcpy.So \
memset.So \
strcpy.So \
diff --git a/lib/libpthread/support/Makefile.inc b/lib/libpthread/support/Makefile.inc
index c8176b3..0b7e059 100644
--- a/lib/libpthread/support/Makefile.inc
+++ b/lib/libpthread/support/Makefile.inc
@@ -1,6 +1,7 @@
# $FreeBSD$
.PATH: ${.CURDIR}/support ${.CURDIR}/../libc/gen ${.CURDIR}/../libc/string
+.PATH: ${.CURDIR}/../libc/${MACHINE_ARCH}/sys
CFLAGS+= -I${.CURDIR}/../libc/${MACHINE_ARCH}
@@ -24,6 +25,7 @@ ${SYSCALL_SRC}:
LIBC_OBJS= sigsetops.So \
bcopy.So \
bzero.So \
+ cerror.So \
memcpy.So \
memset.So \
strcpy.So \
OpenPOWER on IntegriCloud