Tech companies power US stocks to solid weekly gain

The S&P 500 rose to a new high for the year Friday as resurgent technology stocks closed out their best week in four months with solid gains.