libbb: make const_int_0 reside in rodata
This commit is contained in:
parent
1d31f0f380
commit
8607677529
@ -51,8 +51,10 @@ const char bb_PATH_root_path[] ALIGN1 =
|
|||||||
"PATH=/sbin:/usr/sbin:/bin:/usr/bin" BB_ADDITIONAL_PATH;
|
"PATH=/sbin:/usr/sbin:/bin:/usr/bin" BB_ADDITIONAL_PATH;
|
||||||
|
|
||||||
|
|
||||||
const int const_int_0;
|
|
||||||
const int const_int_1 = 1;
|
const int const_int_1 = 1;
|
||||||
|
/* explicitly = 0, otherwise gcc may make it a common variable
|
||||||
|
* and it will end up in bss */
|
||||||
|
const int const_int_0 = 0;
|
||||||
|
|
||||||
#include <utmp.h>
|
#include <utmp.h>
|
||||||
/* This is usually something like "/var/adm/wtmp" or "/var/log/wtmp" */
|
/* This is usually something like "/var/adm/wtmp" or "/var/log/wtmp" */
|
||||||
|
Loading…
Reference in New Issue
Block a user