Usually companies now ask the question "would this candidate be eligible for rehire in the future". If someone is fired for performance or other cause, the answer is more likely to be "no".
This works around potential libel issues associated with giving specific reasons.