[qwaq] Align progs memory to 64 bytes

It doesn't do much good for dynamic progs memory because zone currently
aligns to 8 bytes (oops, forgot to fix that), but at least the stack and
globals are properly aligned.
This commit is contained in:
Bill Currie 2022-01-31 23:40:21 +09:00
parent 98215b46ad
commit e3f88b2b9c

View file

@ -119,7 +119,7 @@ load_file (progs_t *pr, const char *name, off_t *_size)
static void *
allocate_progs_mem (progs_t *pr, int size)
{
return malloc (size);
return aligned_alloc (64, size);
}
static void