NEW YORK -  Wall Street drifted marginally higher to new records despite finishing virtually flat ahead of a holiday weekend.

With the three major stock indices clinging to advances made in a week-long rally, Friday's hair's-breadth gains were all that was necessary to see the Nasdaq and S&P 500 break Thursday's all-time highs. The broad S&P 500 gained a fraction to end the week at and 2,415.82, while the Nasdaq rose 0.8 percent to close at 6,210.19. The Dow Jones Industrial Average was virtually flat at 21,080.28, putting it down less than three points below Thursday's close.

The markets will be closed Monday in observance of Memorial Day and appeared to be taking a breather after six days of steady gains. Investors also appeared unmoved on Friday by fresh economic data which showed the first quarter for the US economy was stronger than first reported, but that sales of durable goods fell for the first time in five months.

The upward revision could boost expectations the Federal Reserve will raise interest rates again next month because it confirms policymakers' views that first-quarter weakness was only "transitory." "We had a little bit of bounce in oil from yesterday. The factor today is that no one is really committing to do much of anything before the long weekend," said Peter Cardillo of First Standard Financial.

Among the day's biggest losers on the Dow were hardware megastore chain Home Depot, which fell one percent, drugmaker Johnson & Johnson, which gave up 0.6 percent and IBM, which lost 0.7 percent. Shares in the bulk discount retailer Costco ended the day up 1.8 percent after posting quarterly earnings that beat Wall Street expectations. But struggling department store chain Sears fell 8.3 percent, giving up Thursday's gains, when it spiked on a rare quarterly profit.