BSD's DSO files have undefined symbol "__progname" which is defined in crt1.o.
On that system, both user programs and system shared libraries depend on each
other. We need to put symbols defined by user programs which are referenced
by shared libraries to user program's .dynsym.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I was trying to write the comment concretely to help readers understand the
problem, but that may read that the issue would be limited to __progname.
I'll update the comment. Thank you for the advice.
Comment Actions
LGTM with a nit.
test/elf2/progname.s | ||
---|---|---|
8 | Don't include the numerical value (58). It is not stable. |
Don't include the numerical value (58). It is not stable.