binutils-gdb/zlib
Andrew Burgess 9f1528a1bd Merge changes from GCC for the config/ directory
GCC's config/ChangeLog since the last time this merge was done
(in the binutils-gdb commit 0b4d000cc4) is included at the
end of this commit message.

It is worth noting that the binutils-gdb commit 301a9420d9
added the file config/debuginfod.m4 which is not present in GCC's
config/ directory.  This file is preserved, unmodified, after this
commit.

In order to regenerate all of the configure files, I configured with
--enable-maintainer-mode, and built the 'all' target.  I then did the
same thing on a source tree without this patch, and only committed
those files that changed when this patch was added.

GCC's config/ChangeLog entries:

  2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>

  	PR libstdc++/79193
  	PR libstdc++/88999

  	* no-executables.m4: Use a non-empty program to test for linker
  	support.

  2020-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>

  	* lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Update shell syntax.

  2020-01-27  Andrew Burgess  <andrew.burgess@embecosm.com>

  	* lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Add new
  	--with-libXXX-type=... option.  Use this to guide the selection of
  	either a shared library or a static library.

  2020-01-24  Maciej W. Rozycki  <macro@wdc.com>

  	* toolexeclibdir.m4: New file.

  2019-09-10  Christophe Lyon  <christophe.lyon@st.com>

  	* futex.m4: Handle *-uclinux*.
  	* tls.m4 (GCC_CHECK_TLS): Likewise.

  2019-09-06  Florian Weimer  <fweimer@redhat.com>

  	* futex.m4 (GCC_LINUX_FUTEX): Include <unistd.h> for the syscall
  	function.

  2019-07-08  Richard Sandiford  <richard.sandiford@arm.com>

  	* bootstrap-Og.mk: New file.

  2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
              Andrew Stubbs  <ams@codesourcery.com>

  	* gthr.m4 (GCC_AC_THREAD_HEADER): Add case for gcn.

  2019-05-30  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

  	* ax_count_cpus.m4: New file.

  2019-05-02  Richard Biener  <rguenther@suse.de>

  	PR bootstrap/85574
  	* bootstrap-lto.mk (extra-compare): Set to gcc/lto1$(exeext).

  2019-04-16  Martin Liska  <mliska@suse.cz>

  	* bootstrap-lto-lean.mk: Filter out -flto in STAGEtrain_CFLAGS.

  2019-04-09  Martin Liska  <mliska@suse.cz>

  	* bootstrap-lto-lean.mk: New file.

  2019-03-02  Johannes Pfau  <johannespfau@gmail.com>

  	* mh-mingw: Also set __USE_MINGW_ACCESS flag for C++ code.

  2018-10-31  Joseph Myers  <joseph@codesourcery.com>

  	PR bootstrap/82856
  	* math.m4, tls.m4: Use AC_LANG_SOURCE.

  	Merge from binutils-gdb:
  	2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>

  	* override.m4 (_GCC_AUTOCONF_VERSION): Bump from 2.64 to 2.69.

config/ChangeLog:

	* ax_count_cpus.m4: New file, backported from GCC.
	* bootstrap-Og.mk: New file, backported from GCC.
	* bootstrap-lto-lean.mk: New file, backported from GCC.
	* bootstrap-lto.mk: Changes backported from GCC.
	* futex.m4: Changes backported from GCC.
	* gthr.m4: Changes backported from GCC.
	* lib-link.m4: Changes backported from GCC.
	* mh-mingw: Changes backported from GCC.
	* no-executables.m4: Changes backported from GCC.
	* tls.m4: Changes backported from GCC.
	* toolexeclibdir.m4: New file, backported from GCC.

binutils/ChangeLog:

	* configure: Regenerate.

gdb/ChangeLog:

	* configure: Regenerate.

gdbserver/ChangeLog:

	* configure: Regenerate.

gdbsupport/ChangeLog:

	* configure: Regenerate.

