From: Petr Machata Date: Tue, 7 Apr 2009 15:56:21 +0000 (+0200) Subject: dwarflint: Ignore invalid relocations in relocation_next X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f61cefa88de1c293af6650a6dc2061e000a9722b;p=thirdparty%2Felfutils.git dwarflint: Ignore invalid relocations in relocation_next --- diff --git a/src/dwarflint.c b/src/dwarflint.c index e5f7bbec8..fb5e92fb3 100644 --- a/src/dwarflint.c +++ b/src/dwarflint.c @@ -2529,6 +2529,9 @@ relocation_next (struct relocation_data *reloc, uint64_t offset, reloc->index++; + if (rel->invalid) + continue; + if (rel->offset < offset) { if (st != skip_ok)