Re: [PATCH] Linux Kernel Markers 0.20 for 2.6.17

From: Jeremy Fitzhardinge
Date: Tue Oct 17 2006 - 14:37:29 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/