René Rebe
cb8f224ccf
modpost: Amend ppc64 save/restfpr symnames for -Os build
[ Upstream commit 3cd9763ce4ad999d015cf0734e6b968cead95077 ]
Building a size optimized ppc64 kernel (-Os), gcc emits more FP
save/restore symbols, that the linker generates on demand into the
.sfpr section. Explicitly allow-list those in scripts/mod/modpost.c,
too. They are needed for the amdgpu in-kernel floating point support.
MODPOST Module.symvers
ERROR: modpost: "_restfpr_20" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
ERROR: modpost: "_restfpr_26" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
ERROR: modpost: "_restfpr_22" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
ERROR: modpost: "_savegpr1_27" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
ERROR: modpost: "_savegpr1_25" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
ERROR: modpost: "_restfpr_28" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
ERROR: modpost: "_savegpr1_29" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
ERROR: modpost: "_savefpr_20" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
ERROR: modpost: "_savefpr_22" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
ERROR: modpost: "_restfpr_15" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
WARNING: modpost: suppressed 56 unresolved symbol warnings because there were too many)
Signed-off-by: René Rebe <rene@exactco.de>
Link: https://patch.msgid.link/20251123.131330.407910684435629198.rene@exactco.de
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Ulrich Hecht <uli@kernel.org>
2026-04-12 13:56:47 +08:00
..
2022-01-27 09:04:33 +01:00
2025-10-16 12:15:30 +02:00
2025-04-03 10:09:47 +02:00
2025-12-22 04:34:10 +01:00
2026-04-12 13:56:47 +08:00
2022-10-26 13:19:24 +02:00
2021-08-12 13:19:42 +02:00
2023-04-26 11:21:53 +02:00
2021-05-22 10:59:50 +02:00
2024-03-01 13:06:11 +01:00
2025-07-17 10:07:56 +02:00
2021-05-22 10:59:50 +02:00
2022-11-25 17:40:20 +01:00
2022-12-08 11:18:32 +01:00
2024-08-19 05:32:17 +02:00
2024-08-19 05:32:17 +02:00
2025-09-16 13:55:19 +02:00
2021-11-26 11:36:06 +01:00
2023-03-17 08:31:43 +01:00
2024-04-13 12:50:06 +02:00
2022-08-25 11:15:42 +02:00
2022-09-05 10:26:33 +02:00
2024-12-05 10:59:29 +01:00
2022-09-28 11:02:53 +02:00
2023-05-30 12:42:10 +01:00
2022-01-05 12:34:58 +01:00
2023-12-20 15:38:01 +01:00
2021-05-22 10:59:50 +02:00
2023-08-11 11:45:01 +02:00