July 20 (Reuters) - Halliburton (NYSE:HAL) Co HAL.N , the world's No.2 oilfield services provider, posted a quarterly loss, compared with a year-earlier profit, hurt mainly by the $3.5 billion fee it paid for terminating a deal to buy Baker Hughes Inc BHI.N .
Net loss attributable to Halliburton was $3.21 billion, or $3.73 per share, in the second quarter ended June 30, compared with a profit of $54 million, or 6 cents per share, a year earlier. said revenue fell 35 percent to $3.84 billion.