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

--- Comment #5 from Mark Wielaard <mark at klomp dot org> ---
(In reply to Martin Liska from comment #4)
> 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?

If both SHF_STRING and SHF_MERGE are set then sh_entsize is the char size
(normally 1).

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

Reply via email to