This is PR34518,
Previously when LLD ICFed 2 sections it leaved 2 duplicate entries in .eh_frame
pointing to the same address. After that it "deduplicated" them from .eh_frame_header,
adjusting the amount of valid FDEs in its header.
As a result excessive entries in .eh_frame and excessive dummy data in .eh_frame_header
was emited to output. Patch fixes that.
This temporary variable is redundant.