diff options
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/canonicalize.c | 1 | ||||
-rw-r--r-- | stdlib/old_atexit.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/stdlib/canonicalize.c b/stdlib/canonicalize.c index 8388316..2168bbd 100644 --- a/stdlib/canonicalize.c +++ b/stdlib/canonicalize.c @@ -219,6 +219,7 @@ versioned_symbol (libc, __realpath, realpath, GLIBC_2_3); #if SHLIB_COMPAT(libc, GLIBC_2_0, GLIBC_2_3) char * +attribute_compat_text_section __old_realpath (const char *name, char *resolved) { if (resolved == NULL) diff --git a/stdlib/old_atexit.c b/stdlib/old_atexit.c index 45f330b..44bbd69 100644 --- a/stdlib/old_atexit.c +++ b/stdlib/old_atexit.c @@ -1,7 +1,7 @@ #include <shlib-compat.h> #if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2_2) -# define atexit __dyn_atexit +# define atexit attribute_compat_text_section __dyn_atexit # include "atexit.c" # undef atexit compat_symbol (libc, __dyn_atexit, atexit, GLIBC_2_0); |