summaryrefslogtreecommitdiffstats
path: root/linker
diff options
context:
space:
mode:
authorKito Cheng <kito@0xlab.org>2013-03-06 23:52:45 +0800
committerKito Cheng <kito@0xlab.org>2013-03-06 23:58:48 +0800
commit5e2492eb89b778ee71e37e7406fe290d986ece70 (patch)
treecbbcab7d154e153e518bc63418ec73d1da262396 /linker
parent20958207d5f9d36cc6f6b3edc4ff899c73b72b02 (diff)
downloadbionic-5e2492eb89b778ee71e37e7406fe290d986ece70.zip
bionic-5e2492eb89b778ee71e37e7406fe290d986ece70.tar.gz
bionic-5e2492eb89b778ee71e37e7406fe290d986ece70.tar.bz2
Fix TIMING/STATS/COUNT_PAGES dynamic linker build
Change-Id: I6432ac378816da253b83d1c7fb1d3fb64647b89e
Diffstat (limited to 'linker')
-rwxr-xr-xlinker/linker.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linker/linker.cpp b/linker/linker.cpp
index db0c9f1..b275953 100755
--- a/linker/linker.cpp
+++ b/linker/linker.cpp
@@ -1744,13 +1744,13 @@ static unsigned __linker_init_post_relocation(KernelArgumentBlock& args, unsigne
#if TIMING
gettimeofday(&t1,NULL);
- PRINT("LINKER TIME: %s: %d microseconds\n", e.argv[0], (int) (
+ PRINT("LINKER TIME: %s: %d microseconds\n", args.argv[0], (int) (
(((long long)t1.tv_sec * 1000000LL) + (long long)t1.tv_usec) -
(((long long)t0.tv_sec * 1000000LL) + (long long)t0.tv_usec)
));
#endif
#if STATS
- PRINT("RELO STATS: %s: %d abs, %d rel, %d copy, %d symbol\n", e.argv[0],
+ PRINT("RELO STATS: %s: %d abs, %d rel, %d copy, %d symbol\n", args.argv[0],
linker_stats.count[kRelocAbsolute],
linker_stats.count[kRelocRelative],
linker_stats.count[kRelocCopy],
@@ -1772,7 +1772,7 @@ static unsigned __linker_init_post_relocation(KernelArgumentBlock& args, unsigne
}
}
}
- PRINT("PAGES MODIFIED: %s: %d (%dKB)\n", e.argv[0], count, count * 4);
+ PRINT("PAGES MODIFIED: %s: %d (%dKB)\n", args.argv[0], count, count * 4);
}
#endif