mirror of
https://github.com/monero-project/monero.git
synced 2026-06-12 19:11:36 -07:00
lmdb: mark Apple text_env section as code
This commit is contained in:
Vendored
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user