Fix stack / flash addresses.