elf: Replace `strcpy` call with `memcpy` [BZ #29454]
GCC normally does this optimization for us in strlen_pass::handle_builtin_strcpy but only for optimized build. To avoid needing to include strcpy.S in the rtld build to support the debug build, just do the optimization by hand. (cherry picked from commit 483cfe1a)
Loading
Please register or sign in to comment