aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2025-06-23 21:15:54 +0000
committerThomas Weißschuh <[email protected]>2025-07-04 11:26:07 +0000
commit02217ad447d7b1dd592cfc8253a07375d0b32aa7 (patch)
treefbbfcee49d68feb1cd4bd8b958c1d87dd673af36 /lib/crypto/mpi/mpi-cmp.c
parentselftests/nolibc: use file driver for QEMU serial (diff)
downloadkernel-02217ad447d7b1dd592cfc8253a07375d0b32aa7.tar.gz
kernel-02217ad447d7b1dd592cfc8253a07375d0b32aa7.zip
tools/nolibc: add support for SuperH
Add support for SuperH/"sh" to nolibc. Only sh4 is tested for now. The startup code is special: __nolibc_entrypoint_epilogue() calls __builtin_unreachable() which emits a call to abort(). To make this work a function prologue is generated to set up a GOT pointer which corrupts "sp". __builtin_unreachable() is necessary for __attribute__((noreturn)). Also depending on compiler flags (for example -fPIC) even more prologue is generated. Work around this by defining a nested function in asm. Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70216 Signed-off-by: Thomas Weißschuh <[email protected]> Acked-by: Willy Tarreau <[email protected]> Acked-by: Rob Landley <[email protected]> Acked-by: D. Jeff Dionne <[email protected]> Tested-by: John Paul Adrian Glaubitz <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions