Facebook jumped on the tech bandwagon, ending 5% higher after six straight days of losses.

Shares of Procter & Gamble finished 3% higher after the consumer products company topped earnings expectations. Revenues were in line with expectations.

Kraft said late Thursday that profits rose in the second quarter, adding that it expects continued growth in the remainder of the year.

NYSE Euronext's quarterly results beat Wall Street's earnings and revenue forecasts.

Currencies and commodities: The dollar fell against the euro and British pound, but rose slightly versus the Japanese yen.

Oil for September delivery rose $4.12 to $91.25 a barrel.

Gold futures for August delivery rose $15.10 to $1,605.80 an ounce.

Bonds: The price on the benchmark 10-year U.S. Treasury fell, pushing the yield up to 1.57% from 1.48% late Thursday.