S&P 500 Posts Sixth Straight Weekly Gain