This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 1/8] Add --with-system-zlib in bfd
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Binutils <binutils at sourceware dot org>
- Cc: GDB <gdb-patches at sourceware dot org>
- Date: Sun, 29 Mar 2015 07:10:37 -0700
- Subject: Re: [PATCH 1/8] Add --with-system-zlib in bfd
- Authentication-results: sourceware.org; auth=none
- References: <20150326155711 dot GA10088 at gmail dot com>
On Thu, Mar 26, 2015 at 8:57 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> I imported zlib from GCC. This patch adds --with-system-zlib and remove
> --with-zlib in bfd. OK for master?
>
> Thanks.
>
>
> H.J.
> ---
> * Makefile.am (ZLIB): New.
> (ZLIBINC): Likewise.
> (AM_CFLAGS): Add $(ZLIBINC).
> (libbfd_la_LIBADD): Add $(ZLIB).
> * compress.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
> (decompress_contents): Don't check HAVE_ZLIB_H.
> (decompress_contents): Likewise.
> (bfd_compress_section_contents): Likewise.
> (bfd_get_full_section_contents): Likewise.
> (bfd_init_section_decompress_status): Likewise.
> (bfd_init_section_compress_status): Likewise.
> * configure.ac (AM_ZLIB): Removed
> (zlibdir): New. AC_SUBST.
> (zlibinc): Likewise.
> Add --with-system-zlib.
> * Makefile.in: Regenerated.
> * acinclude.m4: Likewise.
> * config.in: Likewise.
> * configure: Likewise.
> * doc/Makefile.in: Likewise.
I will check in this patch shortly.
--
H.J.