lkml.org 
[lkml]   [2004]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] [SPARC]: Fix warning for changed section attributes
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) };
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.048 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site