[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.1.10.0909161322260.2942@dr-wily.mit.edu>
Date: Wed, 16 Sep 2009 13:27:43 -0400 (EDT)
From: Tim Abbott <tabbott@...lice.com>
To: David Miller <davem@...emloft.net>
cc: sparclinux@...r.kernel.org, linux-kernel@...r.kernel.org,
sam@...nborg.org, geofft@...lice.com
Subject: Re: [PATCH v2] sparc: Clean up linker script using new linker script
macros.
On Wed, 16 Sep 2009, David Miller wrote:
> Can you do this cleanup without moving the relative locations of .data
> and .data1 sections?
Yes, if you just swap RW_DATA_SECTION and .data1 so it looks like
RW_DATA_SECTION(SMP_CACHE_BYTES, 0, THREAD_SIZE)
.data1 : {
*(.data1)
}
instead, that would preserve their relative locations.
Currently, switching to RW_DATA_SECTION would still result in a change in
their relative position that .data.page_aligned and .data.nosave would be
between .data and .data1 (not sure if that is relevant on sparc). (this
will change when <http://lkml.org/lkml/2009/9/16/396> is merged).
-Tim Abbott
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists