From 6a4766a535da9137da97236bfccd5ab7aac5c326 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 17 Aug 2021 15:29:15 +0100 Subject: [PATCH] Annocheck: Add linker generated function for s390x exceptions. Resolves: #1981410 --- annobin.spec | 23 ++++++++++++++++++----- sources | 2 +- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/annobin.spec b/annobin.spec index 9a7684b..91c5fdc 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,11 +1,12 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.87 +Version: 9.89 Release: 1%{?dist} License: GPLv3+ -# ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark # Maintainer: nickc@redhat.com +# Web Page: https://sourceware.org/annobin/ +# Watermark Protocol: https://fedoraproject.org/wiki/Toolchain/Watermark #--------------------------------------------------------------------------------- @@ -28,8 +29,8 @@ License: GPLv3+ # Use "--without gccplugin" to disable the building of the annobin plugin for GCC. %bcond_without gccplugin -# Use "--without llvmplugin" to disable the building of the annobin plugin for LLVM. -%bcond_without llvmplugin +# Use "--with llvmplugin" to enable the building of the annobin plugin for LLVM. +%bcond_with llvmplugin # Set this to zero to disable the requirement for a specific version of gcc. # This should only be needed if there is some kind of problem with the version @@ -238,6 +239,11 @@ CONFIG_ARGS="$CONFIG_ARGS --without-test" export CLANG_TARGET_OPTIONS="-fcf-protection" %endif +# Fedora supports AArch64's -mbranch-protection=bti, RHEL does not. +%if 0%{?fedora} != 0 +export CFLAGS="$CFLAGS -DAARCh64_BRANCH_PROTECTION_SUPPORTED=1" +%endif + %make_build %if %{with plugin_rebuild} @@ -292,7 +298,7 @@ rm -f %{buildroot}%{_infodir}/dir %check # Change the following line to "make check || :" on RHEL7 or if you need to see the # test suite logs in order to diagnose a test failure. -make check +make -k check if [ -f tests/test-suite.log ]; then cat tests/test-suite.log fi @@ -329,6 +335,13 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Aug 17 2021 Nick Clifton - 9.89-1 +- Annocheck: Conditionalize detection of AArch64's PAC+BTI protection. +- Annocheck: Add linker generated function for s390x exceptions. (#1981410) +- Annocheck: Generate MAYB results for gaps in notes covering the .text section. (#1991943) +- Annocheck: Close DWARF file descriptors once the debug info is no longer needed. (#1981410) +- LLVM Plugin: Update to build with Clang v13. (Thanks to: Tom Stellard ) + * Mon Aug 16 2021 Nick Clifton - 9.87-1 - Annocheck: Fix memory corruption. (#1988715) - Annocheck: Skip certain tests for kernel modules. diff --git a/sources b/sources index 4569ce3..89a184a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.87.tar.xz) = 04ce3881a149b1e609ecbfcd90b5eb37eddef923f2b6eb3b8e7cc15c6f2c645930ff4e01ff592d9eddd47767cd2b793e68a3dc4c5cc385519c8b6c041ac15a53 +SHA512 (annobin-9.89.tar.xz) = 90151e93b17ed1a95317d6d1006f41c3ce8c9d530436413b45e5c862fbc02a72ff299874f2a231b354d67b7e65d294024237d4f87c9752847d8b9173042b9841