finki-main
main
|
Last change
on this file since 62b2964 was 81bc7da, checked in by Klimentina Efremova <klimentina08642@…>, 3 months ago |
|
Initial commit
|
-
Property mode
set to
100644
|
|
File size:
861 bytes
|
| Line | |
|---|
| 1 | // http://web.archive.org/web/20140401031018/http://rjpower9000.wordpress.com:80/2012/04/09/fun-with-shared-libraries-version-glibc_2-14-not-found/
|
|---|
| 2 |
|
|---|
| 3 | #if defined(__linux__)
|
|---|
| 4 |
|
|---|
| 5 | #define _GNU_SOURCE
|
|---|
| 6 | #include <features.h>
|
|---|
| 7 | #undef _GNU_SOURCE
|
|---|
| 8 |
|
|---|
| 9 | #if defined(__USE_GNU)
|
|---|
| 10 |
|
|---|
| 11 | #if defined(__x86_64__)
|
|---|
| 12 | __asm__(".symver memcpy,memcpy@GLIBC_2.2.5");
|
|---|
| 13 | __asm__(".symver exp,exp@GLIBC_2.2.5");
|
|---|
| 14 | __asm__(".symver log,log@GLIBC_2.2.5");
|
|---|
| 15 | __asm__(".symver log2,log2@GLIBC_2.2.5");
|
|---|
| 16 | __asm__(".symver pow,pow@GLIBC_2.2.5");
|
|---|
| 17 | __asm__(".symver fcntl64,fcntl@GLIBC_2.2.5");
|
|---|
| 18 | #endif
|
|---|
| 19 |
|
|---|
| 20 | #if defined(__aarch64__) || defined(_M_ARM64)
|
|---|
| 21 | __asm__(".symver memcpy,memcpy@GLIBC_2.17");
|
|---|
| 22 | __asm__(".symver exp,exp@GLIBC_2.17");
|
|---|
| 23 | __asm__(".symver log,log@GLIBC_2.17");
|
|---|
| 24 | __asm__(".symver log2,log2@GLIBC_2.17");
|
|---|
| 25 | __asm__(".symver pow,pow@GLIBC_2.17");
|
|---|
| 26 | __asm__(".symver fcntl64,fcntl@GLIBC_2.17");
|
|---|
| 27 | #endif
|
|---|
| 28 |
|
|---|
| 29 | #endif
|
|---|
| 30 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.