From: Nick Clifton <nickc@redhat.com>
To: Florian Weimer <fweimer@redhat.com>
Cc: binutils@sourceware.org
Subject: Re: Named local symbols in the ELF dynamic symbol table
Date: Wed, 14 Dec 2022 15:31:56 +0000 [thread overview]
Message-ID: <1441124e-6e62-56d3-3ae6-c8fd22beeb48@redhat.com> (raw)
In-Reply-To: <87edt8jxag.fsf@oldenburg.str.redhat.com>
Hi Florian,
> So it seems that -X or --discard-locals is the default?
It is not clear. -{ The sources do not appear to initialise
the fields concerned with this in the link_info structure.
> How do I
> override that, preferably for specific symbols only?
Please try -Wl,--no-strip-discarded and/or -Wl,--discard-none
Not sure what will happen....
Cheers
Nick
next prev parent reply other threads:[~2022-12-14 15:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-06 17:11 Florian Weimer
2022-12-08 13:19 ` Nick Clifton
2022-12-09 17:34 ` Florian Weimer
2022-12-14 15:31 ` Nick Clifton [this message]
2022-12-14 20:05 ` Fangrui Song
2022-12-14 21:44 ` H.J. Lu
2022-12-14 21:53 ` Florian Weimer
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=1441124e-6e62-56d3-3ae6-c8fd22beeb48@redhat.com \
--to=nickc@redhat.com \
--cc=binutils@sourceware.org \
--cc=fweimer@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).