correct memory sizes
flags
ret type
bss symbols