summaryrefslogtreecommitdiff
path: root/libbb/messages.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/messages.c')
-rw-r--r--libbb/messages.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/messages.c b/libbb/messages.c
index 1a10a8c..12a165a 100644
--- a/libbb/messages.c
+++ b/libbb/messages.c
@@ -57,4 +57,5 @@ WTMP_FILE;
char bb_common_bufsiz1[BUFSIZ+1];
struct globals;
-struct globals *ptr_to_globals;
+/* Make it reside in R/W memory: */
+struct globals *const ptr_to_globals __attribute__ ((section (".data")));