From: Clemens Buchacher <drizzd@aon.at>
To: "David S. Miller" <davem@davemloft.net>
Cc: "Keith M. Wesolowsi" <wesolows@foobazco.org>,
linux-kernel@vger.kernel.org, sparclinux@vger.kernel.org
Subject: [patch] [SPARC]: Fix warning for changed section attributes
Date: Fri, 8 Oct 2004 16:55:56 +0200 [thread overview]
Message-ID: <20041008145556.GA11450@kzelldran.lan> (raw)
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) };
reply other threads:[~2004-10-08 14:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041008145556.GA11450@kzelldran.lan \
--to=drizzd@aon.at \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=sparclinux@vger.kernel.org \
--cc=wesolows@foobazco.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®