From: Thomas Tanner Date: Wed, 23 Jun 1999 15:09:28 +0000 (+0000) Subject: * NEWS: updated X-Git-Tag: release-1-3b~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1be7f3cc989af5ab65fe1652a43b8612740aa393;p=thirdparty%2Flibtool.git * NEWS: updated * README: added GNU Hurd to the supported platforms * doc/libtool.texi: document `-dlpreopen dummy' instead of `-dlopen dummy' * libltdl/ltdl.c (strchr): fixed typo (missing star) * libltdl/ltdl.c (strrchr): fixed typo (missing star) * libltdl/ltdl.c (trim): use `const' to silence -Wwrite-strings * ltmain.in: support `-dlopen dummy', define lt_preloaded_symbols --- diff --git a/ChangeLog b/ChangeLog index dcd76e17f..a9bf5cbf1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +1999-06-23 Thomas Tanner + + * NEWS: updated + * README: added GNU Hurd to the supported platforms + * doc/libtool.texi: document `-dlpreopen dummy' + instead of `-dlopen dummy' + * libltdl/ltdl.c (strchr): fixed typo (missing star) + +1999-06-23 Stephan Kulow + + * libltdl/ltdl.c (strrchr): fixed typo (missing star) + * libltdl/ltdl.c (trim): use `const' to silence -Wwrite-strings + 1999-06-23 Olly Betts * ltmain.in (ltdll.c): Support for crosscompiling from linux to @@ -30,7 +43,7 @@ * ltconfig.in (bsdi4, deplibs_check_method): use a less restrictive regex (reported by Chris P. Ross ) - * ltmain.in: support `-dlopen self', define lt_preloaded_symbols + * ltmain.in: support `-dlopen dummy', define lt_preloaded_symbols if dlself != no * doc/libtool.texi (Compile and Link mode): document it, documented the -Wc, -Wl flags, libtool does also support non C diff --git a/NEWS b/NEWS index d1aedbd7f..32256ead4 100644 --- a/NEWS +++ b/NEWS @@ -16,11 +16,16 @@ New in 1.3b: 1999-??-??; CVS version 1.3a, Libtool team: * New demos and tests * Various bugfixes -New in CVS version 1.3.2a, Libtool team: +New in 1.3.3: 1999-06-2?, CVS version 1.3.2a, Libtool team: +* New `-dlpreopen dummy' flag to ensure that + lt_preloaded_symbols is always defined. * Work around self-dlclose bug in FreeBSD 3.1. * Expand convenience libraries when creating reloadable objects. +* Do not forget to import -L flags of convenience libraries. * Do not pass -whole-archive or equivalent to symbol extractor. * Create directory to expand convenience libraries only when needed. +* Improved support for Cygwin, DJGPP and NetBSD +* Various bugfixes New in 1.3.2: 1999-05-26, CVS version 1.3.1a, Libtool team: * Avoid circular links of objects and libraries. diff --git a/README b/README index 89d41bf99..27fde37a4 100644 --- a/README +++ b/README @@ -15,6 +15,7 @@ Shared library support has been implemented for these platforms: Digital/UNIX 3.x, 4.x, a.k.a. OSF/1 (*-*-osf3*, *-*-osf4*) DG/UX R4.11, R4.12, R4.20 (*-*-dguxR411*, *-*-dguxR412*, *-*-dguxR420*) FreeBSD 2.x, 3.x, 4.x (*-*-freebsd2*, *-*-freebsd3*, *-*-freebsd4*) + GNU Hurd (*-*-gnu*) GNU/Linux ELF (*-*-linux-gnu*, except aout, coff, and oldld) HP-UX 9.x, 10.x, 11.x (*-*-hpux9*, *-*-hpux10*, *-*-hpux11*) [see note] IRIX 5.x, 6.x (*-*-irix5*, *-*-irix6*) diff --git a/doc/libtool.texi b/doc/libtool.texi index f996ec081..b18126c49 100644 --- a/doc/libtool.texi +++ b/doc/libtool.texi @@ -1203,15 +1203,15 @@ the program is linked with @samp{-static} or @samp{-all-static}. Otherwise, no effect. If @var{file} is @code{self} libtool will make sure that the program can @code{dlopen} itself, either by enabling @code{-export-dynamic} or by falling back to @samp{-dlpreopen self}. -If @var{file} is @code{dummy} libtool will make sure that -@var{lt_preloaded_symbols} is always @emph{defined}, regardless of whether -it's empty or not. @item -dlpreopen @var{file} Link @var{file} into the output program, and add its symbols to @var{lt_preloaded_symbols} (@pxref{Dlpreopening}). If @var{file} is @code{self}, the symbols of the program itself will be added to @var{lt_preloaded_symbols}. +If @var{file} is @code{dummy} libtool will make sure that +@var{lt_preloaded_symbols} is always @emph{defined}, regardless of whether +it's empty or not. @item -export-dynamic Allow symbols from @var{output-file} to be resolved with @code{dlsym} diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c index 119dcd71c..7a5af2ab1 100644 --- a/libltdl/ltdl.c +++ b/libltdl/ltdl.c @@ -165,7 +165,7 @@ strchr(str, ch) { const char *p; - for (p = str; *p != (char)ch && p != '\0'; p++) + for (p = str; *p != (char)ch && *p != '\0'; p++) /*NOWORK*/; return (*p == (char)ch) ? p : 0; @@ -192,7 +192,7 @@ strrchr(str, ch) { const char *p; - for (p = str; p != '\0'; p++) + for (p = str; *p != '\0'; p++) /*NOWORK*/; while (*p != (char)ch && p >= str) @@ -1135,7 +1135,7 @@ trim (dest, str) /* remove the leading and trailing "'" from str and store the result in dest */ char *tmp; - char *end = strrchr(str, '\''); + const char *end = strrchr(str, '\''); int len = strlen(str); if (*dest)