summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2009-06-16 16:21:16 +0200
committerPetr Machata <[email protected]>2009-06-16 16:21:16 +0200
commit8ce2e0870c93424ebdacd6713cba98fc86cf1aac (patch)
tree3f691a9849ef73e86add2b78fcc12d60968f1bde
parent974dbaee5afec031c82827fc72f7efe34b7079be (diff)
dwarflint: Cosmetic
-rw-r--r--src/dwarflint.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dwarflint.c b/src/dwarflint.c
index b0b8ca7a..147e10da 100644
--- a/src/dwarflint.c
+++ b/src/dwarflint.c
@@ -2511,10 +2511,7 @@ relocation_next (struct relocation_data *reloc, uint64_t offset,
while (reloc->index < reloc->size)
{
- struct where reloc_where = where_from_reloc (reloc, where);
-
struct relocation *rel = reloc->rel + reloc->index;
- where_reset_2 (&reloc_where, rel->offset);
/* This relocation entry is ahead of us. */
if (rel->offset > offset)
@@ -2529,6 +2526,8 @@ relocation_next (struct relocation_data *reloc, uint64_t offset,
{
if (st != skip_ok)
{
+ struct where reloc_where = where_from_reloc (reloc, where);
+ where_reset_2 (&reloc_where, rel->offset);
void (*w) (const struct where *, const char *, ...) = wr_error;
(*w) (&reloc_where,
((const char *[])