public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Tom Kacvinsky <tkacvins@gmail.com>
To: Binutils <binutils@sourceware.org>
Subject: <OS specific> symbols
Date: Sat, 18 Mar 2023 07:20:04 -0400	[thread overview]
Message-ID: <CAG_eJLdrXS-cQfpMjbpVMahOmvUcmSagE_XK-a2NObcreLDEBQ@mail.gmail.com> (raw)

[-- 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

             reply	other threads:[~2023-03-18 11:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-18 11:20 Tom Kacvinsky [this message]
2023-03-18 14:57 ` Andreas Schwab
2023-03-18 15:46   ` Tom Kacvinsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAG_eJLdrXS-cQfpMjbpVMahOmvUcmSagE_XK-a2NObcreLDEBQ@mail.gmail.com \
    --to=tkacvins@gmail.com \
    --cc=binutils@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).