Write relocations in yaml2obj.