import annobin-10.15-1.el8

This commit is contained in:
CentOS Sources 2021-10-15 16:23:18 +00:00 committed by Stepan Oksanichenko
parent a620ef6c40
commit 00259ed68d
5 changed files with 29 additions and 34 deletions

View File

@ -1 +1 @@
3286c3d821187e9d4d9373a100f89ad49368dd50 SOURCES/annobin-10.06.tar.xz
ea07144ebf221728339143b378c3a73ce99e767b SOURCES/annobin-10.15.tar.xz

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/annobin-10.06.tar.xz
SOURCES/annobin-10.15.tar.xz

View File

@ -1,18 +0,0 @@
--- annobin.orig/gcc-plugin/aarch64.annobin.cc 2021-09-29 16:46:01.346694370 +0100
+++ annobin-10.06/gcc-plugin/aarch64.annobin.cc 2021-09-29 17:01:58.087076291 +0100
@@ -42,6 +42,7 @@ annobin_get_target_pointer_size (void)
return 64;
}
+#ifdef aarch64_branch_protection_string
static void
record_branch_protection_note (bool is_global, annobin_function_info * info)
{
@@ -70,6 +71,7 @@ record_branch_protection_note (bool is_g
annobin_output_note (buffer, len + 1, true, "string: -mbranch-protection status",
is_global, info);
}
+#endif
void
annobin_record_global_target_notes (annobin_function_info * info)

View File

@ -1,11 +0,0 @@
--- annobin.orig/tests/glibc-notes-test 2021-09-29 16:46:01.347694363 +0100
+++ annobin-10.06/tests/glibc-notes-test 2021-09-29 16:46:42.253411494 +0100
@@ -44,7 +44,7 @@ $GCC -pie -Wl,-z,now hello.o hello2.o he
# Run annocheck
-$ANNOCHECK glibc-notes.exe --skip-cf-protection --skip-property-note --skip-stack-realign --ignore-gaps --skip-entry --skip-dynamic-tags > glibc-notes.out
+$ANNOCHECK glibc-notes.exe --skip-cf-protection --skip-property-note --skip-stack-realign --ignore-gaps --skip-entry --skip-dynamic-tags --skip-lto > glibc-notes.out
grep -e "PASS" glibc-notes.out
if [ $? != 0 ];
then

View File

@ -1,7 +1,7 @@
Name: annobin
Summary: Annotate and examine compiled binary files
Version: 10.06
Version: 10.15
Release: 1%{?dist}
License: GPLv3+
# ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark
@ -56,8 +56,6 @@ Source: annobin-%{version}.tar.xz
# Insert patches here, if needed.
Patch01: annobin-nop.patch
Patch02: annobin-glibc-test-skip-lto.patch
Patch03: annobin-aarch64-branch-protection.patch
#---------------------------------------------------------------------------------
@ -320,6 +318,32 @@ fi
#---------------------------------------------------------------------------------
%changelog
* Wed Oct 13 2021 Nick Clifton <nickc@redhat.com> - 10.15-1
- Annocheck: Add tests based upon recent bug fixes.
- Annocheck: Another tweak to glibc detection code.
* Mon Oct 11 2021 Nick Clifton <nickc@redhat.com> - 10.13-1
- Annocheck: Fix memory corruptions when using --debug-path and when a corrupt note is found. (#20011438)
- Annocheck: Fix MAYB results for mixed GO/C files.
- Annocheck: Move some messages from VERBOSE to VERBOSE2.
- Annocheck: Scan zero-length tool notes. (#2011818)
* Wed Oct 06 2021 Nick Clifton <nickc@redhat.com> - 10.11-1
- Annocheck: Fix covscan detected flaws. (#201129)
- plugins: Add more required build options. (#2011163)
* Tue Oct 05 2021 Nick Clifton <nickc@redhat.com> - 10.10-1
- Annocheck: Fix cf-prot test to fail if the CET notes are missing. (#2010671)
- Annocheck: Skip gaps in the .plt section. (#2010675)
- Plugins: Add -g option when building LLVM and Clang. (#2010675)
* Mon Oct 04 2021 Nick Clifton <nickc@redhat.com> - 10.09-1
- Annocheck: Add more cases of glibc startup functions. (#1981410)
- Annocheck: Fix covscan detected problems.
- Annocheck: Add --profile=el8.
- gcc-plugin: Conditionalize generation of branch protection note.
- Annocheck: Ignore gaps containing NOP instructions.
* Wed Sep 29 2021 Nick Clifton <nickc@redhat.com> - 10.06-1
- Rebase to 10.06. (#2002351)
- GCC Plugin: Fix detection of running inside the LTO compiler. (#2004917)