From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from biscayne-one-station.mit.edu (BISCAYNE-ONE-STATION.MIT.EDU [18.7.7.80]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id DA69FDDD1B for ; Sat, 2 May 2009 00:01:38 +1000 (EST) Date: Fri, 1 May 2009 09:54:34 -0400 (EDT) From: Tim Abbott To: Sam Ravnborg Subject: Re: [PATCH v2 1/6] Add new macros for page-aligned data and bss sections. In-Reply-To: <20090501091848.GB18326@uranus.ravnborg.org> Message-ID: References: <1241121253-32341-1-git-send-email-tabbott@mit.edu> <1241121253-32341-2-git-send-email-tabbott@mit.edu> <20090501091848.GB18326@uranus.ravnborg.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: linux-mips@linux-mips.org, linux-m68k@vger.kernel.org, linux-ia64@vger.kernel.org, linux-sh@vger.kernel.org, Denys Vlasenko , Greg Ungerer , Jeff Arnold , linuxppc-dev@ozlabs.org, Paul Mackerras , "H. Peter Anvin" , sparclinux@vger.kernel.org, Waseem Daher , linux-s390@vger.kernel.org, Jesper Nilsson , Yoshinori Sato , Helge Deller , Ingo Molnar , Geert Uytterhoeven , microblaze-uclinux@itee.uq.edu.au, Russell King , user-mode-linux-devel@lists.sourceforge.net, Heiko Carstens , Jeff Dike , dev-etrax@axis.com, Mikael Starvik , Cyrill Gorcunov , Michal Simek , Richard Henderson , Chris Zankel , Bryan Wu , Tony Luck , linux-parisc@vger.kernel.org, Haavard Skinnemoen , Hirokazu Takata , Linux kernel mailing list , Ralf Baechle , Anders Kaseorg , Kyle McMartin , Paul Mundt , Thomas Gleixner , linux-alpha@vger.kernel.org, Martin Schwidefsky , uclinux-dist-devel@blackfin.uclinux.org, Linus Torvalds , "David S. Miller" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, 1 May 2009, Sam Ravnborg wrote: > On Thu, Apr 30, 2009 at 03:54:08PM -0400, Tim Abbott wrote: > > +#define __PAGE_ALIGNED_DATA .section ".data.page_aligned", "aw", @progbits > > +#define __PAGE_ALIGNED_BSS .section ".bss.page_aligned", "aw", @nobits > > It is my understanding that the linker will automatically > assume nobits for section names starting with .bss and likewise > progbits for section names starting with .data - so we can leave them out? I believe that is correct. -Tim Abbott