diff options
author | midipix <writeonce@midipix.org> | 2024-02-10 03:49:05 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-02-10 04:33:07 +0000 |
commit | 3d55672811ed7f35d226ab714a5bd812729eb48b (patch) | |
tree | 53adb8e73066ae63c2a0a0b1259f239ae44eb283 /src/internal | |
parent | b080541d62820dd8bf73b37355d52b06095cc617 (diff) | |
download | slibtool-3d55672811ed7f35d226ab714a5bd812729eb48b.tar.bz2 slibtool-3d55672811ed7f35d226ab714a5bd812729eb48b.tar.xz |
link mode: move the argument vector logic to its own translation unit.
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/slibtool_linkcmd_impl.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/internal/slibtool_linkcmd_impl.h b/src/internal/slibtool_linkcmd_impl.h index c2598f3..df5a731 100644 --- a/src/internal/slibtool_linkcmd_impl.h +++ b/src/internal/slibtool_linkcmd_impl.h @@ -21,4 +21,34 @@ int slbt_exec_link_create_dep_file( const char * libfilename, bool farchive); +bool slbt_adjust_object_argument( + char * arg, + bool fpic, + bool fany, + int fdcwd); + +bool slbt_adjust_wrapper_argument( + char * arg, + bool fpic); + +int slbt_adjust_linker_argument( + const struct slbt_driver_ctx * dctx, + char * arg, + char ** xarg, + bool fpic, + const char * dsosuffix, + const char * arsuffix, + struct slbt_deps_meta * depsmeta); + +int slbt_exec_link_adjust_argument_vector( + const struct slbt_driver_ctx * dctx, + struct slbt_exec_ctx * ectx, + struct slbt_deps_meta * depsmeta, + const char * cwd, + bool flibrary); + +int slbt_exec_link_finalize_argument_vector( + const struct slbt_driver_ctx * dctx, + struct slbt_exec_ctx * ectx); + #endif |