Commit 47fcd4f0 authored by Clemens Buchacher's avatar Clemens Buchacher Committed by Linus Torvalds

[PATCH] sparc32: 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: default avatarClemens Buchacher <drizzd@aon.at>
Signed-off-by: default avatarWilliam Irwin <wli@holomorphy.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 8cda68f9
......@@ -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) };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment