All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ulrich Drepper <drepper@redhat.com>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: Re: ppc/ppc64 and x86 vsyscalls
Date: Tue, 09 Mar 2004 16:35:00 -0800	[thread overview]
Message-ID: <404E62B4.4000200@redhat.com> (raw)
In-Reply-To: <1078867992.9745.25.camel@gaston>

Benjamin Herrenschmidt wrote:

> /* In one place the actual function implementation */
>  function_A_vers_1()
>  function_A_vers_2()
>  function_A_vers_3()
>  function_B_vers_1()
>  function_B_vers_2()
>    etc .../...
> 
> /* Then, some empty "stubs" for the symbol table that gets really
>  * linked into user binaries. Those are the symbol table entries
>  * that get patched
>  */
>  function_A() {}
>  function_B() {}
> 
> Sounds right ?

Basically yes.  But you don't actually need the stub functions.  You
just need a symbol table entry which can be arranged via an alias to any
one of the real functions.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖

  reply	other threads:[~2004-03-10  0:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-08  1:17 ppc/ppc64 and x86 vsyscalls Benjamin Herrenschmidt
2004-03-09  8:05 ` Ulrich Drepper
2004-03-09 11:05   ` Benjamin Herrenschmidt
2004-03-09 21:14     ` Ulrich Drepper
2004-03-09 21:33       ` Benjamin Herrenschmidt
2004-03-10  0:35         ` Ulrich Drepper [this message]
2004-03-10  2:08           ` Benjamin Herrenschmidt

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=404E62B4.4000200@redhat.com \
    --to=drepper@redhat.com \
    --cc=benh@kernel.crashing.org \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.