diff options
| author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-08-30 13:35:52 -0300 |
|---|---|---|
| committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-08-31 09:10:53 -0300 |
| commit | b3736d1a3c60a3ec9959bf3b38794958546bf6a2 (patch) | |
| tree | 1f8c9a0d4c86e43cd77e7e11f8077a6469852298 /malloc/alloc_buffer_alloc_array.c | |
| parent | 3c791f2031ca8f6b99e96b774ed1c505ceb93595 (diff) | |
| download | glibc-b3736d1a3c60a3ec9959bf3b38794958546bf6a2.tar.xz glibc-b3736d1a3c60a3ec9959bf3b38794958546bf6a2.zip | |
elf: Restore how vDSO dependency is printed with LD_TRACE_LOADED_OBJECTS (BZ #29539)
The d7703d3176d225d5743b21811d888619eba39e82 changed how vDSO like
dependencies are printed, instead of just the name and address it
follows other libraries mode and prints 'name => path'.
Unfortunately, this broke some ldd consumer that uses the output to
filter out the program's dependencies. For instance CMake
bundleutilities module [1], where GetPrequirite uses the regex to filter
out 'name => path' [2].
This patch restore the previous way to print just the name and the
mapping address.
Checked on x86_64-linux-gnu.
[1] https://github.com/Kitware/CMake/tree/master/Tests/BundleUtilities
[2] https://github.com/Kitware/CMake/blob/master/Modules/GetPrerequisites.cmake#L733
Reviewed-by: Florian Weimer <fweimer@redhat.com>
(cherry picked from commit 1e903124cec4492463d075c6c061a2a772db77bf)
Diffstat (limited to 'malloc/alloc_buffer_alloc_array.c')
0 files changed, 0 insertions, 0 deletions
