(Reuters) - U.S. stocks held modest gains on Friday in another volatile session during a week of huge swings that shook the market out of months of calm.