This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Making symbols non version specific
- From: "Jason Pernito" <jpernito at gmail dot com>
- To: libc-help at sourceware dot org
- Date: Tue, 9 Dec 2008 14:59:27 +0800
- Subject: Making symbols non version specific
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=8cnepby2XTvEkmKZZoI2x8zThCyYrLnhHXddgHuyIjY=; b=xH+QD+HMuVrjni0Pv4lpLBzUXFdwX+dB1OC2ZrCUpYybGlhdbfrxWvaYXj21nlXk08 9M1TG8ETjYgo4nY071cNhXx6H+0YvDjbVaYfQvoTydzJE5pcvtsmnY02GqbTOw77dI5E J5OMxLgdCsaPXmOmXcyWNMRb84UI22ZduNmIw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=J8cnTfE3VSPLaGbg37U3pMzUmVJ+ztTVOTYkU/yQPIVKKCi1xIlhbyIDMVVSZKmGzl M+dBPmcwCm/f1MX2AcA9b/+KiSDl3CIHzfltw3LjQdgTcjx9+n/lhwHgkYkVIycjdeVS cyOSqkmeIm4yyq25IMyWGjYACqKyvsgzrq0hU=
Hello All,
This maybe a stupid question but I'd ask anyway. Is there a way we can
make this a non-version (GLIBC) specific?
$ objdump -x libstdc++.so.6.0.9 | grep GLIBC
...
00041f0c g F .text 00000050
_ZNSt19istreambuf_iteratorIcSt11char_traitsIcEEppEv@GLIBCXX_3.4
00000000 F *UND* 00000114 strchr@@GLIBC_2.4
00000000 F *UND* 00000098 wctype@@GLIBC_2.4
00000000 F *UND* 000000cc wmemcmp@@GLIBC_2.4
00000000 F *UND* 00000040 __cxa_atexit@@GLIBC_2.4
00000000 F *UND* 00000028 wcscoll@@GLIBC_2.4
00000000 F *UND* 00000094 memset@@GLIBC_2.4
...
I was thinking of making the changes in the following files but not
really sure if how that would help:
glibc-2.3/sysdeps/arm/eabi/Versions
glibc-2.3/sysdeps/m68k/coldfire/shlib-versions
glibc-2.3/Versions.def
glibc-2.3/shlib-versions
glibc-2.3/math/Versions
Thanks in advance,
-jason
--
"Regard your soldiers as your children,
and they will follow you into the deepest valleys.
Look on them as your beloved sons,
and they will stand by you even unto death!"
- Sun Tzu, the art of war