* [patch] [SPARC]: Fix warning for changed section attributes
@ 2004-10-08 14:55 Clemens Buchacher
0 siblings, 0 replies; only message in thread
From: Clemens Buchacher @ 2004-10-08 14:55 UTC (permalink / raw)
To: David S. Miller; +Cc: Keith M. Wesolowsi, linux-kernel, sparclinux
This fixes the "Ignoring changed section attributes" warning by commenting out
the attributes appended by gcc.
The previous 'fix' created a section '.text,#alloc' (literally), which I guess
was not intended.
Signed-off-by: Clemens Buchacher <drizzd@aon.at>
---
Runtime tested (Leon2 TSIM SPARC simulation)
arch/sparc/kernel/init_task.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- a/arch/sparc/kernel/init_task.c 2004-10-06 20:19:25 +02:00
+++ b/arch/sparc/kernel/init_task.c 2004-10-06 20:19:25 +02:00
@@ -23,6 +23,6 @@
* in etrap.S which assumes it.
*/
union thread_union init_thread_union
- __attribute__((section (".text,#alloc")))
+ __attribute__((section (".text\"\n\t#")))
__attribute__((aligned (THREAD_SIZE)))
= { INIT_THREAD_INFO(init_task) };
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-10-08 14:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-08 14:55 [patch] [SPARC]: Fix warning for changed section attributes Clemens Buchacher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®