about summary refs log tree commit diff
path: root/src/internal/version.c
Commit message (Collapse)AuthorAgeFilesLines
* improve machinery for ldso to report libc versionRich Felker2018-09-121-6/+1
| | | | | | | | eliminate gratuitous glue function for reporting the version, which was probably leftover from the old dynamic linker design which lacked a clear barrier for when/how it could access global data. put the declaration for the data object that replaces it in libc.h where it can be type checked.
* define and use internal macros for hidden visibility, weak refsRich Felker2018-09-051-2/+2
| | | | | | | | | this cleans up what had become widespread direct inline use of "GNU C" style attributes directly in the source, and lowers the barrier to increased use of hidden visibility, which will be useful to recovering some of the efficiency lost when the protected visibility hack was dropped in commit dc2f368e565c37728b0d620380b849c3a1ddd78f, especially on archs where the PLT ABI is costly.
* remove use of SHARED macro in dynamic linker version reportingRich Felker2015-11-121-4/+1
| | | | also fix visibility of the glue function used.
* add infrastructure to record and report the version of libc.soRich Felker2013-12-011-0/+12
this is still experimental and subject to change. for git checkouts, an attempt is made to record the exact revision to aid in bug reports and debugging. no version information is recorded in the static libc.a or binaries it's linked into.