Pedestrians cross a street in front of a Rite Aid store in Oakland, California.

Check out the companies making headlines in midday trading.

Rite Aid — Shares of Rite Aid rallied 21.3% after it reported a quarterly profit of 15 cents per share, smashing analysts' expectations for a quarterly loss of 32 cents per share. The drugstore chain also announced a store-closure program it expects will help save about $25 million annually.