[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
objcopy can't localize dynamic symbols?
From: |
Craig Lawson |
Subject: |
objcopy can't localize dynamic symbols? |
Date: |
Thu, 12 Aug 2004 17:23:17 -0700 |
Hi,
I'm seeing some unexpected behavior in objcopy 2.14 and 2.15 that
naturally I assume is a bug. Is it?
Test case:
1$ cp /lib/libc-2.3.2.so /tmp
2$ cd /tmp
3$ nm -D libc-2.3.2.so | grep gnu_get_libc_release
00015c40 W gnu_get_libc_release
4$ objcopy --localize-symbol gnu_get_libc_release libc-2.3.2.so
5$ nm -D libc-2.3.2.so | grep gnu_get_libc_release
00015c40 W gnu_get_libc_release
The symbol's status remains a weak global. It should change, right?
I'm guessing the --localize-symbol option works for statically linked
files, but that's not what I need here.
Thanks,
Craig.
- objcopy can't localize dynamic symbols?,
Craig Lawson <=