From 05ca7ea5f194f44e9f26567560cf4266a8e0f3f5 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 7 Oct 2016 22:27:13 -0400 Subject: driver: added support for -dlopen (currently a no-op). --- src/driver/slbt_driver_ctx.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/driver') diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index 1379731..ac41ed3 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -334,6 +334,10 @@ static int slbt_split_argv( *targv++ = argv[i++]; *targv++ = argv[i]; + } else if (!(strcmp("dlopen",&argv[i][1]))) { + *targv++ = argv[i++]; + *targv++ = argv[i]; + } else if (!(strcmp("export-symbols",&argv[i][1]))) { *targv++ = argv[i++]; *targv++ = argv[i]; @@ -990,6 +994,9 @@ int slbt_get_driver_ctx( cctx.drvflags |= SLBT_DRIVER_AVOID_VERSION; break; + case TAG_DLOPEN: + break; + case TAG_EXPSYM_FILE: cctx.symfile = entry->arg; break; -- cgit v1.2.3