This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch pe-coff]: Fix output of debug sections in image


2010/9/22 Dave Korn <dave.korn.cygwin@gmail.com>:
> On 22/09/2010 10:34, Kai Tietz wrote:
>
>> Hmm, not sure what you mean here in the COFF_WITH_PE function. As far as I
>> see my patch, I didn't touched that part. Also I see here in the
>> non-COFF_WITH_PE no reason to add this is_dbg flag. What get I wrong here?
>
> ?Err, nothing, I was looking at the wrong version of the function as you've
> realised! ?So my comment about the strcmps is incorrect, please ignore it and
> just go ahead with the remaining parts.
>
>> Well, see here Alan's patch
>>
>> 2010-09-16 ?Alan Modra
>
> ? [ ... snip ... ]
>
>> By this I read that either a debugging section has not to set
>> SEC_NEVER_LOAD on elf, as no output would be written then for it. So the
>> combination of debugging and never-load is IMHO something what can just
>> happen for pe-coff.
>
> ?Thank you, that's just the sort of explanation I'd like you to put in a
> comment; no need for any extra check, given the above. ?OK after that.
>
> ? ?cheers,
> ? ? ?DaveK
>
>

Ok, I've added a comment before IGNORE_SECTION macro in ldlang.c file.
I think this should be enough here.

Patch ok for apply?

Regards,
Kai

-- 
|? (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination

Attachment: dbg_section.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]