From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16776 invoked by alias); 29 Mar 2015 14:10:46 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 13190 invoked by uid 89); 29 Mar 2015 14:10:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=4.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS,URIBL_BLACK autolearn=no version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-oi0-f42.google.com Received: from mail-oi0-f42.google.com (HELO mail-oi0-f42.google.com) (209.85.218.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sun, 29 Mar 2015 14:10:39 +0000 Received: by oiag65 with SMTP id g65so108783768oia.2; Sun, 29 Mar 2015 07:10:37 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.60.161.36 with SMTP id xp4mr14346665oeb.61.1427638237079; Sun, 29 Mar 2015 07:10:37 -0700 (PDT) Received: by 10.76.134.102 with HTTP; Sun, 29 Mar 2015 07:10:37 -0700 (PDT) In-Reply-To: <20150326155711.GA10088@gmail.com> References: <20150326155711.GA10088@gmail.com> Date: Sun, 29 Mar 2015 14:10:00 -0000 Message-ID: Subject: Re: [PATCH 1/8] Add --with-system-zlib in bfd From: "H.J. Lu" To: Binutils Cc: GDB Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-03/txt/msg00961.txt.bz2 On Thu, Mar 26, 2015 at 8:57 AM, H.J. Lu 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 . > (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.