[PATCH] objcopy: Don't add zstd to the debug compression options if not available

Pietro Monteiro pietro@sociotechnical.xyz
Mon Oct 20 17:28:41 GMT 2025


On Mon, Oct 20, 2025, at 3:41 AM, Jan Beulich wrote:
> On 20.10.2025 02:14, Pietro Monteiro wrote:
>> If zstd is not available or was intentionally disabled by the user
>> don't add it to the list of the available options to compress debug
>> sections when showing usage.
>> 
>> binutils/ChangeLog:
>> 
>> 	* objcopy.c (copy_usage): Output
>> 	--compress-debug-sections=zstd if HAVE_ZSTD.
>> 	* po/binutils.pot: Regenerate.
>
> I'm not sure this file wants updating by isolated changes. Nick, Alan -
> can you provide any guidance here?

Yeah, it looks like this file is updated when a new release is created.

pietro


More information about the Binutils mailing list