summaryrefslogtreecommitdiff
path: root/src/skin
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-20 18:43:32 -0500
committermidipix <writeonce@midipix.org>2019-02-20 23:31:15 -0500
commit113d3fcaa8e7c14c65e8b45e0ab1baf93cb030a8 (patch)
tree054385cfa585c0f07b4bb6d62187c5312a50e767 /src/skin
parentc6570d037a1def5d7d25d832b28ca3ce7398657c (diff)
downloadmdso-113d3fcaa8e7c14c65e8b45e0ab1baf93cb030a8.tar.bz2
mdso-113d3fcaa8e7c14c65e8b45e0ab1baf93cb030a8.tar.xz
driver: added --crc support: output computed crc32|64 of exported symbols.
Diffstat (limited to 'src/skin')
-rw-r--r--src/skin/mdso_skin_default.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/skin/mdso_skin_default.c b/src/skin/mdso_skin_default.c
index 0c3fd85..8080c09 100644
--- a/src/skin/mdso_skin_default.c
+++ b/src/skin/mdso_skin_default.c
@@ -20,6 +20,10 @@ const struct argv_option mdso_default_options[] = {
{"obj", 'b',TAG_OBJ,ARGV_OPTARG_NONE,0,0,0,
"generate objects"},
+ {"crc", 'c',TAG_CRC,ARGV_OPTARG_REQUIRED,0,"32|64",0,
+ "compute and display the exported symbols' "
+ "%s-bit crc sum."},
+
{"machine", 'm',TAG_QUAD_PTR,ARGV_OPTARG_REQUIRED,0,"32|64",0,
"set machine bits to %s"},