[uClibc]Symbol versioning with uClibc

Jeff Angielski jeff at theptrgroup.com
Tue Jun 17 18:22:41 UTC 2003


Has anybody had any success with using symbol versions with uClibc and
executables built against uClibc?  Specifically, I am trying to enable the
symbols versions so that when I do an objdump -T <image> I get version
information in the output.

For instance, when I objdump my version of busybox for my MIPS target that I
build against uClibc, I get:

....
0000000000465cb0      DF *UND*  0000000000000030 strcpy
00000000004625c0 g    DF .text  00000000000000b4 xmalloc
0000000000465ca0      DF *UND*  00000000000000c4 putchar
....

However, when I look at busybox compiled against glibc, I get:

....
0000000000000000      DF *UND*  0000000000000000  GLIBC_2.0   readlink
000000000045ac20 g    DF .text  0000000000000114  Base        gz_close
000000000045d520      DF *UND*  0000000000000090  GLIBC_2.2   __cxa_atexit
000000000045afb0 g    DF .text  0000000000000068  Base        xmalloc
....


TIA,
Jeff




More information about the uClibc mailing list