The broad market rebounded with bonds from some early weakness after a new report indicated a manageable pace of economic growth, allaying fears about inflation.
The gains were more pronounced than in recent days, but trading remained restrained ahead of a pivotal report on April employment.
The Dow Jones industrial average rose 6.14 points to close at 5,575.22.
Advancers led decliners by almost 5 to 4 on the New York Stock Exchange, with 1,295 up, 1,048 down and 801 unchanged. NYSE volume totaled 403.30 million shares vs. 393.20 million in the previous session.
The Nasdaq composite and the Russell 2000 list of smaller companies resumed their powerful rally after two days of meager gains.
The Nasdaq rose 8.43 to 1,198.95, while the Russell 2000 gained 2.00 to 350.28.
Trading was busier than in recent days, but still well below the hectic, earnings-driven pace of the past few weeks.
In other broad markets, the NYSE index rose 0.29 to 351.53 and the Standard & Poor's 500 index gained 0.41 to 654.58
At the American Stock Exchange, the market value index set a new record, rising 2.88 to 593.78.
Bonds started the day slightly lower, but rebounded later in the day.