ver_linux: Query ld cache for versions of libc/libcpp run-time
authorAlexander Kapshuk <alexander.kapshuk@gmail.com>
Sun, 9 Feb 2020 14:00:57 +0000 (16:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Feb 2020 21:35:15 +0000 (13:35 -0800)
commitff5cd9accbc724a793904c6e401040c85be89748
tree31e4b06f076761f4208ee81eacb1775a40f009d2
parentbb6d3fb354c5ee8d6bde2d576eb7220ea09862b9
ver_linux: Query ld cache for versions of libc/libcpp run-time

Query ld cache for versions of both libc and libcpp run-time, instead
of querying /proc/self/maps for libc run-time, and ld cache for libcpp
run-time, thus reducing code size and complexity.

Signed-off-by: Alexander Kapshuk <alexander.kapshuk@gmail.com>
Link: https://lore.kernel.org/r/20200209140057.20181-1-alexander.kapshuk@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/ver_linux