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

Tom de Vries tdevries@suse.de
Thu Feb 23 15:46:43 GMT 2023


On 2/23/23 16:44, Michael Matz wrote:
> 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 :)

Cool, thanks :)
- Tom



More information about the Binutils mailing list