|
@@ -218,7 +218,7 @@ func GetBase(fh *elf.FileHeader, loadSegment *elf.ProgHeader, stextOffset *uint6
|
218
|
218
|
// So the base should be:
|
219
|
219
|
if stextOffset != nil && (start%pageSize) == (*stextOffset%pageSize) {
|
220
|
220
|
// perf uses the address of _stext as start. Some tools may
|
221
|
|
- // adjust for this before calling GetBase, in which case the the page
|
|
221
|
+ // adjust for this before calling GetBase, in which case the page
|
222
|
222
|
// alignment should be different from that of stextOffset.
|
223
|
223
|
return start - *stextOffset, nil
|
224
|
224
|
}
|