On 04/21/2010 07:51 PM, Jack Howarth wrote:
I'm not sure if "nm -g" would work under Linux, since

$ nm -g /usr/lib64/libsqlite3.so
nm: /usr/lib64/libsqlite3.so: no symbols

$ objdump -T /usr/lib64/libsqlite3.so|head -5

/usr/lib64/libsqlite3.so:     file format elf64-x86-64

DYNAMIC SYMBOL TABLE:
00000037aca081b8 l    d  .init  0000000000000000              .init


So I prefer to have this only on Darwin for now.

But it should never trigger under Linux since you always
have binutils and therefore objdump, right?

I'm not comfortable using something that does not work for the most tested platform as a default. If you can test "nm -g" under Linux and you report it works as well as objdump -T, that would be an even better patch. Otherwise, please use "nm -g" only on Darwin.

Paolo

Reply via email to