summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/main.c b/src/main.c
index 0eb6e00..a179fcd 100644
--- a/src/main.c
+++ b/src/main.c
@@ -59,18 +59,6 @@ int main(int argc, char **argv)
if (!opts.fnOutput) {
printf("No output file specified - no further operations performed.\n");
} else {
- if (opts.expandNobitsOffs) {
- elfu_mExpandNobits(me, opts.expandNobitsOffs);
- }
-
- if (opts.insertBeforeSz) {
- elfu_mInsertSpaceBefore(me, opts.insertBeforeOffs, opts.insertBeforeSz);
- }
-
- if (opts.insertAfterSz) {
- elfu_mInsertSpaceAfter(me, opts.insertAfterOffs, opts.insertAfterSz);
- }
-
if (opts.fnReladd) {
ELFHandles hRel = { 0 };
ElfuElf *mrel = NULL;
@@ -90,12 +78,12 @@ int main(int argc, char **argv)
elfu_mReladd(me, mrel);
}
}
-
}
elfu_mCheck(me);
printf("Output model checked.\n");
+ elfu_mDumpElf(me);
openElf(&hOut, opts.fnOutput, ELF_C_WRITE);
if (!hOut.e) {