diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/gprof/lookup.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/gprof/lookup.c b/usr.bin/gprof/lookup.c index 0f3b763..2561360 100644 --- a/usr.bin/gprof/lookup.c +++ b/usr.bin/gprof/lookup.c @@ -66,6 +66,12 @@ nllookup( address ) printf( "[nllookup] %d (%d) probes\n" , probes , nname-1 ); } # endif /* DEBUG */ +#if defined(__arm__) + if (nl[middle].name[0] == '$' && + nl[middle-1].value == nl[middle].value) + middle--; +#endif + return &nl[ middle ]; } if ( nl[ middle ].value > address ) { |