According to MacLysaght, Gilhooly is a branch of O'Mulvey, and from Leitrim and Roscommon. Whooley, on the other hand, is a branch of O'Driscoll, from around the Clonakilty area. The name is common around Skibbereen. Eliza Wholly from Aughadown could have been one of them.
I have seen Driscoll mistranscribed as McCarthy. The names don't even LOOK alike nor do they have anything to do with each other, so ANY mistake is possible when whoever is writing the record just flips out. Good luck with your research!