On Fri, Feb 08, 2008 at 02:46:15PM -0800, Andrew Morton wrote: > I think it would have been better to define a new CONFIG_MODULEPARAM_CONST > for those three archictures, rather than muckying up the code like this.
I'd prefer to keep this as is for now (sorta the uglier the better ;-) I really hope it's the short term solution as we need some feedback from gcc folks. We use named sections quite a lot, but gcc is sort of unfriendly with these, and this particular problem is not the main one. For instance, if someone dares to put a 'switch' statement into discarded section (__exit), the final link fails (on any arch!), because gcc generates a jump table in .rodata which references that discarded section... Ivan. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/