From: Jakub Jelinek <jakub@redhat.com>
To: Ulrich Drepper <drepper@redhat.com>, Roland McGrath <roland@redhat.com>
Cc: Glibc hackers <libc-hacker@sources.redhat.com>
Subject: [PATCH] Export __fork from libc.so back
Date: Sat, 22 Mar 2003 00:07:00 -0000 [thread overview]
Message-ID: <20030322004935.U1717@sunsite.ms.mff.cuni.cz> (raw)
Hi!
Addition of nptl and linuxthreads fork.c killed __fork@@GLIBC_2.0 export
from libc.so. Some programs, like wine, unfortunately, use it.
2003-03-22 Jakub Jelinek <jakub@redhat.com>
nptl/
* sysdeps/unix/sysv/linux/fork.c (__fork): Add libc_hidden_def.
linuxthreads/
* sysdeps/unix/sysv/linux/fork.c (__fork): Add libc_hidden_def.
--- libc/nptl/sysdeps/unix/sysv/linux/fork.c.jj 2003-03-13 16:00:18.000000000 -0500
+++ libc/nptl/sysdeps/unix/sysv/linux/fork.c 2003-03-21 18:12:38.000000000 -0500
@@ -131,4 +131,5 @@ __libc_fork (void)
return pid;
}
weak_alias (__libc_fork, __fork)
+libc_hidden_def (__fork)
weak_alias (__libc_fork, fork)
--- libc/linuxthreads/sysdeps/unix/sysv/linux/fork.c.jj 2003-01-02 19:37:21.000000000 -0500
+++ libc/linuxthreads/sysdeps/unix/sysv/linux/fork.c 2003-03-21 18:09:18.000000000 -0500
@@ -39,4 +39,5 @@ __libc_fork (void)
return __libc_maybe_call2 (pthread_fork, (&__fork_block), ARCH_FORK ());
}
weak_alias (__libc_fork, __fork)
+libc_hidden_def (__fork)
weak_alias (__libc_fork, fork)
Jakub
next reply other threads:[~2003-03-21 23:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-22 0:07 Jakub Jelinek [this message]
2003-03-22 0:08 ` Roland McGrath
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030322004935.U1717@sunsite.ms.mff.cuni.cz \
--to=jakub@redhat.com \
--cc=drepper@redhat.com \
--cc=libc-hacker@sources.redhat.com \
--cc=roland@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).