RFC: Add support for SHF_COMPRESSED

H.J. Lu hjl.tools@gmail.com
Fri Mar 13 16:13:00 GMT 2015


On Fri, Mar 13, 2015 at 9:05 AM, Jan Beulich <JBeulich@suse.com> wrote:
>>>> On 13.03.15 at 16:31, <hjl.tools@gmail.com> wrote:
>> I am working on SHF_COMPRESSED support:
>>
>> http://www.sco.com/developers/gabi/latest/ch4.sheader.html
>>
>> We already have .zdebug* sections, which aren't compatible
>> with SHF_COMPRESSED scheme due to missing compression
>> header.   What section names should we use for SHF_COMPRESSED
>> debug sections.  Using .debug* or .zdebug*  will break existing tools.
>> I am thinking .zlibdebug*  or ..Zdebug*.  Any suggestions?
>
> Why would they need to have different names anyway? They're
> distinguishable by the flag.

Won't the exiting tools, like GDB, choke on compressed .debug* sections?


-- 
H.J.



More information about the Gdb mailing list