forked from rpms/glibc
Remove .annobin* symbols from ld.so (#2126477)
This commit is contained in:
parent
6c17684392
commit
b400cead41
@ -2184,6 +2184,9 @@ update_gconv_modules_cache ()
|
||||
%files -f compat-libpthread-nonshared.filelist -n compat-libpthread-nonshared
|
||||
|
||||
%changelog
|
||||
* Wed Sep 14 2022 Florian Weimer <fweimer@redhat.com> - 2.36.9000-7
|
||||
- Remove .annobin* symbols from ld.so (#2126477)
|
||||
|
||||
* Tue Sep 13 2022 Florian Weimer <fweimer@redhat.com> - 2.36.9000-6
|
||||
- Drop glibc-deprecated-selinux-makedb.patch. Upstream has been ported
|
||||
to new libselinux.
|
||||
|
@ -135,6 +135,10 @@ while true ; do
|
||||
done
|
||||
debug_base_name=${last_arg:-$RPM_BUILD_ROOT}
|
||||
$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.
|
||||
dwz $ldso_path
|
||||
|
Loading…
Reference in New Issue
Block a user