US fastfood giant McDonald's has signed a deal taking its sponsorship of the Olympic games to 2012, and said it would expand its operations in China ahead of the 2008 Beijing Olympic games.