This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Problem with removing atexit.
On Tue, May 01, 2001 at 01:44:06PM -0400, Ben Collins wrote:
>
> I just tried running a bash that was compiled against glibc 2.0.7t
> (along with a libncurses.so.3.4 and libreadline.so.2, also compiled
> against 2.0.7t) and it worked fine.
>
> $ objdump --dynamic-syms tmp/lib/libncurses.so.3.4 | grep atexit
> 00000000 DF *UND* 0000003e atexit
> $ objdump --dynamic-syms /lib/libc-2.2.3.so | grep atexit
> 00019430 l d .rel__libc_atexit 00000000
> 0010c66c l d __libc_atexit 00000000
> 0002f110 g DF .text 00000034 (GLIBC_2.0) atexit
> 0002ef50 g DF .text 00000048 GLIBC_2.1.3 __cxa_atexit
> $ ldd tmp/bin/bash
> libreadline.so.2 => /home/bcollins/tmp/lib/libreadline.so.2 (0x40017000)
> libncurses.so.3.4 => /home/bcollins/tmp/lib/libncurses.so.3.4 (0x40042000)
> libdl.so.2 => /lib/libdl.so.2 (0x4008b000)
> libc.so.6 => /lib/libc.so.6 (0x4008f000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> $ ./tmp/bin/bash -c "echo hello"
> hello
> $
>
It seems we do handle this case right.
H.J.