From 21bb4bed8099c40da588288ee6bbfc33a6c40ff6 Mon Sep 17 00:00:00 2001 From: midipix Date: Feb 17 2024 17:51:25 +0000 Subject: driver: internals: renamed TAG_EXPSYM_* as TAG_EXPSYMS_*. --- diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index c728570..be7dfba 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -713,11 +713,11 @@ int slbt_get_driver_ctx( cctx.drvflags |= SLBT_DRIVER_EXPORT_DYNAMIC; break; - case TAG_EXPSYM_FILE: + case TAG_EXPSYMS_FILE: cctx.symfile = entry->arg; break; - case TAG_EXPSYM_REGEX: + case TAG_EXPSYMS_REGEX: cctx.regex = entry->arg; break; diff --git a/src/internal/slibtool_driver_impl.h b/src/internal/slibtool_driver_impl.h index a2e079d..cf9742d 100644 --- a/src/internal/slibtool_driver_impl.h +++ b/src/internal/slibtool_driver_impl.h @@ -62,8 +62,8 @@ enum app_tags { TAG_DLOPEN, TAG_DLPREOPEN, TAG_EXPORT_DYNAMIC, - TAG_EXPSYM_FILE, - TAG_EXPSYM_REGEX, + TAG_EXPSYMS_FILE, + TAG_EXPSYMS_REGEX, TAG_VERSION_INFO, TAG_VERSION_NUMBER, TAG_NO_SUPPRESS, diff --git a/src/skin/slbt_skin_default.c b/src/skin/slbt_skin_default.c index 3cd62e5..b6f4135 100644 --- a/src/skin/slbt_skin_default.c +++ b/src/skin/slbt_skin_default.c @@ -212,13 +212,13 @@ const struct argv_option slbt_default_options[] = { "allow symbols in the output file to be resolved via dlsym() " "[currently a no-op]"}, - {"export-symbols", 0,TAG_EXPSYM_FILE,ARGV_OPTARG_REQUIRED, + {"export-symbols", 0,TAG_EXPSYMS_FILE,ARGV_OPTARG_REQUIRED, ARGV_OPTION_HYBRID_ONLY|ARGV_OPTION_HYBRID_SPACE, 0,"", "only export the symbols that are listed in %s " "[currently a no-op]"}, - {"export-symbols-regex",0,TAG_EXPSYM_REGEX,ARGV_OPTARG_REQUIRED, + {"export-symbols-regex",0,TAG_EXPSYMS_REGEX,ARGV_OPTARG_REQUIRED, ARGV_OPTION_HYBRID_ONLY|ARGV_OPTION_HYBRID_SPACE, 0,"", "only export symbols mathing the regex expression %s "