Stocks on Wall Street shook off a choppy start and closed higher Monday, extending the market’s gains from last week.

The initial drop followed weakness in overseas markets as the global tally of coronavirus infections approaches 9 million. Technology companies led the way, outweighing losses in health care and other sectors.

On Monday:

The S&P 500 gained 20.12 points, or 0.6%, to 3,117.86.

The Dow Jones Industrial Average picked up 153.50 points, or 0.6%, to 26,024.96.

The Nasdaq composite climbed 110.35 points, or 1.1%, to 10,056.47.

The Russell 2000 index of small companies added 14.89 points, or 1.1%, to 1,433.53.

For the year:

The S&P 500 is down 112.92 points, 3.5%.

The Dow is down 2,513.48 points, or 8.8%.

The Nasdaq is up 1,083.87 points, or 12.1%.

The Russell 2000 is down 234.94 points, or 14.1%.