Initial work on copying an ELF file
[centaur.git] / src / main.c
index 9791feb477820de5b70c27866f3eb57620d8a622..4ed00597e6e9629c007d6d5910f0377f940c7c48 100644 (file)
@@ -56,6 +56,11 @@ int main(int argc, char **argv)
     printSections(hIn.e);
   }
 
+  /* Copy the input ELF to the output file */
+  if (opts.fnOutput) {
+    elfu_copyElf(hOut.e, hIn.e);
+  }
+
 
 
 EXIT: