From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26194 invoked by alias); 9 Apr 2010 15:17:32 -0000 Received: (qmail 26185 invoked by uid 22791); 9 Apr 2010 15:17:31 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from fg-out-1718.google.com (HELO fg-out-1718.google.com) (72.14.220.152) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 09 Apr 2010 15:17:24 +0000 Received: by fg-out-1718.google.com with SMTP id l26so1099813fgb.12 for ; Fri, 09 Apr 2010 08:17:21 -0700 (PDT) Received: by 10.87.15.35 with SMTP id s35mr628253fgi.12.1270826241647; Fri, 09 Apr 2010 08:17:21 -0700 (PDT) Received: from bubble.grove.modra.org ([115.187.252.19]) by mx.google.com with ESMTPS id 12sm906867fgg.29.2010.04.09.08.17.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 09 Apr 2010 08:17:20 -0700 (PDT) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id E7F94170C306; Sat, 10 Apr 2010 00:47:12 +0930 (CST) Date: Fri, 09 Apr 2010 15:17:00 -0000 From: Alan Modra To: Bahadir Balban Cc: Tristan Gingold , binutils Subject: Re: Loading an elf file Message-ID: <20100409151712.GI13100@bubble.grove.modra.org> Mail-Followup-To: Bahadir Balban , Tristan Gingold , binutils References: <4BBEF849.50703@l4dev.org> <4BBF3E24.5030305@l4dev.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BBF3E24.5030305@l4dev.org> 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: 2010-04/txt/msg00109.txt.bz2 On Fri, Apr 09, 2010 at 05:48:04PM +0300, Bahadir Balban wrote: > Here's an excerpt from the linker script we use, could you please > comment on what's missing? Lacks page alignment gaps. Your hardware can't change memory protection on byte boundaries. The linker knows this, so if you mash RW sections up against RE sections you'll get a RWE segment. -- Alan Modra Australia Development Lab, IBM