aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-shlib
AgeCommit message (Collapse)AuthorFilesLines
2014-03-19Merging r202720:Tom Stellard1-0/+2
------------------------------------------------------------------------ r202720 | thomas.stellard | 2014-03-03 07:22:00 -0800 (Mon, 03 Mar 2014) | 8 lines Add patch level to llvm version in CMake and Autoconf The shared library generated by autoconf will now be called libLLVM-$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_PATCH)$(VERSION_SUFFIX).so and a symlink named libLLVM-$(VERSION_MAJOR).$(VERSION_MINOR)$(VERSION_SUFFIX).so will also be created in the install directory. llvm-svn: 204262
2013-10-31Rules adjustments in order to build on DragonFly BSD.Rafael Espindola1-2/+2
Patch by Robin Hahling. llvm-svn: 193750
2013-08-02Use @rpath for libraries rather than @executable_path on OSX.Eric Christopher1-1/+1
Patch by Benjamin Scarlet! llvm-svn: 187641
2013-07-01The build system is currently miss-identifying GNU/kFreeBSD as FreeBSD.Sylvestre Ledru1-3/+3
This kind of simplification is sometimes useful, but in general it's not correct. As GNU/kFreeBSD is an hybrid system, for kernel-related issues we want to match the build definitions used for FreeBSD, whereas for userland-related issues we want to match the definitions used for other systems with Glibc. The current modification adjusts the build system so that they can be distinguished, and explicitly adds GNU/kFreeBSD to the build checks in which it belongs. Fixes bug #16444. Patch by Robert Millan in the context of Debian. llvm-svn: 185311
2013-06-04Remove "-Wl,-seg1addr -Wl,0xE0000000" from link options.Bob Wilson1-2/+1
Specifying the load address for Darwin i386 dylibs was a performance optimization for dyld that is not relevant for x86_64 or arm. We can just remove this now. llvm-svn: 183230
2012-08-06Add support for the OpenBSD for Bitrig.Eric Christopher1-1/+1
Patch by David Hill. llvm-svn: 161344
2012-04-25openbsd doesn't support soname, patch by Brad Smith!Chris Lattner1-0/+3
llvm-svn: 155536
2012-04-11Fix the build under Debian GNU/Hurd.Sylvestre Ledru1-2/+2
Thanks to Pino Toscano for the patch llvm-svn: 154500
2012-04-03Set soname for FreeBSD as well.Anton Korobeynikov1-2/+2
Patch by Bernard Cafarelli! llvm-svn: 153965
2012-03-23Add soname to LLVM shared library on Linux. Probably the same stuff is ↵Anton Korobeynikov1-0/+2
necessary for *BSD. Patch from Mageia! llvm-svn: 153324
2011-10-18build: Tidy up a bunch of tool Makefiles, and simplify where possible using theDaniel Dunbar1-4/+4
new all-targets pseudo-component. llvm-svn: 142401
2011-10-04Exclude libLLVMTableGen.a from the shared libraryPeter Collingbourne1-2/+3
Unbreaks tools for --enable-shared build. llvm-svn: 141052
2011-02-13improve solaris support, from PR9109, patch by Yuri!Chris Lattner1-0/+5
llvm-svn: 125456
2010-12-29autoconf: Add --disable-embed-stdcxx to suppress linking libstdc++.a into ↵NAKAMURA Takumi1-2/+3
llvm.dll with --enable-shared on Cygming. Cygwin has stdc++.dll in it's distribution, and we can assume distro's stdc++.dll might be available. llvm-svn: 122622
2010-10-28tools/llvm-shlib/Makefile: Support for FreeBSD and OpenBSD.NAKAMURA Takumi1-1/+4
Thanks to Yuri Gribov and Vladimir Kirillov! *BSD(s) have environ(7) in CRT startup and cannot resolve "environ" at linking llvm.so. environ(7) is used inlib/System/Unix/Program.inc. llvm-svn: 117528
2010-08-17This patch enables ENABLE_SHARED=1 to build DLL based LLVM toolchain on ↵Anton Korobeynikov1-0/+52
MingW & Cygwin. Patch by Takumi Nakamura! llvm-svn: 111268
2010-07-31build: Don't pass -avoid-version or -no-undefined on Darwin, they don't doDaniel Dunbar1-1/+0
anything. llvm-svn: 109957
2010-02-25Try r96559 for the third time. This time the shared library is only built ifJeffrey Yasskin1-0/+60
--enable-shared is passed to configure. llvm-svn: 97119
2010-02-23Roll back r96959 again.Jeffrey Yasskin1-67/+0
llvm-svn: 96981
2010-02-23Oops. Pass -lgcc _only_ on ARM, not on everything except ARM.Jeffrey Yasskin1-1/+1
llvm-svn: 96965
2010-02-23Roll r96559 forward again, adding libLLVM-2.7svn.so to LLVM. This links 3 ofJeffrey Yasskin1-0/+67
the examples shared to make sure the shared library keeps working. llvm-svn: 96959
2010-02-18Roll back the shared library, r96559. It broke two darwins and arm, ↵Jeffrey Yasskin1-61/+0
mysteriously. llvm-svn: 96569
2010-02-18Add a shared library for LLVM, named libLLVM2.7svn.(so|dylib), and add anJeffrey Yasskin1-0/+61
--enable-shared configure flag to have the tools linked shared. (2.7svn is just $(LLVMVersion) so it'll change to "2.7" in the release.) Always link the example programs shared to test that the shared library keeps working. On my mac laptop, Debug libLLVM2.7svn.dylib is 39MB, and opt (for example) is 16M static vs 440K shared. Two things are less than ideal here: 1) The library doesn't include any version information. Since we expect to break the ABI with every release, this shouldn't be much of a problem. If we do release a compatible 2.7.1, we may be able to hack its library to work with binaries compiled against 2.7.0, or we can just ask them to recompile. I'm hoping to get a real packaging expert to look at this for the 2.8 release. 2) llvm-config doesn't yet have an option to print link options for the shared library. I'll add this as a subsequent patch. llvm-svn: 96559