tech-toolchain archive

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

Re: fixing "libtool -module" for C++



On Sat, Mar 22, 2025 at 01:18:31PM +0100, Anthony Mallet wrote:
> For instance, using your fixunsdfdi example (x86_64):
> $ nm /usr/lib/libgcc_s.so  | grep fixunsdfdi
> 000000000000b8c4 T __fixunsdfdi

Indeed:

0000bea0 t 00008000.got2.plt_pic32.__fixunsdfdi
0000b78c T __fixunsdfdi

> Unrelated question : do we still have non-ELF platforms?

We don't have any where new binaries can be created (but we can
still execute old ones).

> Can this test still trigger nowadays?
>   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then

All of our toolchains pre-define __ELF__ as 1 (AFAICT).

Martin


Home | Main Index | Thread Index | Old Index