From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 108379 invoked by alias); 1 Apr 2016 01:28:10 -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 108370 invoked by uid 89); 1 Apr 2016 01:28:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=HTo:D*ieee.org X-HELO: mail-pf0-f176.google.com Received: from mail-pf0-f176.google.com (HELO mail-pf0-f176.google.com) (209.85.192.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 01 Apr 2016 01:28:04 +0000 Received: by mail-pf0-f176.google.com with SMTP id 4so82107206pfd.0 for ; Thu, 31 Mar 2016 18:28:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Q/onqWyGYfRSAr/HxpPFT2CJqMYPpv1D1Tw9V8akcrI=; b=Eky02sNpENtWJGy8lyMs18rZ2JR5BJODAtI8ICGCQZuSC1Y1BkKcd0e9vl8qHk/UJt G6GAiUy6uioUI82rlXBp6MkzFwo6UDIFuNXRoWHqb0mjr6N3TsL/zirAmthmxvIsMsyi n6EnHuf6mFBEb/+FSmJJl8NddDwaDzzPDz0c/HRYJUUKa9AO/9VL4RFTO0fdVOlFSrBL yQm8eCn79B38X6PbitvnAq0woYpF6wgitqKHVP8m6qBw5+ulQX9dLncdI2AmHRwdocy2 NpX3ppEZeKP/PzMsO/PrgGriRVQ6gjBX1qdDDwjG/uQGG1OlTlsdi3RHiINZC8LHkefg XCrw== X-Gm-Message-State: AD7BkJI2pnn+R2oPg6BNNXrGTusQizqCxhaQv2U3L4Oyr49/dM5Gvwu9S1Kv8QttEHmNHQ== X-Received: by 10.98.10.20 with SMTP id s20mr26928366pfi.109.1459474083233; Thu, 31 Mar 2016 18:28:03 -0700 (PDT) Received: from bubble.grove.modra.org (CPE-58-160-146-233.sa.bigpond.net.au. [58.160.146.233]) by smtp.gmail.com with ESMTPSA id w62sm16076481pfa.79.2016.03.31.18.28.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Mar 2016 18:28:01 -0700 (PDT) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 643B4EA0153; Fri, 1 Apr 2016 11:57:57 +1030 (ACDT) Date: Fri, 01 Apr 2016 01:28:00 -0000 From: Alan Modra To: dgisselq@ieee.org Cc: binutils@sourceware.org Subject: Re: Missing TO_ADDR Message-ID: <20160401012757.GA27246@bubble.grove.modra.org> References: <20160330073151.GK15812@bubble.grove.modra.org> <1459339484.9097.134.camel@jericho> <20160331073959.GT15812@bubble.grove.modra.org> <1459422766.9097.169.camel@jericho> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1459422766.9097.169.camel@jericho> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00000.txt.bz2 On Thu, Mar 31, 2016 at 07:12:46AM -0400, Dan wrote: > Are you sure you want to take the TO_SIZE directives *away* from the > minfo statements? With the TO_SIZE directives, the addresses add up: > last address plus size adds up to the next address, and you can see > nothing missing. Without the TO_SIZE directives, the units don't match. You mean, TO_ADDR. I understand your point and thought about converting all the sizes to address units, but decided not to because other places report octet sizes. eg. rawsize in print_input_section, and print_data_statement, print_reloc_statement, print_padding_statement. It seems likely that those functions bump print_vma by the wrong amount too. Hmm, I missed seeing that we have MEMORY region length in bytes, and I'm not sure what the units are for symbol size in lang_one_common. -- Alan Modra Australia Development Lab, IBM