U.S. stocks ended a low-volume session Monday with a loss for blue-chips and the third day of gains for the Nasdaq Composite and S&P 500, as some better sentiment on Greece and U.S. housing data countered rising fears about Spain.