svn commit: branches/uClibc-nptl/librt

carmelo at uclibc.org carmelo at uclibc.org
Tue Nov 20 09:41:18 UTC 2007


Author: carmelo
Date: 2007-11-20 01:41:17 -0800 (Tue, 20 Nov 2007)
New Revision: 20458

Log:
Fix mq_timed[receive,send]. Signed-off-by: Carmelo Amoroso <carmelo.amoroso at st.com>

Modified:
   branches/uClibc-nptl/librt/Makefile.in
   branches/uClibc-nptl/librt/clock_gettime.c
   branches/uClibc-nptl/librt/mq_timedreceive.S
   branches/uClibc-nptl/librt/mq_timedsend.S


Changeset:
Modified: branches/uClibc-nptl/librt/Makefile.in
===================================================================
--- branches/uClibc-nptl/librt/Makefile.in	2007-11-20 09:39:52 UTC (rev 20457)
+++ branches/uClibc-nptl/librt/Makefile.in	2007-11-20 09:41:17 UTC (rev 20458)
@@ -34,6 +34,9 @@
 librt_OBJ := $(patsubst $(librt_DIR)/%.c,$(librt_OUT)/%.o,$(librt_SRC))
 endif
 
+ASFLAGS-mq_timedreceive.S = -D_LIBC_REENTRANT
+ASFLAGS-mq_timedsend.S = -D_LIBC_REENTRANT
+
 ifeq ($(DOPIC),y)
 librt-a-y += $(librt_OBJ:.o=.os)
 else

Modified: branches/uClibc-nptl/librt/clock_gettime.c
===================================================================
--- branches/uClibc-nptl/librt/clock_gettime.c	2007-11-20 09:39:52 UTC (rev 20457)
+++ branches/uClibc-nptl/librt/clock_gettime.c	2007-11-20 09:41:17 UTC (rev 20458)
@@ -252,7 +252,7 @@
   return retval;
 }
 
-
+librt_hidden_proto (clock_gettime)
 /* Get current value of CLOCK and store it in TP.  */
 int
 clock_gettime (clockid_t clock_id, struct timespec *tp)

Modified: branches/uClibc-nptl/librt/mq_timedreceive.S
===================================================================
--- branches/uClibc-nptl/librt/mq_timedreceive.S	2007-11-20 09:39:52 UTC (rev 20457)
+++ branches/uClibc-nptl/librt/mq_timedreceive.S	2007-11-20 09:41:17 UTC (rev 20458)
@@ -5,6 +5,6 @@
 PSEUDO (__mq_timedreceive, mq_timedreceive, 5)
 ret
 PSEUDO_END(__mq_timedreceive)
-libc_hidden_def (__mq_timedreceive)
+librt_hidden_def (__mq_timedreceive)
 weak_alias (__mq_timedreceive, mq_timedreceive)
-libc_hidden_weak (mq_timedreceive)
+librt_hidden_weak (mq_timedreceive)

Modified: branches/uClibc-nptl/librt/mq_timedsend.S
===================================================================
--- branches/uClibc-nptl/librt/mq_timedsend.S	2007-11-20 09:39:52 UTC (rev 20457)
+++ branches/uClibc-nptl/librt/mq_timedsend.S	2007-11-20 09:41:17 UTC (rev 20458)
@@ -5,6 +5,6 @@
 PSEUDO (__mq_timedsend, mq_timedsend, 5)
 ret
 PSEUDO_END(__mq_timedsend)
-libc_hidden_def (__mq_timedsend)
+librt_hidden_def (__mq_timedsend)
 weak_alias (__mq_timedsend, mq_timedsend)
-libc_hidden_weak (mq_timedsend)
+librt_hidden_weak (mq_timedsend)




More information about the uClibc-cvs mailing list