dynup/kpatch — pull request #446 by flaming-toast (2014-10-06 00:14:43+00:00)
Title: Fix #430 by copying original modules to TEMPDIR

The diff for kpatch-gcc seems large, but it's really just the gcc/ld cases being wrapped in a conditional. Created a separate case for ld to catch any modules being linked during the second pass. It copies any modules it finds to `TEMPDIR/module`. I created a separate dir for this, but perhaps it makes more sense to put it in `TEMPDIR/orig` instead?

Tested with a few modules and it worked for me, would like confirmation that it works for other people. Let me know if there are issues.