From: Ian Campbell <ian.campbell@citrix.com>
To: Jan Beulich <JBeulich@suse.com>,
xen-devel <xen-devel@lists.xenproject.org>
Cc: Keir Fraser <keir@xen.org>,
Ian Jackson <Ian.Jackson@eu.citrix.com>, Tim Deegan <tim@xen.org>
Subject: Re: [PATCH] tools/symbols: document binutils commits for issues needing workarounds so far
Date: Wed, 16 Dec 2015 09:58:10 +0000 [thread overview]
Message-ID: <1450259890.16856.229.camel@citrix.com> (raw)
In-Reply-To: <5671269C02000078000BFFF9@prv-mh.provo.novell.com>
On Wed, 2015-12-16 at 00:53 -0700, Jan Beulich wrote:
> Also the issue 3rd issue mentioned in commit d37d63d4b5 ("symbols:
> prefix static symbols with their source file names") has been fixed by
> binutils commit 270f824531 (also expected to appear in 2.27).
>
> Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
> --- a/xen/tools/symbols.c
> +++ b/xen/tools/symbols.c
> @@ -105,15 +105,18 @@ static int read_symbol(FILE *in, struct
>
> sym = strrchr(str, '.');
> if (strcasecmp(type, "FILE") == 0 ||
> - (/* GNU nm prior to XXX doesn't produce a type for EFI
> binaries. */
> + (/*
> + * GNU nm prior to binutils commit 552e55ed06 (expected to
> + * appear in 2.27) doesn't produce a type for EFI binaries.
> + */
> input_format == fmt_sysv && !*type && stype == '?' && sym
> &&
> sym[1] && strchr("cSsoh", sym[1]) && !sym[2])) {
> /*
> - * gas prior to XXX outputs symbol table entries
> resulting
> - * from .file in reverse order. If we get two
> consecutive file
> - * symbols, prefer the first one if that names an object
> file
> - * or has a directory component (to cover multiply
> compiled
> - * files).
> + * gas prior to binutils commit fbdf9406b0 (expected to
> appear
> + * in 2.27) outputs symbol table entries resulting from
> .file
> + * in reverse order. If we get two consecutive file
> symbols,
> + * prefer the first one if that names an object file or
> has a
> + * directory component (to cover multiply compiled
> files).
> */
> bool multi = strchr(str, '/') || (sym && sym[1] == 'o');
>
>
>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
prev parent reply other threads:[~2015-12-16 9:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-16 7:53 [PATCH] tools/symbols: document binutils commits for issues needing workarounds so far Jan Beulich
2015-12-16 9:58 ` Ian Campbell [this message]
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=1450259890.16856.229.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=JBeulich@suse.com \
--cc=keir@xen.org \
--cc=tim@xen.org \
--cc=xen-devel@lists.xenproject.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.