lmdb: mark Apple text_env section as code

This commit is contained in:
selsta
2026-05-13 17:23:13 +02:00
parent fb5b06bd3b
commit 06d7bdd059
+1 -1
View File
@@ -247,7 +247,7 @@ union semun {
#ifdef __GNUC__
/** Put infrequently used env functions in separate section */
# ifdef __APPLE__
# define ESECT __attribute__ ((section("__TEXT,text_env")))
# define ESECT __attribute__ ((section("__TEXT,text_env,regular,pure_instructions")))
# else
# define ESECT __attribute__ ((section("text_env")))
# endif