Cruise line operator Carnival reported earnings that topped estimates and issued an upbeat outlook for the year.

Shares of Facebook rallied 3.8% to end the day at $33.05 after languishing in its post-IPO funk for several weeks.

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

Oil for August delivery rose $1.56 cents to end at $79.76 a barrel.

Gold futures for August delivery rose $1.40 to end at $1,566.90 an ounce.

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