]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] sparc32: fix warning for changed section attributes
authorClemens Buchacher <drizzd@aon.at>
Sat, 9 Oct 2004 08:05:38 +0000 (01:05 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 9 Oct 2004 08:05:38 +0000 (01:05 -0700)
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>
Signed-off-by: William Irwin <wli@holomorphy.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/sparc/kernel/init_task.c

index af81a999fae06e8e63a113cda1458f86076c9b38..fc31de66b1c227f68c945715f6f5e7673f594379 100644 (file)
@@ -23,6 +23,6 @@ EXPORT_SYMBOL(init_task);
  * 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) };