Markets | Tue Jan 21, 2014 5:08pm EST

S&P 500 ends with slight gains; IBM falls late