RFC: Add support for SHF_COMPRESSED

Jan Beulich JBeulich@suse.com
Fri Mar 13 16:19:00 GMT 2015


>>> On 13.03.15 at 17:13, <hjl.tools@gmail.com> wrote:
> 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?

If they're well behaved, they shouldn't (they should just ignore
them).

Jan



More information about the Binutils mailing list