final fix for Xtensa linkonce DWARF issue

Bob Wilson bwilson@tensilica.com
Wed Oct 17 00:45:00 GMT 2007


Here is the Xtensa-specific piece of the change to fix the issue described 
earlier (http://sourceware.org/ml/binutils/2007-10/msg00100.html).  Compared to 
the previous version, I added the same check for the section sizes that went 
into the _bfd_elf_check_kept_section function.  Otherwise, it's the same.  I 
retested everything together.  Committed on the trunk.

2007-10-16  Bob Wilson  <bob.wilson@acm.org>

	* elf32-xtensa.c (relax_section): Check for a reference to a discarded
	DWARF section and anticipate its replacement with the kept section.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bfd-linkonce-dwarf-2b.patch
Type: text/x-diff
Size: 2436 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20071017/f5cc16e0/attachment.bin>


More information about the Binutils mailing list