This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: 0.143 regression failures.
- From: Roland McGrath <roland at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 21 Sep 2009 16:15:35 -0700
- Subject: Re: 0.143 regression failures.
> If we want to support that in elflint, then something like the following
> patch would be needed:
This change looks right to me, but we should have Uli double-check.
> diff --git a/src/elflint.c b/src/elflint.c
> index f85d286..6b79d93 100644
> --- a/src/elflint.c
> +++ b/src/elflint.c
> @@ -3330,7 +3330,7 @@ static const struct
> {
> /* See figure 4-14 in the gABI. */
> { ".bss", 5, SHT_NOBITS, exact, SHF_ALLOC | SHF_WRITE, 0 },
> - { ".comment", 8, SHT_PROGBITS, exact, 0, 0 },
> + { ".comment", 8, SHT_PROGBITS, atleast, 0, SHF_MERGE | SHF_STRINGS },
> { ".data", 6, SHT_PROGBITS, exact, SHF_ALLOC | SHF_WRITE, 0 },
> { ".data1", 7, SHT_PROGBITS, exact, SHF_ALLOC | SHF_WRITE, 0 },
> { ".debug_str", 11, SHT_PROGBITS, exact_or_gnuld, SHF_MERGE | SHF_STRINGS,
Thanks,
Roland