[PATCH 5/23] make section names compatible with -ffunction-sections -fdata-sections: blackfin

From: Denys Vlasenko
Date: Tue Jul 01 2008 - 18:35:30 EST


The purpose of this patch is to make kernel buildable
with "gcc -ffunction-sections -fdata-sections".
This patch fixes blackfin architecture.

Signed-off-by: Denys Vlasenko <vda.linux@xxxxxxxxxxxxxx>
--
vda


--- 0.org/arch/blackfin/kernel/vmlinux.lds.S Wed Jul 2 00:40:40 2008
+++ 1.fixname/arch/blackfin/kernel/vmlinux.lds.S Wed Jul 2 00:45:51 2008
@@ -91,7 +91,7 @@
__sdata = .;
/* This gets done first, so the glob doesn't suck it in */
. = ALIGN(32);
- *(.data.cacheline_aligned)
+ *(.cacheline_aligned.data)

#if !L1_DATA_A_LENGTH
. = ALIGN(32);
--
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/