NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/58865: static and dynamic dl_iterate_phdr disagree on main object name



FreeBSD does not process AT_SUN_EXECNAME at all. But I think you are right, might as well use the full path for the name. The Dl_info will be different as returned from dladdr(3), the linkmap entry as returned by dlinfo(3), and the error messages from the linker itself. It will look non-familiar to the user (why I typed ./foo and the error message is /path/foo?), but I think it is better (since it provides an absolute path) and should not break anything.

christos


Attachment: objmain_name.diff
Description: Binary data


Attachment: signature.asc
Description: Message signed with OpenPGP



Home | Main Index | Thread Index | Old Index