lkml.org 
[lkml]   [2003]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: porting driver to 2.6, still unknown relocs... :(
Alan Cox wrote:

>On Mer, 2003-08-27 at 16:34, LGW wrote:
>
>
>>The driver is mostly a wrapper around a generic driver released by the
>>manufacturer, and that's written in C++. But it worked like this for the
>>2.4.x kernel series, so I think it has something todo with the new
>>module loader code. Possibly ld misses something when linking the object
>>specific stuff like constructors?
>>
>>
>
>The new module loader is kernel side, it may well not know some of the
>C++ specific relocation types.
>
To you think it's possible to remove those relocations completely, so
that the whole C++ stuff is linked "without" any more open relocations?

After all, those are only "helper functions" that could be linked
"statically", or am I mistaken?

I don't have such deep knowledge of the C++ linking process, so I can't
answer that question myself.

The Generic Driver is not public available I think, but you could get it
here:
http://space.virgilio.it/g_pochini@virgilio.it/ea.html (site with the
patches for alsa)
http://space.virgilio.it/g_pochini@virgilio.it/eagd-0.6.0.tar.bz2 (the
original generic driver code)

thanks,
Lars


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

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.037 / U:2.892 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site