Madhavan Srinivasan 8c9c01ce69 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 <mpe@ellerman.id.au>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240812094152.418586-1-maddy@linux.ibm.com
2024-09-09 16:35:04 +10:00
..
2024-07-16 12:09:03 -07:00
2024-07-30 19:22:41 -07:00
2024-04-25 20:56:15 -07:00
2024-07-26 09:50:36 -07:00
2024-07-26 09:50:36 -07:00
2024-08-02 09:33:35 -07:00
2024-07-28 10:52:15 -07:00
2024-06-06 11:44:42 -07:00
2024-07-23 18:15:51 -07:00
2024-03-26 11:07:21 -07:00