Commit 37d960fa authored by Clemens's avatar Clemens Committed by Alexandre Julliard

Should process the .dynsym of shared libraries instead of the .stab.

parent bfbe3b5c
...@@ -112,8 +112,8 @@ static void read_exported_symbols( const char *name, struct import *imp ) ...@@ -112,8 +112,8 @@ static void read_exported_symbols( const char *name, struct import *imp )
if (!(ext = strrchr( name, '.' ))) ext = name + strlen(name); if (!(ext = strrchr( name, '.' ))) ext = name + strlen(name);
if (!(fullname = open_library( name ))) return; if (!(fullname = open_library( name ))) return;
cmdline = xmalloc( strlen(fullname) + 4 ); cmdline = xmalloc( strlen(fullname) + 7 );
sprintf( cmdline, "nm %s", fullname ); sprintf( cmdline, "nm -D %s", fullname );
free( fullname ); free( fullname );
if (!(f = popen( cmdline, "r" ))) if (!(f = popen( cmdline, "r" )))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment