CM3: use a distinct stack for handler-mode and thread-mode.