diff options
author | Thomas Weißschuh <[email protected]> | 2024-08-07 23:51:38 +0200 |
---|---|---|
committer | Thomas Weißschuh <[email protected]> | 2024-08-10 17:08:10 +0200 |
commit | 0daf8c86a45163f35b8d4f7795068c2511dd0ad9 (patch) | |
tree | fae8d956a77e757ed32be1db9c5d1653ef5a5afe /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 55850eb4e582f0696f40b8315ac31a45d6a4955e (diff) |
tools/nolibc: mips: load current function to $t9
The MIPS calling convention requires the address of the current function
to be available in $t9.
This was not done so far.
For GCC this seems to have worked, but when compiled with clang the
executable segfault instantly.
Properly load the address of _start_c() into $t9 before calling it.
Acked-by: Willy Tarreau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions