https://sourceware.org/bugzilla/show_bug.cgi?id=24717

--- Comment #6 from Mark Wielaard <mark at klomp dot org> ---
(In reply to Nick Clifton from comment #5)
> Presumably it would make sense to silence this warning when processing .debug
> files.  Is there a reliable way to detect them ?  For example can such files
> always be assumed to have a .text section with a SHT_NOBITS type ?

There was a proposal to give such files a unique (ET_GNU_DEBUG_REL|EXEC|DYN)
type. But that was never implemented. So you would indeed need some heuristic.
Such files don't have any allocated SHT_PROGBITS sections. The only allocated
sections are SHT_NOBITS or SHT_NOTES.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to