From 815a94326c35b34fc3283a575eece11e972405cf Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 17 May 2021 16:39:52 +0200 Subject: posix: Move clock_nanosleep() Move clock_nanosleep() to a separate file to avoid a dependency on errno which pulls in the Newlib reentrancy support. This is an issue since most parts which are pulled in cannot be garbage collected by the linker due to the system initialization linker set. --- spec/build/cpukit/librtemscpu.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'spec') diff --git a/spec/build/cpukit/librtemscpu.yml b/spec/build/cpukit/librtemscpu.yml index 682032182f..efd0d1bfe1 100644 --- a/spec/build/cpukit/librtemscpu.yml +++ b/spec/build/cpukit/librtemscpu.yml @@ -990,6 +990,7 @@ source: - cpukit/posix/src/clockgetcpuclockid.c - cpukit/posix/src/clockgetres.c - cpukit/posix/src/clockgettime.c +- cpukit/posix/src/clocknanosleep.c - cpukit/posix/src/clocksettime.c - cpukit/posix/src/condattrdestroy.c - cpukit/posix/src/condattrgetclock.c -- cgit v1.2.3