public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* <OS specific> symbols
@ 2023-03-18 11:20 Tom Kacvinsky
  2023-03-18 14:57 ` Andreas Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Kacvinsky @ 2023-03-18 11:20 UTC (permalink / raw)
  To: Binutils

[-- Attachment #1: Type: text/plain, Size: 633 bytes --]

I ran across an interesting third party tool that has this interesting
facet:

vapkay@vadcpctlbld4 ~ $ readelf -Wa /opt/bin/fubar | grep
_ZGVNSt7collateIwE2idE



0000000000921d28  0000003200000006 R_X86_64_GLOB_DAT      0000000000939cf0
_ZGVNSt7collateIwE2idE + 0

    50: 0000000000939cf0     8 OBJECT  <OS specific>: 10 DEFAULT   29
_ZGVNSt7collateIwE2idE


That is definitely a C++ symbol, but libstdc++.so was not linked
dynamically.  I am wanting to know how one would get an <OS specific>
symbol, and if there is a way of working around this at run time.  This
tool works fine on CenTOS 7 but not on CentOS 5.


Thanks,


Tom

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-03-18 15:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-18 11:20 <OS specific> symbols Tom Kacvinsky
2023-03-18 14:57 ` Andreas Schwab
2023-03-18 15:46   ` Tom Kacvinsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).