strip & nop relocs

Nathan Sidwell nathan@codesourcery.com
Fri Nov 14 10:59:00 GMT 2008


This patch fixes a problem with stripping debug sections out of objects.  Some 
toolchains use nop relocs to link a code section to its debug section.  If you 
try and strip such an object, you get left with a dangling relocation to the 
removed debug section, and the strip fails.

This patch fixes bfd to not complain about such dangling relocations to 
non-allocatable sections.

ok?

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dbg.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20081114/044727ab/attachment.ksh>


More information about the Binutils mailing list