I was reading throught the recordmcount.pl starting comment, and spotted a tiny discrepancy. The second example is about my_func not being global, but the example code has the ".globl my_func" statement just moved.
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -57,7 +57,6 @@ · 56 unmodified lines | ||
| 57 | 57 | # call mcount (offset: 0x5) |
| 58 | 58 | # [...] |
| 59 | 59 | # ret |
| 60 | −# .globl my_func | |
| 61 | 60 | # other_func: |
| 62 | 61 | # [...] |
| 63 | 62 | # call mcount (offset: 0x1b) |