[PATCH] gas: Add --force-compress-debug-sections

Michael Matz matz@suse.de
Thu Feb 23 15:44:58 GMT 2023


Hey Tom,

On Thu, 23 Feb 2023, Tom de Vries wrote:

> The submitted version (
> https://sourceware.org/pipermail/binutils/2023-February/126284.html )
> contains:
> ...
> @@ -718,7 +719,8 @@ Begin in alternate macro mode.
>  Compress DWARF debug sections using zlib with SHF_COMPRESSED from the
>  ELF ABI.  The resulting object file may not be compatible with older
>  linkers and object file utilities.  Note if compression would make a
> -given section @emph{larger} then it is not compressed.
> +given section @emph{larger} then it is not compressed, unless
> +@option{--force-compress-debug-section} is used.

Gah!  I overlooked this snippet and the one below that.

> So, do you consider this insufficient?

No, it's completely fine IMHO :)


Ciao,
Michael.


More information about the Binutils mailing list