Fix RelocationTarget::JumpTable handling in wasm2obj (#195)

This commit is contained in:
Yury Delendik
2019-07-31 09:41:56 -05:00
committed by GitHub
parent 4767af276b
commit fff0198fb7

View File

@@ -96,6 +96,9 @@ pub fn emit_functions(
})
.map_err(|err| format!("{}", err))?;
}
RelocationTarget::JumpTable(_, _) => {
// ignore relocations for jump tables
}
_ => panic!("relocations target not supported yet: {:?}", r.reloc_target),
};
}