Re: [PATCH 1/5] readelf: fold get_{32,64}bit_program_headers()

Jan Beulich <[email protected]> Mon, 27 Jul 2026 14:08:22 +0200
Newsgroups gmane.comp.gnu.binutils
Message-ID <[email protected]>
On 27.07.2026 13:56, Andreas Schwab wrote:
> On Jul 27 2026, Jan Beulich wrote:
> 
>> I did consider adding
>> a new .c file, but I couldn't think of a name which I would be at least
>> reasonably okay with.
> 
> Perhaps following the pattern in bfd: readelf-nn.c

And then also generate readelf-32.c and readelf-64.c from it? I'd like to
avoid introducing new generated files, whenever possible.

Jan