lib: Mark memcpy() and memmove() as relocation code
authorSimon Glass <sjg@chromium.org>
Sun, 26 Jan 2025 18:43:23 +0000 (11:43 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 3 Feb 2025 22:01:36 +0000 (16:01 -0600)
commit4ca29703906ec28814a6fc09088ca4b01e4f94ca
tree2d94971d360e29dfedcaf34c64be06ab7d4de5bc
parent6e5b3d4265971a0494c4ef016597f65c41651ed9
lib: Mark memcpy() and memmove() as relocation code

Mark these functions as needed by relocation. These functions are used
to copy data while relocating the next-phase image.

Drop the 'safe' versions from SPL as they are not needed. Change the
static array to a local one, to avoid link errors when trying to access
the data.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/string.c