On Mon, Feb 12, 2024 at 10:41:18AM -0600, Timothy Pearson wrote:
Implement gpr1 and fpu save/restore functions per the ABI v2 documentation.
There is no "ABI v2". This is the ELFv2 ABI, it is a name, it is not a
version 2 of anything (in fact, it is version 1 everywhere).
The same functions are needed and used in other ABIs, too.
But, why do this patch? You just need
+LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
+libs-y += $(LIBGCC)
and nothing more. It is required for proper functioning of GCC to link
with the libgcc support library.
Segher