https://sourceware.org/bugzilla/show_bug.cgi?id=28608

Martin Liska <mliska at suse dot cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2023-01-13
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #4 from Martin Liska <mliska at suse dot cz> ---
(In reply to Martin Liska from comment #3)
> It's likely caused by the following 2 sections that are in elfstrmerge.o:
> 
> $ readelf -SW elfstrmerge.o | grep rodata
> Section Headers:
>   [Nr] Name              Type            Address          Off    Size   ES
> Flg Lk Inf Al
> ...
>   [ 5] .rodata.str1.1    PROGBITS        0000000000000000 000480 0002d0 01
> AMS  0   0  1
>   [ 6] .rodata.str1.8    PROGBITS        0000000000000000 000750 0004df 01
> AMS  0   0  8
> ...

This is unrelated, it's a different file that is checked.

So it fails for:
$ /home/marxin/Programming/elfutils/src/elflint --gnu
/home/marxin/Programming/elfutils/tests/elfstrmerge
section [17] '.rodata': merge flag set but entry size is zero

$ readelf -SW /home/marxin/Programming/elfutils/tests/elfstrmerge | grep roda
  [17] .rodata           PROGBITS        0000000000402ea0 002ea0 0007bf 00 AMS 
0   0  8

As seen the section has SHF_STRING flag, thus having sh_entsize == 0 should be
fine.

@Mark: Can you please take a look?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to