Re: [PATCH v2] sparc: Clean up linker script using new linkerscript macros.

From: David Miller
Date: Wed Sep 16 2009 - 13:19:24 EST


From: Tim Abbott <tabbott@xxxxxxxxxxx>
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/