Remove .annobin* symbols from ld.so (#2126477)
This commit is contained in:
parent
ed8c029e6c
commit
7da439ec18
@ -152,7 +152,7 @@ end \
|
|||||||
Summary: The GNU libc libraries
|
Summary: The GNU libc libraries
|
||||||
Name: glibc
|
Name: glibc
|
||||||
Version: %{glibcversion}
|
Version: %{glibcversion}
|
||||||
Release: 17%{?dist}
|
Release: 18%{?dist}
|
||||||
|
|
||||||
# In general, GPLv2+ is used by programs, LGPLv2+ is used for
|
# In general, GPLv2+ is used by programs, LGPLv2+ is used for
|
||||||
# libraries.
|
# libraries.
|
||||||
@ -2171,6 +2171,9 @@ update_gconv_modules_cache ()
|
|||||||
%files -f compat-libpthread-nonshared.filelist -n compat-libpthread-nonshared
|
%files -f compat-libpthread-nonshared.filelist -n compat-libpthread-nonshared
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 23 2022 Florian Weimer <fweimer@redhat.com> - 2.35-18
|
||||||
|
- Remove .annobin* symbols from ld.so (#2126477)
|
||||||
|
|
||||||
* Tue Sep 06 2022 Arjun Shankar <arjun@redhat.com> - 2.35-17
|
* Tue Sep 06 2022 Arjun Shankar <arjun@redhat.com> - 2.35-17
|
||||||
- Co-Authored-By: Benjamin Herrenschmidt <benh@amazon.com>
|
- Co-Authored-By: Benjamin Herrenschmidt <benh@amazon.com>
|
||||||
- Retain .gnu_debuglink section in libc.so.6 (#2090744)
|
- Retain .gnu_debuglink section in libc.so.6 (#2090744)
|
||||||
|
@ -135,6 +135,10 @@ while true ; do
|
|||||||
done
|
done
|
||||||
debug_base_name=${last_arg:-$RPM_BUILD_ROOT}
|
debug_base_name=${last_arg:-$RPM_BUILD_ROOT}
|
||||||
$debugedit -b "$debug_base_name" -d "$debug_dest_name" -n $ldso_path
|
$debugedit -b "$debug_base_name" -d "$debug_dest_name" -n $ldso_path
|
||||||
|
# Remove the .annobin* symbols (and only them).
|
||||||
|
nm --format=just-symbols "$ldso_path" \
|
||||||
|
| grep '^\.annobin' > "$ldso_tmp.annobin-symbols"
|
||||||
|
objcopy --strip-symbols="$ldso_tmp.annobin-symbols" "$ldso_path"
|
||||||
|
|
||||||
# Apply single-file DWARF optimization.
|
# Apply single-file DWARF optimization.
|
||||||
dwz $ldso_path
|
dwz $ldso_path
|
||||||
|
Loading…
Reference in New Issue
Block a user