From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25003 invoked by alias); 16 Feb 2014 23:06:40 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 24991 invoked by uid 89); 16 Feb 2014 23:06:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f44.google.com Received: from mail-pa0-f44.google.com (HELO mail-pa0-f44.google.com) (209.85.220.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sun, 16 Feb 2014 23:06:38 +0000 Received: by mail-pa0-f44.google.com with SMTP id kq14so14541675pab.3 for ; Sun, 16 Feb 2014 15:06:36 -0800 (PST) X-Received: by 10.66.189.226 with SMTP id gl2mr23110207pac.65.1392591996614; Sun, 16 Feb 2014 15:06:36 -0800 (PST) Received: from bubble.grove.modra.org ([101.166.26.37]) by mx.google.com with ESMTPSA id fk4sm101815826pab.23.2014.02.16.15.06.23 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 16 Feb 2014 15:06:32 -0800 (PST) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id D409BEA00D7; Mon, 17 Feb 2014 09:36:19 +1030 (CST) Date: Sun, 16 Feb 2014 23:06:00 -0000 From: Alan Modra To: Jan Kratochvil Cc: binutils@sourceware.org Subject: Re: [patch] asan error on bfd bfd_simple_get_relocated_section_contents Message-ID: <20140216230619.GV3386@bubble.grove.modra.org> Mail-Followup-To: Jan Kratochvil , binutils@sourceware.org References: <20140216182840.GA20551@host2.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140216182840.GA20551@host2.jankratochvil.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2014-02/txt/msg00098.txt.bz2 On Sun, Feb 16, 2014 at 07:28:40PM +0100, Jan Kratochvil wrote: > bfd/ > 2014-02-16 Jan Kratochvil > > PR binutils/16595 > * simple.c (struct saved_offsets): New. > (simple_save_output_info): Use it for ptr. > (simple_restore_output_info): Use it for ptr. Check section_count. > (bfd_simple_get_relocated_section_contents): Use it for saved_offsets. OK, thanks! -- Alan Modra Australia Development Lab, IBM