How to tell where a symbol is satisfied from.
jes at martnet.com
Thu Dec 28 07:08:07 UTC 2006
Reg Clemens wrote:
> How do I find out where this symbol is defined???
Ok, this is kinda stupid, but Google finds it in BSD libc:
> 44 /*
> 45 * Return remainder after dividing two signed quads.
> 46 *
> 47 * XXX
> 48 * If -1/2 should produce -1 on this machine, this code is wrong.
> 49 */
> 50 longlong_t
> 51 ___moddi3(longlong_t a, longlong_t b)
so I checked there on FC5 as well:
$ nm /lib/libc.so.6 | grep moddi
4f30f980 T __moddi3 at GLIBC_2.0
4f30f980 t __moddi3_internal
4f30fcd1 T __umoddi3 at GLIBC_2.0
4f30fcd1 t __umoddi3_internal
Sorry, I have no idea why it's undefined under FC6.
More information about the users