summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/driver/mdso_driver_ctx.c4
-rw-r--r--src/internal/mdso_driver_impl.h1
-rw-r--r--src/skin/mdso_skin_default.c3
3 files changed, 8 insertions, 0 deletions
diff --git a/src/driver/mdso_driver_ctx.c b/src/driver/mdso_driver_ctx.c
index 21715fb..44eb61b 100644
--- a/src/driver/mdso_driver_ctx.c
+++ b/src/driver/mdso_driver_ctx.c
@@ -173,6 +173,10 @@ int mdso_get_driver_ctx(
cctx.drvflags |= MDSO_DRIVER_VERSION;
break;
+ case TAG_QUAD_PTR:
+ cctx.drvflags |= MDSO_DRIVER_QUAD_PTR;
+ break;
+
case TAG_LIBNAME:
cctx.libname = entry->arg;
break;
diff --git a/src/internal/mdso_driver_impl.h b/src/internal/mdso_driver_impl.h
index 09f082a..440ff1e 100644
--- a/src/internal/mdso_driver_impl.h
+++ b/src/internal/mdso_driver_impl.h
@@ -10,6 +10,7 @@
enum app_tags {
TAG_HELP,
TAG_VERSION,
+ TAG_QUAD_PTR,
TAG_LIBNAME,
TAG_DSTDIR,
TAG_PRETTY,
diff --git a/src/skin/mdso_skin_default.c b/src/skin/mdso_skin_default.c
index a6a4793..8969023 100644
--- a/src/skin/mdso_skin_default.c
+++ b/src/skin/mdso_skin_default.c
@@ -8,6 +8,9 @@ const struct argv_option mdso_default_options[] = {
{"help", 'h',TAG_HELP,ARGV_OPTARG_OPTIONAL,"short|long",0,
"show usage information [listing %s options only]"},
+ {"machine", 'm',TAG_QUAD_PTR,ARGV_OPTARG_REQUIRED,"32|64",0,
+ "set machine bits to %s"},
+
{"libname", 'n',TAG_LIBNAME,ARGV_OPTARG_REQUIRED,0,"<libname>",
"set dependency library name to %s"},