diff options
| author | Madhavan Srinivasan <[email protected]> | 2024-08-12 09:41:52 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2024-09-09 06:35:04 +0000 |
| commit | 8c9c01ce695eea84d19482e7429e3d54ceb7585c (patch) | |
| tree | a5428c5bb5157ce0ed0db59c60c919d7f9af2c3a /arch/powerpc/sysdev/fsl_msi.c | |
| parent | macintosh/via-pmu: register_pmu_pm_ops() can be __init (diff) | |
| download | kernel-8c9c01ce695eea84d19482e7429e3d54ceb7585c.tar.gz kernel-8c9c01ce695eea84d19482e7429e3d54ceb7585c.zip | |
selftests/powerpc: Allow building without static libc
Currently exec-target.c is linked statically with libc, which on Fedora
at least requires installing an additional package (glibc-static).
If that package is not installed the build fails with:
CC exec_target
/usr/bin/ld: cannot find -lc: No such file or directory
collect2: error: ld returned 1 exit status
All exec_target.c does is call sys_exit, which can be done easily enough
using inline assembly, and removes the requirement for a static libc to
be installed.
Suggested-by: Michael Ellerman <[email protected]>
Signed-off-by: Madhavan Srinivasan <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'arch/powerpc/sysdev/fsl_msi.c')
0 files changed, 0 insertions, 0 deletions
