On Sat, Nov 10, 2007 at 08:03:57PM +0100, Christian Franke wrote: > > This patch fixes this by ignoring the difference. It actually works to > load modules compiled on Linux by a kernel compiled on Cygwin (with > underscores) and vice versa. > > [...] > + > + /* Ignore leading underscore used for C symbols. > + Done at runtime to allow loading modules compiled on other OS. */ > + if (*name == '_') > + name++;
Is that something we really want? We never made any efforts at maintaining ABI between kernel and modules, or in allowing this kind of combinations. If we go this path, it can mean more work later (e.g. support for building kernel and modules with different versions of GCC, etc). Could you give an example of a situation in which this would be useful? -- Robert Millan <GPLv2> I know my rights; I want my phone call! <DRM> What use is a phone call, if you are unable to speak? (as seen on /.) _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel