linux-embedded.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 5/23] make section names compatible with -ffunction-sections -fdata-sections: blackfin
@ 2008-07-02  0:35 Denys Vlasenko
  2008-07-01 22:58 ` Mike Frysinger
  0 siblings, 1 reply; 4+ messages in thread
From: Denys Vlasenko @ 2008-07-02  0:35 UTC (permalink / raw)
  To: linux-arch
  Cc: Russell King, David Howells, Ralf Baechle, Lennert Buytenhek,
	Josh Boyer, Paul Mackerras, David Woodhouse, Andi Kleen, torvalds,
	akpm, Paul Gortmaker, linux-embedded, linux-kernel, Tim Bird,
	Martin Schwidefsky, Dave Miller

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@googlemail.com>
--
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);

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-07-02  2:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-02  0:35 [PATCH 5/23] make section names compatible with -ffunction-sections -fdata-sections: blackfin Denys Vlasenko
2008-07-01 22:58 ` Mike Frysinger
2008-07-02  0:08   ` Denys Vlasenko
2008-07-02  2:09     ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).