intl/ChangeLog:

	* configure: Regenerate.

libiberty/ChangeLog:

	* configure: Regenerate.

zlib/ChangeLog.bin-gdb:

	* configure: Regenerate.
2020-02-19 17:51:24 +00:00
..
amiga Import zlib from GCC 2015-03-26 08:25:29 -07:00
contrib Sync ZLIB with FSF GCC sources, bringing in version 1.2.11. 2017-02-20 12:52:22 +00:00
doc Import zlib from GCC 2015-03-26 08:25:29 -07:00
examples Sync zlib sources with GCC, upgrading to 1.2.10. 2017-01-20 10:17:42 +00:00
msdos Sync zlib sources with GCC, upgrading to 1.2.10. 2017-01-20 10:17:42 +00:00
nintendods Import zlib from GCC 2015-03-26 08:25:29 -07:00
old Sync zlib sources with GCC, upgrading to 1.2.10. 2017-01-20 10:17:42 +00:00
os400 Sync ZLIB with FSF GCC sources, bringing in version 1.2.11. 2017-02-20 12:52:22 +00:00
qnx Sync ZLIB with FSF GCC sources, bringing in version 1.2.11. 2017-02-20 12:52:22 +00:00
test Sync zlib sources with GCC, upgrading to 1.2.10. 2017-01-20 10:17:42 +00:00
watcom Import zlib from GCC 2015-03-26 08:25:29 -07:00
win32 zlib: Sync with GCC 2018-06-18 09:37:44 -04:00
CMakeLists.txt Sync ZLIB with FSF GCC sources, bringing in version 1.2.11. 2017-02-20 12:52:22 +00:00
ChangeLog Sync ZLIB with FSF GCC sources, bringing in version 1.2.11. 2017-02-20 12:52:22 +00:00
ChangeLog.bin-gdb Merge changes from GCC for the config/ directory 2020-02-19 17:51:24 +00:00
ChangeLog.gcj zlib: Sync with GCC 2018-06-18 09:37:44 -04:00
ChangeLog.jit Import zlib from GCC 2015-03-26 08:25:29 -07:00
FAQ Import zlib from GCC 2015-03-26 08:25:29 -07:00
INDEX Import zlib from GCC 2015-03-26 08:25:29 -07:00
Makefile.am Merge autoconf / automake update changes from GCC. 2018-10-31 17:10:56 +00:00
Makefile.in Merge autoconf / automake update changes from GCC. 2018-10-31 17:10:56 +00:00
README Sync ZLIB with FSF GCC sources, bringing in version 1.2.11. 2017-02-20 12:52:22 +00:00
acinclude.m4 Import zlib from GCC 2015-03-26 08:25:29 -07:00
aclocal.m4 Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
adler32.c Sync zlib sources with GCC, upgrading to 1.2.10. 2017-01-20 10:17:42 +00:00
compress.c Sync zlib sources with GCC, upgrading to 1.2.10. 2017-01-20 10:17:42 +00:00
configure Merge changes from GCC for the config/ directory 2020-02-19 17:51:24 +00:00
configure.ac Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
crc32.c Sync zlib sources with GCC, upgrading to 1.2.10. 2017-01-20 10:17:42 +00:00
crc32.h Import zlib from GCC 2015-03-26 08:25:29 -07:00
deflate.c Sync ZLIB with FSF GCC sources, bringing in version 1.2.11. 2017-02-20 12:52:22 +00:00
deflate.h Sync zlib sources with GCC, upgrading to 1.2.10. 2017-01-20 10:17:42 +00:00
example.c Import zlib from GCC 2015-03-26 08:25:29 -07:00
gzclose.c Import zlib from GCC 2015-03-26 08:25:29 -07:00
gzguts.h zlib: Sync with GCC 2018-06-18 09:37:44 -04:00
gzlib.c Sync ZLIB with FSF GCC sources, bringing in version 1.2.11. 2017-02-20 12:52:22 +00:00
gzread.c Sync zlib sources with GCC, upgrading to 1.2.10. 2017-01-20 10:17:42 +00:00
gzwrite.c Sync ZLIB with FSF GCC sources, bringing in version 1.2.11. 2017-02-20 12:52:22 +00:00
infback.c Sync zlib sources with GCC, upgrading to 1.2.10. 2017-01-20 10:17:42 +00:00
inffast.c Sync ZLIB with FSF GCC sources, bringing in version 1.2.11. 2017-02-20 12:52:22 +00:00
inffast.h Import zlib from GCC 2015-03-26 08:25:29 -07:00
inffixed.h Import zlib from GCC 2015-03-26 08:25:29 -07:00
inflate.c Sync zlib sources with GCC, upgrading to 1.2.10. 2017-01-20 10:17:42 +00:00
inflate.h Sync zlib sources with GCC, upgrading to 1.2.10. 2017-01-20 10:17:42 +00:00
inftrees.c Sync ZLIB with FSF GCC sources, bringing in version 1.2.11. 2017-02-20 12:52:22 +00:00
inftrees.h Import zlib from GCC 2015-03-26 08:25:29 -07:00
make_vms.com Import zlib from GCC 2015-03-26 08:25:29 -07:00
minigzip.c Import zlib from GCC 2015-03-26 08:25:29 -07:00
treebuild.xml Sync ZLIB with FSF GCC sources, bringing in version 1.2.11. 2017-02-20 12:52:22 +00:00
trees.c Sync ZLIB with FSF GCC sources, bringing in version 1.2.11. 2017-02-20 12:52:22 +00:00
trees.h Import zlib from GCC 2015-03-26 08:25:29 -07:00
uncompr.c Sync zlib sources with GCC, upgrading to 1.2.10. 2017-01-20 10:17:42 +00:00
zconf.h Sync zlib sources with GCC, upgrading to 1.2.10. 2017-01-20 10:17:42 +00:00
zconf.h.cmakein Sync zlib sources with GCC, upgrading to 1.2.10. 2017-01-20 10:17:42 +00:00
zconf.h.in Sync zlib sources with GCC, upgrading to 1.2.10. 2017-01-20 10:17:42 +00:00
zlib.3 Sync ZLIB with FSF GCC sources, bringing in version 1.2.11. 2017-02-20 12:52:22 +00:00
zlib.h zlib: Sync with GCC 2018-06-18 09:37:44 -04:00
zlib.map Sync zlib sources with GCC, upgrading to 1.2.10. 2017-01-20 10:17:42 +00:00
zlib.pc.cmakein Import zlib from GCC 2015-03-26 08:25:29 -07:00
zlib.pc.in Import zlib from GCC 2015-03-26 08:25:29 -07:00
zlib2ansi Import zlib from GCC 2015-03-26 08:25:29 -07:00
zutil.c Sync ZLIB with FSF GCC sources, bringing in version 1.2.11. 2017-02-20 12:52:22 +00:00
zutil.h Sync zlib sources with GCC, upgrading to 1.2.10. 2017-01-20 10:17:42 +00:00

