summaryrefslogtreecommitdiff
path: root/os_dep.c
diff options
context:
space:
mode:
authorivmai <ivmai>2010-08-14 09:28:38 +0000
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 21:06:54 +0400
commit24a998358610e865d9d98f8fff83dc7330a1dd18 (patch)
tree68c3c58dd7b6305d17ccc3faf53e74ecf12b1233 /os_dep.c
parent9fe5bf2f4a698aeb4d24322844a113a0d0178a26 (diff)
downloadbdwgc-24a998358610e865d9d98f8fff83dc7330a1dd18.tar.gz
2010-08-14 Ivan Maidanski <ivmai@mail.ru>
* extra/threadlibs.c (main): Remove --wrap for "read" (since not wrapped anymore). * doc/README.linux (GC_USE_LD_WRAP): Ditto. * os_dep.c (__wrap_read): Ditto (in the comment).
Diffstat (limited to 'os_dep.c')
-rw-r--r--os_dep.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/os_dep.c b/os_dep.c
index e7bb4a28..1a0f794f 100644
--- a/os_dep.c
+++ b/os_dep.c
@@ -3489,8 +3489,6 @@ ssize_t read(int fd, void *buf, size_t nbyte)
#if defined(GC_USE_LD_WRAP) && !defined(THREADS)
/* We use the GNU ld call wrapping facility. */
- /* This requires that the linker be invoked with "--wrap read". */
- /* This can be done by passing -Wl,"--wrap read" to gcc. */
/* I'm not sure that this actually wraps whatever version of read */
/* is called by stdio. That code also mentions __read. */
# include <unistd.h>