Finish the code of _grp_generate_section_hash().