full-year sales forecast.
Home improvement chains tend to benefit as housing strengthens. U.S. home resales unexpectedly increased in October, while separate data showed homebuilder sentiment rose to its highest level in over six years in November.
The PHLX Housing Index rose 1.8 percent.
The Dow Jones industrial average gained 207.65 points, or 1.65 percent, at 12,795.96. The Standard & Poor's 500 Index was up 27.01 points, or 1.99 percent, at 1,386.89. The Nasdaq Composite Index was up 62.94 points, or 2.21 percent, at 2,916.07.
The S&P edged above its 200-day moving average at around 1,382, which has acted as a resistance level since a drop below the technically significant mark on November 8.
Tyson Foods Inc beat expectations and gave an upbeat forecast, sending its stock up 10.9 percent to $18.72.
Intel shares edged higher, up 0.3 percent to $20.25 after the company said its chief executive will retire in May.
Commodities prices surged, boosting shares of resource companies. Freeport-McMoRan rose 4.1 percent to $38.28, while U.S. Steel rose 5.3 percent to $21.15. The S&P materials sector advanced 2.9 percent as the best performing of the 10 major S&P sectors.
Volume was light and is expected to remain so throughout the Thanksgiving Day holiday-shortened trading week, with about 6.14 billion shares traded on the New York Stock Exchange, NYSE MKT and Nasdaq, below the daily average of 6.49 billion.
Advancing stocks outnumbered declines on the NYSE by 2,678 to 350, while on the Nasdaq, advancers beat decliners 1,949 to 521.