summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/mdso_driver_ctx.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/driver/mdso_driver_ctx.c b/src/driver/mdso_driver_ctx.c
index 096c918..a80f99a 100644
--- a/src/driver/mdso_driver_ctx.c
+++ b/src/driver/mdso_driver_ctx.c
@@ -193,7 +193,10 @@ int mdso_get_driver_ctx(
break;
case TAG_QUAD_PTR:
- cctx.drvflags |= MDSO_DRIVER_QUAD_PTR;
+ if (!(strcmp(entry->arg,"64")))
+ cctx.drvflags |= MDSO_DRIVER_QUAD_PTR;
+ else
+ cctx.drvflags &= ~(uint64_t)MDSO_DRIVER_QUAD_PTR;
break;
case TAG_LIBPATH: