Include function list in CG data.
Adjustment to writeSelfEntry to prepare for selr refs.