Stocks sold off late in the session, but major indexes held onto modest gains.

Dow ends +131, +0.5% to 26,156. S&amp;P +0.4%. Dow transports +1.3% as railroads rally.

Nasdaq hits a fresh record high, +0.7% to 10,131.  Big techs at new highs include $AAPL, $AMZN, $FB and $MSFT.