This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
LD_DEBUG=bindings shows resolution *via* the exe?
- From: Brian Rossa <br at f0cal dot com>
- To: binutils at sourceware dot org
- Date: Mon, 29 Apr 2019 10:00:31 -0400
- Subject: LD_DEBUG=bindings shows resolution *via* the exe?
Most symbols resolve normally, with the exe "looking" and the libraries
providing. But a small few *appear* to be resolved via the exe itself. For
example,
```
binding file /lib/aarch64-linux-gnu/libc.so.6 [0] to python [0]: normal
symbol `stderr' [GLIBC_2.17]
```
and
```
binding file /lib/aarch64-linux-gnu/libz.so.1 [0] to python [0]: normal
symbol `__stack_chk_guard' [GLIBC_2.17]
```
I only find this for a handful of symbols, such as: __environ, __progname,
__progname_full, __stack_chk_guard, optind, stderr, stdin, stdout
What does this mean?
Cheers!
~br