Technology companies led a rally on Wall Street that powered the S&P 500 to an all-time high and gave the index its best weekly gain since February. The S&P 500 rose 1 percent, enough to recoup its losses from a day earlier. The benchmark index closed higher four of the last five days, finishing 3.8 percent higher for the week. The Dow Jones Industrial Average rose 0.6 percent and the Nasdaq composite gained 0.7 percent, both recovering from declines in the early going. Smaller-company stocks lagged the broader market, leaving the Russell 2000 index 0.4 percent lower. A late wave of buying solidified the gains for the market, which had wavered between small gains and losses in morning trading after the government reported another big rise in inflation last month. The Bureau of Labor Statistics said prices for U.S. consumers jumped 6.8 percent in November compared with a year earlier. …