P4 to Git Change 1506901 by lmoriche@lmoriche_opencl_dev2 on 2018/01/23 17:08:11
SWDEV-1 - Cleanups required to build with gcc-5.4 Affected files ... ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#171 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/glibc_functions.cpp#1 add ... //depot/stg/opencl/drivers/opencl/compiler/sclibdefs.opencl#24 edit ... //depot/stg/opencl/drivers/opencl/compiler/spirv-tools/spirvdefs#2 edit ... //depot/stg/opencl/drivers/opencl/compiler/tools/caching/cache.cpp#14 edit ... //depot/stg/opencl/drivers/opencl/make/llvm.git/llvmdefs#10 edit ... //depot/stg/opencl/drivers/opencl/opencldefs#225 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/build/Makefile.palbe#12 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/imported/jemalloc/make/Makefile.jemalloc#3 edit ... //depot/stg/opencl/drivers/opencl/support/libcxx/build/Makefile.libcxx#6 edit ... //depot/stg/opencl/drivers/opencl/tools/clinfo/clinfo.cpp#4 edit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#if defined(__linux__)
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif // __cplusplus
|
||||
|
||||
asm (".symver memcpy, memcpy@GLIBC_2.2.5");
|
||||
void *__wrap_memcpy(void *dest, const void *src, size_t n)
|
||||
{
|
||||
return memcpy(dest, src, n);
|
||||
}
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif // __cplusplus)
|
||||
|
||||
#endif // __linux__
|
||||
مرجع در شماره جدید
Block a user