US stocks climbed on Monday, with chip stocks leading the tech sector higher while investors eyed a possible year-end rally.