diff -urN binutils-2.21-orig/gprof/hist.c binutils-2.21/gprof/hist.c --- binutils-2.21-orig/gprof/hist.c 2009-12-11 22:42:13 +0900 +++ binutils-2.21/gprof/hist.c 2011-02-11 13:44:22 +0900 @@ -603,8 +603,8 @@ } else { - /* Search for symbol with highest per-call - execution time and scale accordingly. */ + /* Search for symbol with highest per-call execution time, and + scale so that the displayed value is in the range [100,100000). */ log_scale = 0; top_dog = 0; top_time = 0.0; @@ -635,7 +635,7 @@ { double scaled_value = SItab[log_scale].scale * top_time; - if (scaled_value >= 1.0 && scaled_value < 1000.0) + if (scaled_value >= 100.0) break; } }