On 4/4/2010 4:55 AM, Ralf Wildenhues wrote:
> * NEWS: Update.
> * libltdl/config/ltmain.m4sh (func_mode_link): Allow through
> flags matching -O*, -flto*, -fwhopr, -fuse-linker-plugin.
> * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Drop symbols
> starting with __gnu_lto.
> (_LT_LINKER_SHLIBS)
On 04/04/2010 11:54 AM, Ralf Wildenhues wrote:
> * Ralf Wildenhues wrote on Sun, Mar 28, 2010 at 05:33:44PM CEST:
>> I'm still working on a patch to support -flto in libtool, it needs
>> changes in several places.
>
> I have a preliminary(!) patch set here for LTO support in libtool.
Hi,
Thanks
* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
[GNU ld, netbsd]: Add $pic_flag if ELF.
[GNU ld, solaris]: Likewise.
[GNU ld, default case]: Likewise.
[!GNU ld, freebsd, dragonfly]: Add $pic_flag.
[!GNU ld, GCC, hpux9]: Add $pic_flag.
[!GNU ld, GCC, hpux10]: Replace -fPIC with $pic_flag
[!GNU ld, GCC,
On some systems, lt_preloaded_symbols may not be declared
const due to relocation issues. C99 requires qualification to
match for compatible declarations, so ensure we declare
const'ness in the same way everywhere; link-time optimization
may otherwise rightfully complain about inconsistencies.
Sin
* doc/libtool.texi (Dlpreopening): Remove broken documentation
of lt_dlsymbol and lt_dlsymlist. Document typedef lt_dlsymlist
and symbol lt_preloaded_symbols according to the implementation.
* tests/demo/dlmain.c (lt_symlist): Make struct anonymous ...
(lt_dlsymlist): ... and typedef to this name.
* NEWS: Update.
* libltdl/config/ltmain.m4sh (func_mode_link): Allow through
flags matching -O*, -flto*, -fwhopr, -fuse-linker-plugin.
* libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Drop symbols
starting with __gnu_lto.
(_LT_LINKER_SHLIBS) [linux] :
Add $pic_flag for GCC.
(_LT_LANG_CXX_CONFIG) [
* Ralf Wildenhues wrote on Sun, Mar 28, 2010 at 05:33:44PM CEST:
>
> I'm still working on a patch to support -flto in libtool, it needs
> changes in several places.
I have a preliminary(!) patch set here for LTO support in libtool.
DO NOT submit this to your favorite distribution, it is not ready
Hello,
I've pushed this patch to fix a fairly obvious glitch.
Thanks,
Ralf
Use linker_flags not compiler_flags with $LD.
* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [linux]
: With xlf and bgxlf
compilers, when linking with $LD, use $linker_flags not
$compiler_flags.
dif