summaryrefslogtreecommitdiffhomepage
path: root/src/logic/slbt_exec_link.c
AgeCommit message (Collapse)AuthorFilesLines
2018-07-11link mode: properly handle explicit archive input arguments.midipix1-5/+13
2018-07-11whitespace meditation.midipix1-9/+9
2018-07-11slbt_adjust_linker_argument(): properly handle external archives and libraries.midipix1-7/+9
2018-07-10slbt_adjust_linker_argument(): process dependencies also for non-pic .la args.midipix1-1/+1
2018-07-10slbt_adjust_linker_argument(): properly handle explicit .a/.so arguments.midipix1-0/+6
2018-07-07implementation: use of openat(): define _POSIX_C_SOURCE as needed.midipix1-0/+4
2018-07-06library interfaces: invocations of openat() now use the context's fdcwd.midipix1-6/+21
2018-07-05slbt_get_deps_meta(): fix typo (and hide).midipix1-1/+1
2018-06-29execution context: generated wrapper: replaced the stream with a pure fd.midipix1-9/+15
2018-06-29link mode: re-implemented slbt_exec_link_create_dep_file() w. pure fdio.midipix1-89/+120
2018-06-29link mode: re-implemented slbt_exec_link_adjust_argument_vector() w. pure fdio.midipix1-90/+73
2018-06-29slbt_exec_link_adjust_argument_vector(): free depsmeta memory upon error.midipix1-9/+26
2018-06-29link mode: re-implemented slbt_get_deps_meta() w. pure fdio.midipix1-41/+31
2018-06-27annual chores.midipix1-1/+1
2018-06-22link mode: properly handle the combination of -release and -version-info.midipix1-5/+29
2018-06-21link mode: slbt_exec_link_create_dep_file(): record top-level -L arguments.midipix1-0/+18
2018-06-21link mode: --disable-{shared|static}: use differently-named placeholders.midipix1-3/+1
2018-05-08link mode: pass --export-dynamic to the linker as needed.midipix1-0/+3
2017-12-20link mode: re-implemented slbt_exec_link_finalize_argument_vector().midipix1-94/+77
The above internal interface is now doing the right thing, namely to split the argument vector between object arguments and all other arguments, then rejoin the arguments by placing object arguments first, and all other arguments last.
2017-12-19link mode: argument vector ordering: treat {.a|.so} the same way as -lfoo.midipix1-25/+35
2017-10-26link mode: import library generation: added mdso support.midipix1-15/+43
2017-08-11link mode: use -fpic objects with -disable-static.midipix1-0/+3
2017-08-10link mode: argument reordering now supports libfoo.a --whole-archive wrapping.midipix1-11/+21
2017-08-10slibtool-shared: properly handle .la arguments when creating an archive.midipix1-1/+3
tool ==== slibtool-shared (or slibtool with -disable-static). scenario ======== - create libfoo.so (via libfoo.la). - create libbar.a (via libbar.la), with libfoo.la as an input argument. Before this fix, slibtool failed since it could not find libfoo.a.slibtool.deps. After this fix, slibtool properly handles this scenario, first by detecting that there is no archive for which secondary dependencies need to be processed, and then by detecting that libfoo.a is a symlink to /dev/null.
2017-08-10slbt_exec_link_create_dep_file(): properly initialize and track fdeps.midipix1-23/+13
2017-08-09link mode: reluctantly support packages that rely on argument reordering.midipix1-0/+122
2017-08-07error trace: remove and fix inadvertent calls to strerror(3).midipix1-4/+1
2017-02-08link mode: static archives: always have ar(1) act as ranlib(1).midipix1-27/+4
2017-02-05annual chores, properly performed.midipix1-1/+1
2017-02-04annual chores.midipix1-1/+1
2017-01-08link mode: fix fdepfile construction when determining dynlib dependency.midipix1-1/+1
2016-12-14link mode: create an archive /dev/null symlink placeholder as needed.midipix1-1/+27
2016-12-03link mode: properly determine whether -L and -ldeplib are needed.midipix1-2/+18
2016-12-03slbt_exec_link_create_dep_file(): fix construction of dynamic dep. file name.midipix1-2/+2
2016-11-19link mode: do not respect -disable-static without -rpath.Felix Janda1-1/+2
When no -rpath argument is provided we cannot build a dynamic library. To match gnu libtool's behavior, build in this case a static library even if -disable-static has been specified.
2016-11-05link mode: respect -disable-static.midipix1-0/+4
2016-11-01error trace: use descriptive errcodes for invocations of SLBT_CUSTOM_ERROR.Kylie McClain1-3/+3
2016-09-27link mode: properly handle indirect dependencies of .a archives.midipix1-18/+39
2016-09-27link mode: confirm need for archive import; limit .a deps to external deps.midipix1-3/+10
2016-09-26link mode: -L.libs for current-directory .la input argument: the missing bits.midipix1-0/+1
2016-09-26link mode: take a strightforward approach towards depsmeta->infolen.midipix1-6/+3
2016-09-25link mode: properly handle -all-static when creating an executable image.midipix1-0/+4
2016-09-23link mode: add -L.libs for current-directory .la input arguments.midipix1-1/+3
2016-09-15link mode: archive creation: .la-associated objects are always under .libs/.midipix1-1/+1
2016-09-14link mode: soname: properly handle -module when output begins with dso prefix.midipix1-16/+16
2016-09-13link mode: account for directory depth when generating .deps for .la wrapper.midipix1-2/+14
2016-09-12link mode: properly handle sub-directories in indirect .la wrapper dependency.midipix1-3/+3
2016-09-11link mode: write explicit -lfoo entries into the .la wrapper dependency files.midipix1-0/+12
2016-09-11link mode: properly handle dependency information in current-dir .la wrappers.midipix1-1/+6
2016-09-11link mode: properly use dependency information associated with .la wrappers.midipix1-9/+85