README

This directory contains the zlib package, which is not part of GCC but
shipped with GCC as convenience.

ZLIB DATA COMPRESSION LIBRARY

zlib 1.2.11 is a general purpose data compression library.  All the code is
thread safe.  The data format used by the zlib library is described by RFCs
(Request for Comments) 1950 to 1952 in the files
http://tools.ietf.org/html/rfc1950 (zlib format), rfc1951 (deflate format) and
rfc1952 (gzip format).

All functions of the compression library are documented in the file zlib.h
(volunteer to write man pages welcome, contact zlib@gzip.org).  A usage example
of the library is given in the file test/example.c which also tests that
the library is working correctly.  Another example is given in the file
test/minigzip.c.  The compression library itself is composed of all source
files in the root directory.

To compile all files and run the test program, follow the instructions given at
the top of Makefile.in.  In short "./configure; make test", and if that goes
well, "make install" should work for most flavors of Unix.  For Windows, use
one of the special makefiles in win32/ or contrib/vstudio/ .  For VMS, use
make_vms.com.

Questions about zlib should be sent to <zlib@gzip.org>, or to Gilles Vollant
<info@winimage.com> for the Windows DLL version.  The zlib home page is
http://zlib.net/ .  Before reporting a problem, please check this site to
verify that you have the latest version of zlib; otherwise get the latest
version and check whether the problem still exists or not.

