Per NEC 250.32(B)(1) Exception No 1, if you have an old, compliant at the time, feeder without EGC to an outbuilding, then you can continue to use it as long as no other metallic paths exist to the building (such as a metal water line, telephone line, cable line, etc).
In that case you treat this feeder without EGC as if it were a service: you connect the outbuilding's grounding electrode system to the feeder neutral, and you establish a new EGC system at the outbuilding with a bonding jumper to the feeder neutral.
As Afjes commented, if the feeder is contained in a continuous metal conduit, that is your EGC, and the above does not apply.
Cheers, Wayne