* 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
This commit is contained in:
Thomas Tanner 1999-06-23 15:09:28 +00:00 committed by Thomas Tanner
parent 8c34a71462
commit 1be7f3cc98
5 changed files with 27 additions and 8 deletions

View File

@ -1,3 +1,16 @@
1999-06-23 Thomas Tanner <tanner@ffii.org>
* 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 <coolo@itm.mu-luebeck.de>
* libltdl/ltdl.c (strrchr): fixed typo (missing star)
* libltdl/ltdl.c (trim): use `const' to silence -Wwrite-strings
1999-06-23 Olly Betts <olly@muscat.co.uk>
* 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 <cross@eng.us.uu.net>)
* 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

7
NEWS
View File

@ -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.

1
README
View File

@ -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*)

View File

@ -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}

View File

@ -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)