From: Florian Weimer <fweimer@redhat.com>
To: PODOPLELOV Andrei <Andrei.PODOPLELOV@3ds.com>
Cc: "mtk.manpages@gmail.com" <mtk.manpages@gmail.com>,
"linux-man@vger.kernel.org" <linux-man@vger.kernel.org>,
"alx.manpages@gmail.com" <alx.manpages@gmail.com>
Subject: Re: [patch] --filter option in ld: srcfix
Date: Thu, 09 Dec 2021 16:35:56 +0100 [thread overview]
Message-ID: <87fsr1g59f.fsf@oldenburg.str.redhat.com> (raw)
In-Reply-To: <11c8a3fcad954d429a9c55564f5f7064@3ds.com> (PODOPLELOV Andrei's message of "Thu, 9 Dec 2021 01:08:12 +0000")
* PODOPLELOV Andrei:
> Hi Florian,
>
> Responding to your idea about filtering...
> I just checked the filtering. It does work as expected, means, I
> cannot build main.c using some new symbol, defined only in filtee.c,
> but not in filter.c. So the runtime won't use the full set of filtee's
> symbols, but just a subset, defined in the filter.
Looks like ld (the link editor) has filtering,
Try linking with -Wl,-z,undefs, I expect you will see that the symbol is
available at run time.
Thanks,
Florian
next prev parent reply other threads:[~2021-12-09 15:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-08 17:32 [patch] --filter option in ld: srcfix PODOPLELOV Andrei
2021-12-08 20:07 ` Florian Weimer
2021-12-09 1:08 ` PODOPLELOV Andrei
2021-12-09 15:35 ` Florian Weimer [this message]
2021-12-09 16:32 ` PODOPLELOV Andrei
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=87fsr1g59f.fsf@oldenburg.str.redhat.com \
--to=fweimer@redhat.com \
--cc=Andrei.PODOPLELOV@3ds.com \
--cc=alx.manpages@gmail.com \
--cc=linux-man@vger.kernel.org \
--cc=mtk.manpages@gmail.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 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.