
René RebeandSasha Levin
8fb5c4c979
modpost: Amend ppc64 save/restfpr symnames for -Os build
[ Upstream commit 3cd9763ce4 ]
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>
2026-03-04 07:20:43 -05:00
..
2024-06-27 13:49:11 +02:00
2023-06-22 21:21:06 +09:00
2024-03-26 18:19:11 -04:00
2023-07-29 11:05:31 -04:00
2023-12-13 18:45:03 +01:00
2023-09-01 16:38:04 +09:00
2025-10-06 11:16:59 +02:00
2025-07-17 18:35:15 +02:00
2025-02-08 09:52:32 +01:00
2026-01-30 10:27:35 +01:00
2026-03-04 07:20:43 -05:00
2025-07-06 11:00:16 +02:00
2025-04-10 14:37:26 +02:00
2023-07-19 09:32:53 -06:00
2023-08-21 13:46:25 -07:00
2024-04-10 16:35:40 +02:00
2024-12-09 10:32:18 +01:00
2025-07-06 11:00:16 +02:00
2025-06-04 14:41:58 +02:00
2024-01-20 11:51:49 +01:00
2023-08-29 22:38:23 +09:00
2024-08-03 08:54:24 +02:00
2024-08-03 08:54:24 +02:00
2026-02-06 16:48:26 +01:00
2024-01-31 16:18:55 -08:00
2023-06-19 13:19:32 -07:00
2025-07-06 11:00:16 +02:00
2023-09-06 23:50:46 +02:00
2023-07-29 15:57:32 +09:00
2024-08-03 08:53:21 +02:00
2026-03-04 07:20:22 -05:00
2024-07-18 13:21:27 +02:00
2024-07-11 12:49:21 +02:00
2023-07-19 09:32:53 -06:00
2026-02-06 16:48:24 +01:00
2023-07-01 09:24:31 -07:00
2023-06-25 23:12:20 +09:00
2024-03-06 14:48:41 +00:00
2024-07-05 09:34:02 +02:00
2025-06-19 15:28:45 +02:00
2023-07-24 03:15:31 +09:00
2025-09-19 16:32:01 +02:00
2025-05-02 07:51:04 +02:00
2024-05-17 12:02:12 +02:00
2026-01-11 15:21:43 +01:00
2023-07-25 00:59:32 +09:00
2024-07-05 09:33:56 +02:00
2024-06-12 11:12:33 +02:00
2023-11-28 17:19:36 +00:00
2023-11-20 11:58:52 +01:00
2024-02-16 19:10:43 +01:00
2024-02-23 09:24:59 +01:00
2024-06-12 11:12:12 +02:00
2023-06-16 17:17:42 +02:00
2025-07-06 11:00:16 +02:00
2025-07-06 11:00:16 +02:00
2023-07-25 00:59:33 +09:00
2023-08-10 01:18:34 +02:00
2024-08-29 17:33:29 +02:00
2023-07-19 09:32:53 -06:00
2023-07-19 09:32:53 -06:00
2024-12-14 20:00:17 +01:00
2025-04-25 10:45:58 +02:00
2025-01-09 13:32:07 +01:00
2023-07-27 13:07:04 -07:00
2025-04-25 10:45:58 +02:00
2023-07-03 12:46:47 -07:00
2025-07-06 11:00:16 +02:00