From 113d3fcaa8e7c14c65e8b45e0ab1baf93cb030a8 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 20 Feb 2019 18:43:32 -0500 Subject: driver: added --crc support: output computed crc32|64 of exported symbols. --- src/driver/mdso_amain.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/driver/mdso_amain.c') diff --git a/src/driver/mdso_amain.c b/src/driver/mdso_amain.c index bed201d..c0d0824 100644 --- a/src/driver/mdso_amain.c +++ b/src/driver/mdso_amain.c @@ -55,6 +55,12 @@ static void mdso_perform_unit_actions( { if (uctx->cctx->fmtflags & MDSO_OUTPUT_EXPORT_SYMS) mdso_output_export_symbols(dctx,uctx); + + if (uctx->cctx->drvflags & MDSO_DRIVER_COMPUTE_CRC32) + mdso_output_expsyms_crc32(dctx,uctx); + + if (uctx->cctx->drvflags & MDSO_DRIVER_COMPUTE_CRC64) + mdso_output_expsyms_crc64(dctx,uctx); } static int mdso_exit(struct mdso_driver_ctx * dctx, int ret) -- cgit v1.2.3