Messages in this thread | | | Date | Wed, 16 Sep 2009 10:19:24 -0700 (PDT) | Subject | Re: [PATCH v2] sparc: Clean up linker script using new linker script macros. | From | David Miller <> |
| |
From: Tim Abbott <tabbott@ksplice.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?
| |