summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/mdso_amain.c3
-rw-r--r--src/driver/mdso_driver_ctx.c4
2 files changed, 7 insertions, 0 deletions
diff --git a/src/driver/mdso_amain.c b/src/driver/mdso_amain.c
index b85a568..629b606 100644
--- a/src/driver/mdso_amain.c
+++ b/src/driver/mdso_amain.c
@@ -81,6 +81,9 @@ int mdso_main(int argc, char ** argv, char ** envp)
if (dctx->cctx->drvflags & MDSO_DRIVER_GENERATE_ASM)
mdso_create_implib_sources(dctx);
+ if (dctx->cctx->drvflags & MDSO_DRIVER_GENERATE_OBJECTS)
+ mdso_create_implib_objects(dctx);
+
for (unit=dctx->units; *unit && !dctx->errv[0]; unit++) {
if (!(mdso_get_unit_ctx(dctx,*unit,&uctx))) {
mdso_perform_unit_actions(dctx,uctx);
diff --git a/src/driver/mdso_driver_ctx.c b/src/driver/mdso_driver_ctx.c
index 1c96911..3decf70 100644
--- a/src/driver/mdso_driver_ctx.c
+++ b/src/driver/mdso_driver_ctx.c
@@ -196,6 +196,10 @@ int mdso_get_driver_ctx(
cctx.drvflags |= MDSO_DRIVER_GENERATE_ASM;
break;
+ case TAG_OBJ:
+ cctx.drvflags |= MDSO_DRIVER_GENERATE_OBJECTS;
+ break;
+
case TAG_QUAD_PTR:
if (!(strcmp(entry->arg,"64")))
cctx.drvflags |= MDSO_DRIVER_QUAD_PTR;