create-diff-object: refactor the special section support