glibc/rt
Joseph Myers dfa2d21450 Fix mq_receive, mq_send mq_timed* namespace (bug 18545).
mq_receive calls mq_timedreceive, and mq_send calls mq_timedsend.  But
mq_receive and mq_send were in POSIX by 1996, while mq_timed* were
added in the 2001 edition of POSIX.  This patch fixes this by making
mq_timed* into weak aliases for __mq_timed* and calling the
__mq_timed* names.

Tested for x86_64 and x86 (testsuite, and that disassembly of
installed shared libraries is unchanged by the patch).

	[BZ #18545]
	* rt/mq_timedreceive.c (mq_timedreceive): Rename to
	__mq_timedreceive and define as alias of __mq_timedreceive.  Use
	hidden_weak.
	* rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
	define as alias of __mq_timedsend.  Use hidden_weak.
	* sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
	__mq_timedsend as strong name.
	(mq_timedreceive): Use __mq_timedreceive as strong name.
	* include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
	(__mq_timedreceive): Likewise.
	* sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
	__mq_timedreceive instead of mq_timedreceive.
	* sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
	instead of mq_timedsend.
	* conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
	Remove variable.
2015-06-17 20:19:04 +00:00
..
bits Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
aio_cancel.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
aio_error.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
aio_fsync.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
aio_misc.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
aio_notify.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
aio_read64.c * elf/cache.c: Use <> rather than "" #includes. 2005-12-21 22:16:34 +00:00
aio_read.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
aio_return.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
aio_sigqueue.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
aio_suspend.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
aio_write64.c * elf/cache.c: Use <> rather than "" #includes. 2005-12-21 22:16:34 +00:00
aio_write.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
aio.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
clock_getcpuclockid.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
clock_getres.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
clock_gettime.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
clock_nanosleep.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
clock_settime.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
clock-compat.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Depend Don't mention linuxthreads in Depend files. 2014-05-21 16:53:11 +00:00
get_clockfreq.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lio_listio64.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
lio_listio.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Makefile Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mq_close.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mq_getattr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mq_notify.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mq_open.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mq_receive.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mq_send.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mq_setattr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mq_timedreceive.c Fix mq_receive, mq_send mq_timed* namespace (bug 18545). 2015-06-17 20:19:04 +00:00
mq_timedsend.c Fix mq_receive, mq_send mq_timed* namespace (bug 18545). 2015-06-17 20:19:04 +00:00
mq_unlink.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mqueue.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
shm_open.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
shm_unlink.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
timer_create.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
timer_delete.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
timer_getoverr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
timer_gettime.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
timer_settime.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-aio2.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-aio3.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-aio4.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-aio5.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-aio6.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-aio7.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-aio8.c (do_test): aio_offset should be initialized, too. 2006-01-05 00:26:42 +00:00
tst-aio9.c * sysdeps/pthread/aio_misc.h [!DONT_USE_BOOTSTRAP_MAP] 2006-01-06 03:08:04 +00:00
tst-aio10.c * rt/Makefile (tests): Add tst-aio9 and tst-aio10. 2006-01-06 04:13:26 +00:00
tst-aio64.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-aio.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-clock2.c [BZ #2978] 2006-08-03 08:17:20 +00:00
tst-clock_nanosleep.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-clock.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-cpuclock1.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-cpuclock2.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-cputimer1.c * rt/tst-cpuclock1.c: New file. 2005-04-27 08:03:47 +00:00
tst-cputimer2.c * rt/tst-cpuclock1.c: New file. 2005-04-27 08:03:47 +00:00
tst-cputimer3.c * rt/tst-cpuclock1.c: New file. 2005-04-27 08:03:47 +00:00
tst-mqueue1.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-mqueue2.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-mqueue3.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-mqueue4.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-mqueue5.c Conditionalize some test code for SIGRTMIN, SA_SIGINFO. 2015-03-04 15:14:56 -08:00
tst-mqueue6.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-mqueue7.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-mqueue8.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-mqueue9.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-mqueue.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-shm.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-timer2.c Don't set unused field in rt/tst-timer2. 2015-02-06 12:30:38 -08:00
tst-timer3.c Update. 2004-04-16 20:44:32 +00:00
tst-timer4.c Conditionalize some test code for SIGRTMIN, SA_SIGINFO. 2015-03-04 15:14:56 -08:00
tst-timer5.c 2004-12-07 Roland McGrath <roland@redhat.com> 2004-12-07 20:44:46 +00:00
tst-timer.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Versions BZ#14743: Move clock_* symbols from librt to libc. 2012-10-24 14:50:46 -07:00