Warning in elf32-sh.c
Ben Elliston
bje@redhat.com
Mon Nov 20 21:56:00 GMT 2000
This patch eliminates a warning in elf32-sh.c. I'm not sure if it's the
right fix or not -- this code always suffered from a potential infinite
loop.
Ben
@@ -789,7 +1100,7 @@
{
bfd_vma start0 = start - 4;
- while (start0 >= 0 && IS_PPI (contents + start0))
+ while (IS_PPI (contents + start0))
start0 -= 2;
start0 = start - 2 - ((start - start0) & 2);
start = start0 - cum_diff - 2;
More information about the Binutils
mailing list