summaryrefslogtreecommitdiffhomepage
path: root/src/driver/mdso_driver_ctx.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-02-07 23:06:15 -0500
committermidipix <writeonce@midipix.org>2017-02-08 01:19:08 -0500
commitc12a925ddba06fc1d11298fc26c10f2d5ffb91db (patch)
tree8440a09f0972f71282c5fefe1b6d56fc2a9bc036 /src/driver/mdso_driver_ctx.c
parent2f03312a60aefe175c0d6764975c632b41e676c8 (diff)
downloadmdso-c12a925ddba06fc1d11298fc26c10f2d5ffb91db.tar.bz2
mdso-c12a925ddba06fc1d11298fc26c10f2d5ffb91db.tar.xz
driver: added --asm support.
Diffstat (limited to 'src/driver/mdso_driver_ctx.c')
-rw-r--r--src/driver/mdso_driver_ctx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/driver/mdso_driver_ctx.c b/src/driver/mdso_driver_ctx.c
index 6c0c491..1c96911 100644
--- a/src/driver/mdso_driver_ctx.c
+++ b/src/driver/mdso_driver_ctx.c
@@ -192,6 +192,10 @@ int mdso_get_driver_ctx(
cctx.drvflags |= MDSO_DRIVER_VERSION;
break;
+ case TAG_ASM:
+ cctx.drvflags |= MDSO_DRIVER_GENERATE_ASM;
+ break;
+
case TAG_QUAD_PTR:
if (!(strcmp(entry->arg,"64")))
cctx.drvflags |= MDSO_DRIVER_QUAD_PTR;