diff options
Diffstat (limited to 'lib/asm-offsets.c')
-rw-r--r-- | lib/asm-offsets.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/asm-offsets.c b/lib/asm-offsets.c index 4eb6174..2209561 100644 --- a/lib/asm-offsets.c +++ b/lib/asm-offsets.c @@ -21,5 +21,9 @@ int main(void) { + /* Round up to make sure size gives nice stack alignment */ + DEFINE(GENERATED_GBL_DATA_SIZE, + (sizeof(struct global_data)+15) & ~15); + return 0; } |