dynup/kpatch — pull request #287 by spartacus06 (2014-07-01 20:33:27+00:00)
Title: refactor new section pair creation

New section pairs are created three times in the current code for
.kpatch.patches, .kpatch.dynrelas, and __mcount_loc. Each time this is
done, it requires about 40 LOCs.

The commit creates a new helper function, create_section_pair(), to
consolidate this.

Signed-off-by: Seth Jennings