diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/lineedit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index 4d33834ce..07db6358d 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c | |||
@@ -121,6 +121,8 @@ struct statics { | |||
121 | #endif | 121 | #endif |
122 | }; | 122 | }; |
123 | 123 | ||
124 | /* Make it reside in writable memory, yet make compiler understand | ||
125 | * that it is not going to change. */ | ||
124 | static struct statics *const ptr_to_statics __attribute__ ((section (".data"))); | 126 | static struct statics *const ptr_to_statics __attribute__ ((section (".data"))); |
125 | 127 | ||
126 | #define S (*ptr_to_statics) | 128 | #define S (*ptr_to_statics) |