From 325cc81c4517febe22763a7b5c4d689ac1cbc7c4 Mon Sep 17 00:00:00 2001 From: Antti Kantee Date: Tue, 18 Mar 2014 01:05:51 +0000 Subject: [PATCH] use rumpkern_time instead of stubs --- Makefile | 2 +- lib/libc_stubs.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 5eb44d5..bb2ab65 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ LIBS_NET = -lrumpnet_config -lrumpdev_bpf -lrumpnet_xenif -lrumpnet_netinet LIBS_NET+= -lrumpnet_net -lrumpnet # Define some default flags for linking. -LDLIBS_FS = --whole-archive ${LIBS_FS} ${LIBS_NET} ${LIBS_PCI} -lrump --no-whole-archive +LDLIBS_FS = --whole-archive ${LIBS_FS} ${LIBS_NET} ${LIBS_PCI} -lrumpkern_time -lrump --no-whole-archive LDLIBS = -Lrump/lib ${LDLIBS_FS} -lc APP_LDLIBS := diff --git a/lib/libc_stubs.c b/lib/libc_stubs.c index 623f38a..7f5120a 100644 --- a/lib/libc_stubs.c +++ b/lib/libc_stubs.c @@ -10,9 +10,6 @@ printk("STUB ``%s'' called\n", #name); \ return ENOTSUP;} -STUB(__clock_gettime50); -STUB(__nanosleep50); -STUB(__setitimer50); STUB(__sigaction14); STUB(__sigprocmask14); STUB(__getrusage50); -- 2.39.5