July 7 (Reuters) - Canada's commodity-linked main stock index edged higher on Tuesday as a jump in oil prices boosted energy shares, offsetting concern about a global selloff in semiconductor stocks.
The Toronto Stock Exchange's S&P/TSX Composite index ended up 60.27 points, or 0.2%, at 35,272.59, after earlier touching its highest level since June 17.
o Chip stocks tumbled across the world despite memory chip giant Samsung Electronics <005930.KS reporting a 19-fold jump in second-quarter operating profit and surpassing its combined earnings over the past three years.
o "We are in for a more choppy phase, but earnings continue to provide strong support," said Angelo Kourkafas, senior global investment strategist at Edward Jones Investments. "The energy sector can provide some hedge against different scenarios."
o The energy sector rose 3% to a two-week high, helped by gains for Cenovus Energy, Imperial Oil and Enbridge.
o The price of oil settled 2.8% higher at $70.44 a barrel and then extended gains post-settlement, after the U.S. revoked the general license that authorized the sale of Iranian crude oil. Reports of attacks on vessels near the Strait of Hormuz also revived fears of disruptions to tanker shipping.
o Technology was up 0.9%, with shares of application software company Open Text Corp adding 3.2%, while consumer staples ended 1% higher.
o Just two of 10 major sectors ended lower, including materials, which includes metal mining shares. It lost 3.4% as the price of gold fell.
o Canada's trade surplus widened to a four-year high of C$4.24 billion ($2.98 billion) in May as exports rose for the fourth consecutive month.
(Reporting by Fergal Smith in Toronto and Sudeshna Ghoshal and Sruthi Shankar in Bengaluru; Editing by Sahal Muhammed and Alistair Bell)
By Sudeshna Ghoshal and Fergal Smith




















