This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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++;
 		}
 	    }
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]