[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090916.101924.186960949.davem@davemloft.net>
Date: Wed, 16 Sep 2009 10:19:24 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: tabbott@...lice.com
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.
From: Tim Abbott <tabbott@...lice.com>
Date: Wed, 16 Sep 2009 12:46:32 -0400
> @@ -51,70 +51,27 @@ SECTIONS
> _etext = .;
>
> RO_DATA(PAGE_SIZE)
> - .data : {
> - DATA_DATA
> - CONSTRUCTORS
> - }
> .data1 : {
> *(.data1)
> }
> - . = ALIGN(SMP_CACHE_BYTES);
> - .data.cacheline_aligned : {
> - *(.data.cacheline_aligned)
> - }
> - . = ALIGN(SMP_CACHE_BYTES);
> - .data.read_mostly : {
> - *(.data.read_mostly)
> - }
> + RW_DATA_SECTION(SMP_CACHE_BYTES, 0, THREAD_SIZE)
> +
Can you do this cleanup without moving the relative locations of .data
and .data1 sections?
--
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