fix fatal typo in bfd/elf32-xtensa.c

Bob Wilson bwilson@tensilica.com
Tue Sep 23 20:31:00 GMT 2003


I finally succeeded in building glibc for an Xtensa system with a recent 
version of binutils.....and discovered that it is totally broken.  The 
problem is simple.  I had accidentally typed "=" when I meant "+=".  The 
symptom of this is that most of the dynamic relocation offsets are set to the 
same value.  I've tested this patch, and it fixes the problem.  Committed on 
the mainline.

The problem also exists on the 2.14 branch.  If there is another release off 
the 2.14 branch, I'll apply the patch over there.  Otherwise, and in the 
meantime, anyone working with 2.14 for Xtensa targets will need to apply this 
patch themselves.

2003-09-23  Bob Wilson  <bob.wilson@acm.org>

	* elf32-xtensa.c (elf_xtensa_relocate_section): Fix typo that clobbered
	dynamic relocation offsets.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: bfd-xtensa-offsetfix.diff
Type: text/x-diff
Size: 607 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20030923/425e8fa0/attachment.bin>


More information about the Binutils mailing list