]> git.ipfire.org Git - thirdparty/gcc.git/commit
libsanitizer: Replace memcpy with internal version in sanitizer_common
authorDaniel Cederman <cederman@gaisler.com>
Tue, 16 Jan 2024 13:57:15 +0000 (14:57 +0100)
committerDaniel Hellstrom <daniel@gaisler.com>
Fri, 19 Jan 2024 09:40:10 +0000 (10:40 +0100)
commit3670fb86bcd670f9183d7ff43612746d40dc113f
tree885351920de571f25b36fc9d65dab2e70ca2429e
parentee2aa93e9cd0d62f840cb6614c3cd12c15301a72
libsanitizer: Replace memcpy with internal version in sanitizer_common

When GCC is configured with --enable-target-optspace the compiler generates
a memcpy call in the Symbolizer constructor in sanitizer_symbolizer.cpp
when compiling for SPARC V8. Add HAVE_AS_SYM_ASSIGN to replace it with a
call to __sanitizer_internal_memcpy.

libsanitizer/ChangeLog:

* sanitizer_common/Makefile.am (DEFS): Add @AS_SYM_ASSIGN_DEFS@.
* sanitizer_common/Makefile.in: Regenerate.
libsanitizer/sanitizer_common/Makefile.am
libsanitizer/sanitizer_common/Makefile.in