Stocks edge up as tech rebound offsets Middle East jitters Reuters