summaryrefslogtreecommitdiffstats
path: root/courgette/ensemble_create.cc
diff options
context:
space:
mode:
Diffstat (limited to 'courgette/ensemble_create.cc')
-rw-r--r--courgette/ensemble_create.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/courgette/ensemble_create.cc b/courgette/ensemble_create.cc
index a5674ca9..c098710 100644
--- a/courgette/ensemble_create.cc
+++ b/courgette/ensemble_create.cc
@@ -76,6 +76,15 @@ TransformationPatchGenerator* MakeGenerator(Element* old_element,
EXE_WIN_32_X86);
return generator;
}
+ case EXE_ELF_32_X86: {
+ TransformationPatchGenerator* generator =
+ new PatchGeneratorX86_32(
+ old_element,
+ new_element,
+ new PatcherX86_32(old_element->region()),
+ EXE_ELF_32_X86);
+ return generator;
+ }
}
LOG(WARNING) << "Unexpected Element::Kind " << old_element->kind();