This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]