Unexpected dealmaking is lifting stocks as investors brace for a key event on Friday.