Stocks posted tiny gains on Wall Street as investors looked past a failed coup attempt in Turkey and focused on corporate deals and earnings reports, the AP reports. Technology stocks led the way higher Monday after Japan's SoftBank said it was buying British chip designer ARM Holdings. ARM's US-listed stock soared 41%. Bank stocks rose after Bank of America turned in earnings that were better than analysts were expecting. BofA climbed 3.3%. Energy companies fell along with the price of oil. Diamond Offshore dropped 2.2%. The Dow Jones industrial average rose 16 points, or 0.1%, to 18,533. The Standard & Poor's 500 gained 5 points, or 0.2%, to 2,166. The Nasdaq increased 26 points, or 0.5%, to 5,055. (More Dow Jones stories.)