aboutsummaryrefslogtreecommitdiff
path: root/stdlib/old_atexit.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/old_atexit.c')
-rw-r--r--stdlib/old_atexit.c2
1 files changed, 1 insertions, 1 deletions
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);