projects
/
centaur.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Initial work on copying an ELF file
[centaur.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index 9791feb477820de5b70c27866f3eb57620d8a622..4ed00597e6e9629c007d6d5910f0377f940c7c48 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-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: