From: Mathieu Desnoyers <compudj@krystal.dyndns.org>
To: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Atsushi Nemoto <anemo@mba.ocn.ne.jp>,
mbligh@google.com, fche@redhat.com,
masami.hiramatsu.pt@hitachi.com, prasanna@in.ibm.com,
akpm@osdl.org, mingo@elte.hu, lethal@linux-sh.org,
linux-kernel@vger.kernel.org, jes@sgi.com, zanussi@us.ibm.com,
richardj_moore@uk.ibm.com, michel.dagenais@polymtl.ca,
hch@infradead.org, gregkh@suse.de, tglx@linutronix.de,
wcohen@redhat.com, ltt-dev@shafik.org,
systemtap@sources.redhat.com, alan@lxorguk.ukuu.org.uk,
karim@opersys.com, pavel@suse.cz, joe@perches.com,
rdunlap@xenotime.net, jrs@us.ibm.com
Subject: Re: [PATCH] Linux Kernel Markers 0.20 for 2.6.17
Date: Tue, 17 Oct 2006 15:19:24 -0400 [thread overview]
Message-ID: <20061017191924.GA14092@Krystal> (raw)
In-Reply-To: <453522B1.7040103@goop.org>
* Jeremy Fitzhardinge (jeremy@goop.org) wrote:
> Atsushi Nemoto wrote:
> >When I compiled this with gcc 4.1.1 (mips), ".markers" section was
> >empty.
> >
> >I suppose "unused" attribute is not suitable for modern gcc. Maybe
> >__attribute_used__ should be used?
> >
>
> It should be, but it still won't work. There's a gcc bug which ignores
> the attribute for local-scope static variables:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29299
>
>
> J
>
I guess the correct way to handle it will be to put a "used" attribute in the
asm-generic/marker.h code, remove the unnecessary "unused" attribute in
asm-powerpc/marker.h and tell people to upgrade their gcc when it is broken.
The other way around would be to make the macro "use" the structure somewhere
without any impact.
Mathieu
OpenPGP public key: http://krystal.dyndns.org:8080/key/compudj.gpg
Key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
next prev parent reply other threads:[~2006-10-17 19:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-30 18:04 [PATCH] Linux Kernel Markers 0.20 for 2.6.17 Mathieu Desnoyers
2006-10-17 15:51 ` Atsushi Nemoto
2006-10-17 18:36 ` Jeremy Fitzhardinge
2006-10-17 19:19 ` Mathieu Desnoyers [this message]
2006-10-17 19:39 ` Jeremy Fitzhardinge
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=20061017191924.GA14092@Krystal \
--to=compudj@krystal.dyndns.org \
--cc=akpm@osdl.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=anemo@mba.ocn.ne.jp \
--cc=fche@redhat.com \
--cc=gregkh@suse.de \
--cc=hch@infradead.org \
--cc=jeremy@goop.org \
--cc=jes@sgi.com \
--cc=joe@perches.com \
--cc=jrs@us.ibm.com \
--cc=karim@opersys.com \
--cc=lethal@linux-sh.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ltt-dev@shafik.org \
--cc=masami.hiramatsu.pt@hitachi.com \
--cc=mbligh@google.com \
--cc=michel.dagenais@polymtl.ca \
--cc=mingo@elte.hu \
--cc=pavel@suse.cz \
--cc=prasanna@in.ibm.com \
--cc=rdunlap@xenotime.net \
--cc=richardj_moore@uk.ibm.com \
--cc=systemtap@sources.redhat.com \
--cc=tglx@linutronix.de \
--cc=wcohen@redhat.com \
--cc=zanussi@us.ibm.com \
/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