From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24732 invoked by alias); 28 Apr 2011 06:05:09 -0000 Received: (qmail 24721 invoked by uid 22791); 28 Apr 2011 06:05:07 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST X-Spam-Check-By: sourceware.org Received: from mail-iy0-f169.google.com (HELO mail-iy0-f169.google.com) (209.85.210.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 28 Apr 2011 06:04:53 +0000 Received: by iyh42 with SMTP id 42so2785678iyh.0 for ; Wed, 27 Apr 2011 23:04:53 -0700 (PDT) Received: by 10.42.131.3 with SMTP id x3mr3913363ics.445.1303970692985; Wed, 27 Apr 2011 23:04:52 -0700 (PDT) Received: from bubble.grove.modra.org ([115.187.252.19]) by mx.google.com with ESMTPS id 19sm593466ibx.35.2011.04.27.23.04.50 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 27 Apr 2011 23:04:51 -0700 (PDT) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id B2975170C2B0; Thu, 28 Apr 2011 15:34:45 +0930 (CST) Date: Thu, 28 Apr 2011 06:05:00 -0000 From: Alan Modra To: Jon Grant Cc: binutils@sourceware.org Subject: Re: ld exclusion of *default* memory address mapping Message-ID: <20110428060445.GJ19947@bubble.grove.modra.org> Mail-Followup-To: Jon Grant , binutils@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes 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 X-SW-Source: 2011-04/txt/msg00420.txt.bz2 On Tue, Apr 19, 2011 at 01:55:01PM +0100, Jon Grant wrote: > I am using a build of ld, v2.20. I would like to exclude the *default* > catch all memory address visible in the map file quote below. If you specify some memory regions, GNU ld will give an error (or warning if --no-check-sections) if an output section without an address is assigned to the default region. If you specify an address (see ld info Output Section Description) it's assumed you know what you're doing. So I'm wondering why you want anything more than this? -- Alan Modra Australia Development Lab, IBM