In the original The Dark Knight Returns, Superman gets hit by a nuke and can't reach sunlight to recover. Instead, he absorbs a rainforest's worth of photosynthesis. That's probably not considered cannon, but it kind of backs up the idea that they're both using photosynthesis.