Commit Graph

10 Commits

Author SHA1 Message Date
Florian Weimer
6904f9b37b Use a temporary directory in wrap-find-debuginfo.sh
This avoids the need for separate variables for all files.

Rawhide commit: 6c17684392
2022-10-01 02:04:17 +02:00
Arjun Shankar
d8930c2b6b Retain libc.so.6 debuglink section, remove ld.so debuginfo file (#2090744)
This commit fixes wrap-find-debuginfo.sh so that:
* the .gnu_debuglink section of libc.so.6 is retained, and
* the redundant debuginfo file generated for ld.so is removed

Co-Authored-By: Benjamin Herrenschmidt <benh@amazon.com>
Reviewed-by: Florian Weimer <fweimer@redhat.com>

Rawhide commit: 8e2d77f734
2022-09-06 17:58:32 +02:00
Florian Weimer
5b63da3fa5 Further .symtab adjustment: Keep all __GI_* symbols (#1975859) 2021-06-28 09:29:49 +02:00
Florian Weimer
4f2dd301cc Keep most of .symtab in libc.so.6 (#1975859) 2021-06-28 07:49:20 +02:00
Florian Weimer
14d5c92a57 Redo the crafted libc.so.6 symbol table for valgrind (#1965374) 2021-06-17 14:48:39 +02:00
Florian Weimer
654f636b32 Remove .symtab from libc.so.6 again (#1965374)
Apparently, debugedit changes the build ID, so the separated debuginfo
no longer matches the specially crafted copy of libc.so.6 with its
minimal .symtab.
2021-06-17 10:31:26 +02:00
Florian Weimer
027b24e17f Preserve some symbols in libc.so.6's symtab (#1965374) 2021-06-15 17:09:29 +02:00
Florian Weimer
fd5c07ba69 Install shared objects under their ABI names, avoiding symlinks (#1652867)
This adds patches proposed upstream to enable downgrades across
major glibc versions.

File list construction and the find-debuginfo.sh wrapper had
to be adjusted to cope with the changed file name patterns.
2021-06-15 14:26:40 +02:00
Florian Weimer
79751685db wrap-find-debuginfo.sh: Enable separate debugedit program 2021-05-21 16:22:23 +02:00
Florian Weimer
8d4b53ceef Switch to the distribution debuginfo generation mechanism
This needs a wrapper script around find-debuginfo.sh, so that
ld.so is not stripped.

This commit resolves debuginfo file conflicts (#1886295) because
the ldconfig debuginfo file now includes the architecture name.
All debugging information is preserved in ld.so (#1905611).  With
the distribution defaults, we strip all binaries again (#1661510).
2021-05-11 17:30:04 +02:00