Re: [PATCH]mips: ldso: dlopen with flag RTLD_NOW should look up the symbols
Jean Lee <[email protected]>
| Newsgroups | gmane.comp.lib.uclibc.general |
|---|---|
| Message-ID | <CALuKrvCfcrHzoL0C8E6Qhz852TopZ+cSuWmmd1dc+46GhXswrg@mail.gmail.com> |
> (1)mipsel-linux-gnu 4.8.4(compiled by Broadcom) > mipsel-linux-gnu-gcc 4.8.4 > binutils 2.24 (GNU ld (GNU Binutils) 2.24.0.20140801 Linaro 2014.08) > libc 2.18-2013.10 > It's not uclibc. I do further test in this platform. (1) If dlopen with flag RTLD_NOW, the result is: open ./libtest_mips.so fail. ./libtest_mips.so: undefined symbol: not_exist_function And the program continues running. (2) If dlopen with flag RTLD_LAZY, the result is: ./mips_test: symbol lookup error: ./libtest_mips.so: undefined symbol: not_exist_function And the program exits. So I guess eglibc may do something more for mips dlopen. Does anyone know it?