From f1332826b864bafc67bdd91007b70df6e3a46587d95bdf77750342556c248b01 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 28 Sep 2011 12:47:58 +0000 Subject: [PATCH] add file OBS-URL: https://build.opensuse.org/package/show/Kernel:HEAD/kernel-source?expand=0&rev=7047 --- host-memcpy-hack.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 host-memcpy-hack.h diff --git a/host-memcpy-hack.h b/host-memcpy-hack.h new file mode 100644 index 000000000..fa90a3361 --- /dev/null +++ b/host-memcpy-hack.h @@ -0,0 +1,7 @@ +#ifdef __x86_64__ +/* + * Force the linker to use the older memcpy variant, so that the user programs + * work on older systems + */ +__asm__(".symver memcpy,memcpy@GLIBC_2.2.5"); +#endif