[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: binaries compiled on slink don't run anywhere else



On Sun, Nov 15, 1998 at 11:30:31PM -0500, James LewisMoss wrote:

> Actually it seems to live in some of the egcs objects and libs:

That's where I'm confused.

$ nm 1000s-O2 | grep register_frame_info
         U __deregister_frame_info
         U __register_frame_info

1000s-O2 is a program compiled with g77 (egcs)

$ ldd ./1000s-O2
        libm.so.6 => /lib/libm.so.6 (0x4000f000)
        libc.so.6 => /lib/libc.so.6 (0x40027000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

so, register_frame_info comes from libc.

> So it looks like a completely egcs only problem.

egcs puts the call to __register_frame_info in the binary, but libc provides
the function... or am I missing something about how the linker works?


						Marcelo


Reply to: