efi: libstub: Provide local implementations of strrchr() and memchr()

Clone the implementations of strrchr() and memchr() in lib/string.c so we can use them in the standalone zboot decompressor app. These routines are used by the FDT handling code. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>


Author Ard Biesheuvel Date Commit Parent 732ea9db
+64 -6
4 changed files
+64 -6
4 changed files