This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: fix Xtensa property tables with relaxation and --gc-sections
- From: Bob Wilson <bwilson at tensilica dot com>
- To: binutils at sources dot redhat dot com
- Date: Fri, 27 Apr 2007 11:32:16 -0700
- Subject: Re: fix Xtensa property tables with relaxation and --gc-sections
Oops. My previous patch had an extra increment, so it skipped over every other
relocation. I've committed this patch to fix it.
bfd/
* elf32-xtensa.c (relax_property_section): Remove extra irel increment.
Index: elf32-xtensa.c
===================================================================
RCS file: /cvs/src/src/bfd/elf32-xtensa.c,v
retrieving revision 1.86
diff -u -r1.86 elf32-xtensa.c
--- elf32-xtensa.c 26 Apr 2007 14:46:57 -0000 1.86
+++ elf32-xtensa.c 27 Apr 2007 18:27:18 -0000
@@ -9037,7 +9037,6 @@
break;
}
irel->r_offset -= removed_bytes;
- irel++;
}
}