The market was driven by investor optimism about corporate earnings after strong earnings reports from soft-drink giant Coca-Cola and the two largest U.S. providers of phone service , AT&T and Verizon .