PLEASE read the zlib FAQ http://zlib.net/zlib_faq.html before asking for help.

Mark Nelson <markn@ieee.org> wrote an article about zlib for the Jan.  1997
issue of Dr.  Dobb's Journal; a copy of the article is available at
http://marknelson.us/1997/01/01/zlib-engine/ .

The changes made in version 1.2.11 are documented in the file ChangeLog.

Unsupported third party contributions are provided in directory contrib/ .

zlib is available in Java using the java.util.zip package, documented at
http://java.sun.com/developer/technicalArticles/Programming/compression/ .

A Perl interface to zlib written by Paul Marquess <pmqs@cpan.org> is available
at CPAN (Comprehensive Perl Archive Network) sites, including
http://search.cpan.org/~pmqs/IO-Compress-Zlib/ .

A Python interface to zlib written by A.M. Kuchling <amk@amk.ca> is
available in Python 1.5 and later versions, see
http://docs.python.org/library/zlib.html .

zlib is built into tcl: http://wiki.tcl.tk/4610 .

An experimental package to read and write files in .zip format, written on top
of zlib by Gilles Vollant <info@winimage.com>, is available in the
contrib/minizip directory of zlib.


Notes for some targets:

- For Windows DLL versions, please see win32/DLL_FAQ.txt

- For 64-bit Irix, deflate.c must be compiled without any optimization. With
  -O, one libpng test fails. The test works in 32 bit mode (with the -n32
  compiler flag). The compiler bug has been reported to SGI.

- zlib doesn't work with gcc 2.6.3 on a DEC 3000/300LX under OSF/1 2.1 it works
  when compiled with cc.

- On Digital Unix 4.0D (formely OSF/1) on AlphaServer, the cc option -std1 is
  necessary to get gzprintf working correctly. This is done by configure.

- zlib doesn't work on HP-UX 9.05 with some versions of /bin/cc. It works with
  other compilers. Use "make test" to check your compiler.

- gzdopen is not supported on RISCOS or BEOS.

- For PalmOs, see http://palmzlib.sourceforge.net/


Acknowledgments:

  The deflate format used by zlib was defined by Phil Katz.  The deflate and
  zlib specifications were written by L.  Peter Deutsch.  Thanks to all the
  people who reported problems and suggested various improvements in zlib; they
  are too numerous to cite here.

Copyright notice:

 (C) 1995-2017 Jean-loup Gailly and Mark Adler

  This software is provided 'as-is', without any express or implied
  warranty.  In no event will the authors be held liable for any damages
  arising from the use of this software.

  Permission is granted to anyone to use this software for any purpose,
  including commercial applications, and to alter it and redistribute it
  freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not
     claim that you wrote the original software. If you use this software
     in a product, an acknowledgment in the product documentation would be
     appreciated but is not required.
  2. Altered source versions must be plainly marked as such, and must not be
     misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.

  Jean-loup Gailly        Mark Adler
  jloup@gzip.org          madler@alumni.caltech.edu

If you use the zlib library in a product, we would appreciate *not* receiving
lengthy legal documents to sign.  The sources are provided for free but without
warranty of any kind.  The library has been entirely written by Jean-loup
Gailly and Mark Adler; it does not include third-party code.

If you redistribute modified sources, we would appreciate that you include in
the file ChangeLog history information documenting your changes.  Please read
the FAQ for more information on the distribution of modified source versions.