Rosen Penev
2416b30ec2
sparc: Export mcount for Clang-built modules
...
Clang emits calls to mcount for -pg on sparc64, while the
existing ftrace support only exports the _mcount name. With
FUNCTION_TRACER enabled, modules can therefore keep relocations
against mcount and fail during modpost:
ERROR: modpost: "mcount" [arch/sparc/kernel/chmc.ko] undefined!
_mcount and mcount are aliases in arch/sparc/lib/mcount.S. Export
the plain mcount alias as well so Clang-built modules can resolve
their profiling call target.
Assisted-by: Codex:GPT-5
Signed-off-by: Rosen Penev <rosenp@gmail.com >
Reviewed-by: Andreas Larsson <andreas@gaisler.com >
Signed-off-by: Andreas Larsson <andreas@gaisler.com >
2026-06-15 10:06:07 +02:00
..
2023-08-22 18:12:25 +09:00
2023-08-22 18:12:25 +09:00
2024-04-09 22:06:00 -07:00
2023-08-22 18:12:25 +09:00
2017-11-02 11:10:55 +01:00
2023-08-22 18:12:25 +09:00
2023-08-22 18:12:25 +09:00
2023-08-22 18:12:25 +09:00
2023-10-27 20:06:06 -04:00
2023-08-22 18:12:25 +09:00
2023-08-22 18:12:25 +09:00
2023-08-22 18:12:25 +09:00
2023-08-22 18:12:25 +09:00
2023-08-22 18:12:25 +09:00
2020-08-20 15:45:21 -04:00
2020-08-20 15:45:21 -04:00
2023-08-22 18:12:25 +09:00
2023-08-22 18:12:25 +09:00
2023-08-22 18:12:25 +09:00
2023-08-22 18:12:25 +09:00
2023-08-22 18:12:25 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2023-08-22 18:12:25 +09:00
2021-09-20 10:56:32 -07:00
2023-08-22 18:12:25 +09:00
2017-11-02 11:10:55 +01:00
2023-08-22 18:12:25 +09:00
2023-08-22 18:12:25 +09:00
2017-08-10 14:59:04 -07:00
2017-08-10 14:59:04 -07:00
2025-09-19 20:56:36 +02:00
2017-08-10 14:57:00 -07:00
2017-08-10 14:57:00 -07:00
2026-04-02 23:36:19 -07:00
2026-06-15 10:06:07 +02:00
2023-08-22 18:12:25 +09:00
2025-09-19 20:56:36 +02:00
2023-08-22 18:12:25 +09:00
2023-08-22 18:12:25 +09:00
2023-08-22 18:12:25 +09:00
2023-08-22 18:12:25 +09:00
2023-08-22 18:12:25 +09:00
2023-08-22 18:12:25 +09:00
2023-08-22 18:12:25 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-07-09 14:53:57 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-15 14:26:46 +09:00
2025-09-19 20:56:36 +02:00
2017-11-02 11:10:55 +01:00
2017-11-17 20:21:44 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2025-09-19 20:56:36 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2023-08-22 18:12:25 +09:00
2023-08-22 18:12:25 +09:00
2023-08-22 18:12:25 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2025-09-19 20:56:36 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2025-09-19 20:56:36 +02:00
2017-11-02 11:10:55 +01:00
2019-05-21 11:28:45 +02:00
2023-08-22 18:12:25 +09:00