[Xtensa] fix missing .gnu.linkonce.p.* sections

Bob Wilson bwilson@tensilica.com
Tue Jul 25 00:25:00 GMT 2006


I've committed this patch to fix a problem regarding Xtensa property tables in 
the change from 2006-04-14.  The previous code worked correctly for 
".gnu.linkonce.prop.*" sections, but for the older-style ".gnu.linkonce.p.*" 
sections, it failed to allocate enough space for the name of the corresponding 
".gnu.linkonce.t.*" section and it was missing the ".t" in that name.  Because 
the section names were wrong, the ".p" sections were always being found 
inconsistent and removed.

Tested for regressions by running the testsuite for an xtensa-linux target.

2006-07-24  Bob Wilson  <bob.wilson@acm.org>

	* emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
	in dep_sec_name for null terminator.  Make sure dep_sec_name has a
	".t" linkonce tag.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ld-linkonce-fix.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20060725/d8ef3a8c/attachment.ksh>


More information about the Binutils mailing list