Stocks erased initial gains on Thursday, as the S&P 500 and Nasdaq were pulled lower by weakness in chipmakers and retailers.

* The Dow Jones industrial average <.DJI> added 11.05 points, or 0.11 percent, to 10,508.93. The Standard & Poor's 500 Index <.SPX> gained 0.01 point to 1,106.14. The Nasdaq Composite Index <.IXIC> dropped 6.17 points, or 0.27 percent, to 2,258.39.

(Reporting by Chuck Mikolajczak; Editing by Kenneth Barry)