summaryrefslogtreecommitdiff
path: root/usr.bin/libtool
AgeCommit message (Collapse)Author
2013-02-02m68k has switched to ELF.Brad Smith
ok miod@
2013-02-01m88k has switched to ELF and has shared libs.Brad Smith
ok miod@
2013-01-10Honor -Wc and -Xcompiler in link mode like GNU does. OK espie@Todd C. Miller
2012-11-09*really* filter symbols on elf systems: introduce a new "export_symbols"Marc Espie
method that does all the work to produce the right options (one option, so that the *.ver file contains all useful information). Have to cater to regexp: in particular, make sure to nm on every object and static library we might need, so we don't lose anything. Allow for the result to be empty (since some projects use -export-symbols-regex everywhere, *including on binaries with empty symbol lists*) should now be clean portswise. As usual, a non working option means lots of weird fuck-ups to fix first... thx to millert@ for the hint, aja,jasper,landry for comments and testing.
2012-11-09fix get_symbollist: output completely empty file if no symbol.Marc Espie
output slightly more debug info
2012-10-27mark elf architectures as wellMarc Espie
2012-08-27a few libtool users are bogus, they confuse --export-symbols with theMarc Espie
real option -export-symbols. Instead of blindly passing that one to the linker, error out beforehand, so that people know the problem IS libtool usage and not our program. (as exemplified by Todd Fries on ldns).
2012-08-27vax does not get -rpath-link, but it also does not really need it.Marc Espie
as found out by sebastia@ and used during 5.2 vax package build... no ill side-effects so far, so do this as a stopgap measure (matthieu@ reports that our libtool is not yet very good for static-only arches).
2012-08-04zap nonsense codeMarc Espie
2012-07-18styleMarc Espie
2012-07-13tidbitMarc Espie
2012-07-13minor cleanupMarc Espie
2012-07-13move stuff around some more, do not load link parts unless we are actuallyMarc Espie
linking. (and always load basic linker class when we're actually linking) Start making a proper "library stash class".
2012-07-13fix shared library lookup...Marc Espie
2012-07-12common code for deducing libraries.Marc Espie
Still fucks up order somehow...
2012-07-12okay, now the parser module is totally part of Mode/Link.pm, no reasonMarc Espie
for a separate file
2012-07-12perlify: $_ is subjectMarc Espie
2012-07-12match what stupid gnu libtool is doing, namely -o is not a short optionMarc Espie
2012-07-12allow "long options" to be one letter, enforce with !Marc Espie
make sure -L dir will error out. "cute" gnu libtool: -x c will vanish from linker arguments, but only in library linking-mode.
2012-07-12laterMarc Espie
2012-07-12match gnu-libtool: error out if -L dir is used instead of -LdirMarc Espie
2012-07-12deal with -pthread as a "once on" option.Marc Espie
2012-07-12unwanted duplicateMarc Espie
2012-07-12simplify yet a bit moreMarc Espie
2012-07-12move a bit of stuff aroundMarc Espie
2012-07-11duh, idiotMarc Espie
2012-07-11must check release is defined, it CAN be 0.Marc Espie
2012-07-11try to make code vaguely saneMarc Espie
2012-07-11simplify cache code a bitMarc Espie
2012-07-11no need to trace libtool when executing an external command fails.Marc Espie
otherwise I get bogus bug-reports from nitwits
2012-07-11thinkoMarc Espie
2012-07-11fix bug for real. Turns out some libraries (xcb...) have NEEDED that goMarc Espie
to standard ldconfig search dirs... Of course, ld complains because it doesn't have them in its standard search dir. BUT there's an option -rpath-link designed just for that (look up needed objects during compile and trust the end result to find them). So use that for ldconfig directories... so that xcb can link without needing to go have a look at the NEEDED list, but without encoding standard rpaths in the resulting binary... Also, put all the junk that needs -Wl together so we can add one single -Wl,-rpath,foo,-rpath-link,foo2 thingy...
2012-07-11do the ldconfig search dir properlyMarc Espie
2012-07-11nit: bless object early so we can use methods on itMarc Espie
2012-07-10quick fix ?Marc Espie
2012-07-10unconfuse myself.Marc Espie
having two methods that do completely different things with the same name (!) is evil...
2012-07-10ouch, Rresolved and libsearchdirs no longer live in main, so make themMarc Espie
part of $gp as they should be... Oh, and create an actual linker object for later.
2012-07-10move some shit around to (more or less) where it belongsMarc Espie
2012-07-10bye-bye Getopt::LongMarc Espie
2012-07-10clean-up shit, pull some of LT::Util into ltconfig objectMarc Espie
make that a somewhat more "real" object...
2012-07-10full support for -static -shared -prefer-pic -prefer-non-pic -fpie*Marc Espie
in --mode=compile
2012-07-10pass the option string along as a 4th parameter, in cases canonical isMarc Espie
not all that matters (e.g., -fpie and friends)
2012-07-10nitMarc Espie
2012-07-10more config, sort stuff for easier spottingMarc Espie
2012-07-09--config had better match more stupid shit.Marc Espie
should fix devel/avr
2012-07-09longarg:Marc Espie
means longoption with a separate parameter, like for -Xcompiler (won't work as -Xcompiler=value)
2012-07-09start ditching Getopt::Long, only LT::Mode::Link uses it, so make itMarc Espie
autoload only when absolutely required.
2012-07-09extend option parser a bit more: if we pass it a regexp, then we matchMarc Espie
that regexp. for permuted mode, expose the "future" arguments so we can tinker with them directly. Use that to support -Wc,* and -Xcompiler
2012-07-09more compat shit for libtool1/libtool2 schizophreniaMarc Espie
should fix print/pdflib found out by jasper@
2012-07-09use short accessorMarc Espie