S&P posts slight gains on industrials, IBM drags

(Reuters) - The benchmark S&P 500 index posted slight gains on Friday, helped by gains from industrial and energy stocks, but IBM's disappointing results and a sell-off in semiconductor stocks weighed on the Nasdaq and the Dow.