Blame SPECS/annobin.spec

d87b02
d87b02
Name:    annobin
d87b02
Summary: Annotate and examine compiled binary files
69db04
Version: 10.73
69db04
Release: 3%{?dist}
d87b02
License: GPLv3+
d87b02
# Maintainer: nickc@redhat.com
d87b02
# Web Page: https://sourceware.org/annobin/
d87b02
# Watermark Protocol: https://fedoraproject.org/wiki/Toolchain/Watermark
d87b02
d87b02
#---------------------------------------------------------------------------------
d87b02
d87b02
# Use "--without tests" to disable the testsuite.
d87b02
%bcond_without tests
d87b02
d87b02
# Use "--without annocheck" to disable the installation of the annocheck program.
d87b02
%bcond_without annocheck
d87b02
d87b02
# Use "--with debuginfod" to force support for debuginfod to be compiled into
d87b02
# the annocheck program.  By default the configure script will check for
d87b02
# availablilty at build time, but this might not match the run time situation.
d87b02
# FIXME: Add a --without debuginfod option to forcefully disable the configure
d87b02
# time check for debuginfod support.
d87b02
%bcond_with debuginfod
d87b02
d87b02
# Use "--without clangplugin" to disable the building of the annobin plugin for Clang.
d87b02
%bcond_without clangplugin
d87b02
d87b02
# Use "--without gccplugin" to disable the building of the annobin plugin for GCC.
d87b02
%bcond_without gccplugin
d87b02
d87b02
# Use "--with llvmplugin" to enable the building of the annobin plugin for LLVM.
d87b02
%bcond_without llvmplugin
d87b02
d87b02
# Set this to zero to disable the requirement for a specific version of gcc.
d87b02
# This should only be needed if there is some kind of problem with the version
d87b02
# checking logic or when building on RHEL-7 or earlier.
d87b02
%global with_hard_gcc_version_requirement 1
d87b02
d87b02
%bcond_without plugin_rebuild
d87b02
# Allow the building of annobin without using annobin itself.
d87b02
# This is because if we are bootstrapping a new build environment we can have
d87b02
# a new version of gcc installed, but without a new of annobin installed.
d87b02
# (i.e. we are building the new version of annobin to go with the new version
d87b02
# of gcc).  If the *old* annobin plugin is used whilst building this new
d87b02
# version, the old plugin will complain that version of gcc for which it
d87b02
# was built is different from the version of gcc that is now being used, and
d87b02
# then it will abort.
d87b02
#
d87b02
# The default is to use annobin.  cf BZ 1630550.
d87b02
%if %{without plugin_rebuild}
d87b02
%undefine _annotated_build
d87b02
%endif
d87b02
d87b02
#---------------------------------------------------------------------------------
d87b02
d87b02
%global annobin_sources annobin-%{version}.tar.xz
d87b02
Source: https://nickc.fedorapeople.org/%{annobin_sources}
d87b02
# For the latest sources use:  git clone git://sourceware.org/git/annobin.git
d87b02
d87b02
# This is where a copy of the sources will be installed.
d87b02
%global annobin_source_dir %{_usrsrc}/annobin
d87b02
d87b02
# Insert patches here, if needed.  Eg:
d87b02
# Patch01: annobin-foo.patch
d87b02
d87b02
#---------------------------------------------------------------------------------
d87b02
d87b02
# [Stolen from gcc-python-plugin]
d87b02
# GCC will only load plugins that were built against exactly that build of GCC
d87b02
# We thus need to embed the exact GCC version as a requirement within the
d87b02
# metadata.
d87b02
#
d87b02
# Define "gcc_vr", a variable to hold the VERSION-RELEASE string for the gcc
d87b02
# we are being built against.
d87b02
#
d87b02
# Unfortunately, we can't simply run:
d87b02
#   rpm -q --qf="%%{version}-%%{release}"
d87b02
# to determine this, as there's no guarantee of a sane rpm database within
d87b02
# the chroots created by our build system
d87b02
#
d87b02
# So we instead query the version from gcc's output.
d87b02
#
d87b02
# gcc.spec has:
d87b02
#   Version: %%{gcc_version}
d87b02
#   Release: %%{gcc_release}%%{?dist}
d87b02
#   ...snip...
d87b02
#   echo 'Red Hat %%{version}-%%{gcc_release}' > gcc/DEV-PHASE
d87b02
#
d87b02
# So, given this output:
d87b02
#
d87b02
#   $ gcc --version
d87b02
#   gcc (GCC) 4.6.1 20110908 (Red Hat 4.6.1-9)
d87b02
#   Copyright (C) 2011 Free Software Foundation, Inc.
d87b02
#   This is free software; see the source for copying conditions.  There is NO
d87b02
#   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
d87b02
#
d87b02
# we can scrape out the "4.6.1" from the version line.
d87b02
#
d87b02
# The following implements the above:
d87b02
d87b02
%global gcc_vr %(gcc --version | head -n 1 | sed -e 's|.*(Red\ Hat\ ||g' -e 's|)$||g')
d87b02
d87b02
# We need the major version of gcc.
d87b02
%global gcc_major %(echo "%{gcc_vr}" | cut -f1 -d".")
d87b02
%global gcc_next  %(v="%{gcc_major}"; echo $((++v)))
d87b02
d87b02
# Needed when building the srpm.
d87b02
%if 0%{?gcc_major} == 0
d87b02
%global gcc_major 0
d87b02
%endif
d87b02
d87b02
# This is a gcc plugin, hence gcc is required.
d87b02
%if %{with_hard_gcc_version_requirement}
d87b02
# BZ 1607430 - There is an exact requirement on the major version of gcc.
d87b02
Requires: (gcc >= %{gcc_major} with gcc < %{gcc_next})
d87b02
%else
d87b02
Requires: gcc
d87b02
%endif
d87b02
d87b02
BuildRequires: gcc gcc-plugin-devel gcc-c++
d87b02
# The documentation uses pod2man...
d87b02
BuildRequires: perl perl-podlators
d87b02
%if %{with clangplugin}
d87b02
BuildRequires: clang clang-devel llvm llvm-devel compiler-rt gawk
d87b02
%endif
d87b02
%if %{with llvmplugin}
d87b02
BuildRequires: clang clang-devel llvm llvm-devel compiler-rt gawk
d87b02
%endif
d87b02
d87b02
%description
d87b02
Provides a plugin for GCC that records extra information in the files
d87b02
that it compiles.
d87b02
d87b02
Note - the plugin is automatically enabled in gcc builds via flags
d87b02
provided by the redhat-rpm-macros package.
d87b02
d87b02
%if %{with clangplugin}
d87b02
Also provides a plugin for Clang which performs a similar function.
d87b02
%endif
d87b02
d87b02
%if %{with llvmplugin}
d87b02
Also provides a plugin for LLVM which performs a similar function.
d87b02
%endif
d87b02
d87b02
#---------------------------------------------------------------------------------
d87b02
%if %{with tests}
d87b02
d87b02
%package tests
d87b02
Summary: Test scripts and binaries for checking the behaviour and output of the annobin plugin
d87b02
d87b02
%description tests
d87b02
Provides a means to test the generation of annotated binaries and the parsing
d87b02
of the resulting files.
d87b02
d87b02
%endif
d87b02
d87b02
#---------------------------------------------------------------------------------
d87b02
%if %{with annocheck}
d87b02
d87b02
%package annocheck
d87b02
Summary: A tool for checking the security hardening status of binaries
d87b02
d87b02
BuildRequires: gcc elfutils elfutils-devel elfutils-libelf-devel rpm-devel binutils-devel make
d87b02
%if %{with debuginfod}
d87b02
BuildRequires: elfutils-debuginfod-client-devel
d87b02
%endif
d87b02
Requires: cpio rpm
d87b02
d87b02
%description annocheck
d87b02
Installs the annocheck program which uses the notes generated by annobin to
d87b02
check that the specified files were compiled with the correct security
d87b02
hardening options.
d87b02
d87b02
%endif
d87b02
d87b02
#---------------------------------------------------------------------------------
d87b02
d87b02
%global ANNOBIN_GCC_PLUGIN_DIR %(gcc --print-file-name=plugin)
d87b02
d87b02
%{!?llvm_plugin_dir:%global  llvm_plugin_dir  %{_libdir}/llvm/plugins}
d87b02
%{!?clang_plugin_dir:%global clang_plugin_dir %{_libdir}/clang/plugins}
d87b02
d87b02
%if %{with gccplugin}
d87b02
# Information about the gcc plugin is recorded in this file.
d87b02
%global aver annobin-plugin-version-info
d87b02
%endif
d87b02
d87b02
#---------------------------------------------------------------------------------
d87b02
d87b02
%prep
d87b02
if [ -z "%{gcc_vr}" ]; then
d87b02
    echo "*** Missing gcc_vr spec file macro, cannot continue." >&2
d87b02
    exit 1
d87b02
fi
d87b02
d87b02
echo "Requires: (gcc >= %{gcc_major} and gcc < %{gcc_next})"
d87b02
d87b02
%autosetup -p1
d87b02
d87b02
# The plugin has to be configured with the same arcane configure
d87b02
# scripts used by gcc.  Hence we must not allow the Fedora build
d87b02
# system to regenerate any of the configure files.
d87b02
touch aclocal.m4 gcc-plugin/config.h.in
d87b02
touch configure */configure Makefile.in */Makefile.in
d87b02
# Similarly we do not want to rebuild the documentation.
d87b02
touch doc/annobin.info
d87b02
d87b02
#---------------------------------------------------------------------------------
d87b02
d87b02
%build
d87b02
d87b02
CONFIG_ARGS="--quiet --with-gcc-plugin-dir=%{ANNOBIN_GCC_PLUGIN_DIR}"
d87b02
d87b02
%if %{with debuginfod}
d87b02
CONFIG_ARGS="$CONFIG_ARGS --with-debuginfod"
d87b02
%else
d87b02
CONFIG_ARGS="$CONFIG_ARGS --without-debuginfod"
d87b02
%endif
d87b02
d87b02
%if %{with clangplugin}
d87b02
CONFIG_ARGS="$CONFIG_ARGS --with-clang"
d87b02
%endif
d87b02
d87b02
%if %{without gccplugin}
d87b02
CONFIG_ARGS="$CONFIG_ARGS --without-gcc-plugin"
d87b02
%endif
d87b02
d87b02
%if %{with llvmplugin}
d87b02
CONFIG_ARGS="$CONFIG_ARGS --with-llvm"
d87b02
%endif
d87b02
d87b02
%if %{without tests}
69db04
CONFIG_ARGS="$CONFIG_ARGS --without-tests"
d87b02
%endif
d87b02
d87b02
%set_build_flags
d87b02
d87b02
# Fedora supports AArch64's -mbranch-protection=bti, RHEL does not.
d87b02
%if 0%{?fedora} != 0
d87b02
export CFLAGS="$CFLAGS -DAARCh64_BRANCH_PROTECTION_SUPPORTED=1"
d87b02
%endif
d87b02
d87b02
CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" CXXFLAGS="$CFLAGS" %configure ${CONFIG_ARGS} || cat config.log
d87b02
d87b02
%ifarch %{ix86} x86_64
d87b02
# FIXME: There should be a better way to do this.
d87b02
export CLANG_TARGET_OPTIONS="-fcf-protection"
d87b02
%endif
d87b02
d87b02
%make_build
d87b02
d87b02
%if %{with plugin_rebuild}
d87b02
# Rebuild the plugin(s), this time using the plugin itself!  This
d87b02
# ensures that the plugin works, and that it contains annotations
d87b02
# of its own.
d87b02
d87b02
%if %{with gccplugin}
d87b02
cp gcc-plugin/.libs/annobin.so.0.0.0 %{_tmppath}/tmp_annobin.so
d87b02
make -C gcc-plugin clean
d87b02
BUILD_FLAGS="-fplugin=%{_tmppath}/tmp_annobin.so"
d87b02
d87b02
# Disable the standard annobin plugin so that we do get conflicts.
d87b02
OPTS="$(rpm --eval '%undefine _annotated_build %build_cflags %build_ldflags')"
d87b02
d87b02
# If building on RHEL7, enable the next option as the .attach_to_group
d87b02
# assembler pseudo op is not available in the assembler.
d87b02
# BUILD_FLAGS="$BUILD_FLAGS -fplugin-arg-tmp_annobin-no-attach"
d87b02
d87b02
make -C gcc-plugin CXXFLAGS="$OPTS $BUILD_FLAGS"
d87b02
rm %{_tmppath}/tmp_annobin.so
d87b02
%endif
d87b02
d87b02
%if %{with clangplugin}
d87b02
cp clang-plugin/annobin-for-clang.so %{_tmppath}/tmp_annobin.so
d87b02
make -C clang-plugin all CXXFLAGS="$OPTS $BUILD_FLAGS"
d87b02
%endif
d87b02
d87b02
%if %{with llvmplugin}
d87b02
cp llvm-plugin/annobin-for-llvm.so %{_tmppath}/tmp_annobin.so
d87b02
make -C llvm-plugin all CXXFLAGS="$OPTS $BUILD_FLAGS"
d87b02
%endif
d87b02
d87b02
%endif
d87b02
d87b02
#---------------------------------------------------------------------------------
d87b02
d87b02
# PLUGIN_INSTALL_DIR is used by the Clang and LLVM makefiles...
d87b02
%install
d87b02
%make_install PLUGIN_INSTALL_DIR=%{buildroot}/%{llvm_plugin_dir}
d87b02
d87b02
%if %{with clangplugin}
d87b02
# Move the clang plugin to a seperate directory.
d87b02
mkdir -p %{buildroot}/%{clang_plugin_dir}
d87b02
mv %{buildroot}/%{llvm_plugin_dir}/annobin-for-clang.so %{buildroot}/%{clang_plugin_dir}
d87b02
%endif
d87b02
d87b02
%if %{with gccplugin}
d87b02
# Record the version of gcc that built this plugin.
d87b02
# Note - we cannot just store %%{gcc_vr} as sometimes the gcc rpm version changes
d87b02
# without the NVR being altered.  See BZ #2030671 for more discussion on this.
d87b02
mkdir -p                             %{buildroot}/%{ANNOBIN_GCC_PLUGIN_DIR}
d87b02
cat `gcc --print-file-name=rpmver` > %{buildroot}/%{ANNOBIN_GCC_PLUGIN_DIR}/%{aver}
d87b02
d87b02
# Also install a copy of the sources into the build tree.
d87b02
mkdir -p                            %{buildroot}%{annobin_source_dir}
d87b02
cp %{_sourcedir}/%{annobin_sources} %{buildroot}%{annobin_source_dir}/latest-annobin.tar.xz
d87b02
%endif
d87b02
d87b02
rm -f %{buildroot}%{_infodir}/dir
d87b02
d87b02
#---------------------------------------------------------------------------------
d87b02
d87b02
%if %{with tests}
d87b02
%check
d87b02
# Change the following line to "make check || :" on RHEL7 or if you need to see the
d87b02
# test suite logs in order to diagnose a test failure.
d87b02
make -k check CLANG_TESTS="check-pre-clang-13"
d87b02
if [ -f tests/test-suite.log ]; then
d87b02
    cat tests/test-suite.log
d87b02
fi
d87b02
%endif
d87b02
d87b02
#---------------------------------------------------------------------------------
d87b02
d87b02
%files
d87b02
%license COPYING3 LICENSE
d87b02
%exclude %{_datadir}/doc/annobin-plugin/COPYING3
d87b02
%exclude %{_datadir}/doc/annobin-plugin/LICENSE
d87b02
%doc %{_datadir}/doc/annobin-plugin/annotation.proposal.txt
d87b02
%{_infodir}/annobin.info*
d87b02
%{_mandir}/man1/annobin.1*
d87b02
%exclude %{_mandir}/man1/built-by.1*
d87b02
%exclude %{_mandir}/man1/check-abi.1*
d87b02
%exclude %{_mandir}/man1/hardened.1*
d87b02
%exclude %{_mandir}/man1/run-on-binaries-in.1*
d87b02
d87b02
%if %{with clangplugin}
d87b02
%{clang_plugin_dir}/annobin-for-clang.so
d87b02
%endif
d87b02
d87b02
%if %{with llvmplugin}
d87b02
%{llvm_plugin_dir}/annobin-for-llvm.so
d87b02
%endif
d87b02
d87b02
%if %{with gccplugin}
d87b02
%{ANNOBIN_GCC_PLUGIN_DIR}/annobin.so
d87b02
%{ANNOBIN_GCC_PLUGIN_DIR}/annobin.so.0
d87b02
%{ANNOBIN_GCC_PLUGIN_DIR}/annobin.so.0.0.0
d87b02
%{ANNOBIN_GCC_PLUGIN_DIR}/%{aver}
d87b02
%{annobin_source_dir}/latest-annobin.tar.xz
d87b02
%endif
d87b02
d87b02
%if %{with annocheck}
d87b02
%files annocheck
d87b02
%{_includedir}/libannocheck.h
d87b02
%{_libdir}/libannocheck.*
d87b02
%{_bindir}/annocheck
d87b02
%{_mandir}/man1/annocheck.1*
d87b02
%endif
d87b02
d87b02
#---------------------------------------------------------------------------------
d87b02
d87b02
%changelog
69db04
* Wed Jul 20 2022 Florian Weimer <fweimer@redhat.com> - 10.73-3
69db04
- Rebuild to switch back to system annobin (#2106262)
69db04
69db04
* Tue May 17 2022 Nick Clifton  <nickc@redhat.com> - 10.73-1
69db04
- Annocheck: Fix handling of command line options that take arguments.  (#2086850)
69db04
- Annocheck: Do not complain about unenabled -mbranch-protection option in AArch64 binaries.  (#2078909)
69db04
69db04
* Fri May 13 2022 Nick Clifton  <nickc@redhat.com> - 10.71-1
69db04
- llvm-plugin: Rebuild against LLVM 14.  (#2061050)
69db04
- gcc-plugin: Fix typo in configure.ac
69db04
69db04
* Mon May 09 2022 Nick Clifton  <nickc@redhat.com> - 10.70-1
69db04
- Annocheck: Add another special case for glibc rpms.  (#2083070)
69db04
- Annocheck: Do not complain about unenabled -mbranch-protection option in AArch64 binaries if compiled using LTO.  (#2082146)
69db04
69db04
* Fri May 06 2022 Nick Clifton  <nickc@redhat.com> - 10.68-1
69db04
- Annocheck: Add more glibc exceptions + check PT_TLS segments.  (#2081131)
69db04
- Annocheck: Do not complain about missing -mbranch-protection option in AArch64 binaries if compiled by golang.
69db04
- Annocheck: Do not complain about missing -mbranch-protection option in AArch64 binaries if compiled in LTO mode.
69db04
- gcc-plugin: Add support for CLVC_INTEGER options.
69db04
- Annocheck: Even more special cases for AArch64 glibc on RHEL-8.  (#2072082)
69db04
- Annocheck: Add more special cases for AArch64 glibc on RHEL-8.  (#2072082)
69db04
- llvm-plugin: Fix a thinko in the sources.
69db04
- gcc-plugin: Add remap of OPT_Wall.
69db04
- configure: Fix typo in top level configure.ac.
69db04
- Add support for building using meson+ninja.
69db04
- Annocheck: Fix test for AArch64 property notes.  (#2068657)
69db04
69db04
* Mon Mar 14 2022 Nick Clifton  <nickc@redhat.com> - 10.58-1
69db04
- gcc-plugin: Do not issue warning messages for autoconf generated source files.  (#2009958)
69db04
69db04
* Mon Mar 07 2022 Nick Clifton  <nickc@redhat.com> - 10.57-1
69db04
- Rebuild to work with LLVM14.  (#2061050)
69db04
- Annocheck: Update documentation and fix typo in annocheck.  (#2061291)
69db04
- Annocheck: Add option to enable/disable following symbolic links.
69db04
- Always identify Rust binaries, even if built on a host that does not know about Rust.  (#2057737)
69db04
d87b02
* Tue Feb 15 2022 Nick Clifton  <nickc@redhat.com> - 10.54-2
d87b02
- Spec File: Use a different method to disable the annobin plugin  (#2054571)
d87b02
d87b02
* Mon Feb 14 2022 Nick Clifton  <nickc@redhat.com> - 10.54-1
d87b02
- Annocheck: Accept static GO binaries.  (#2053606)
d87b02
d87b02
* Fri Feb 11 2022 Nick Clifton  <nickc@redhat.com> - 10.53-2
d87b02
- NVR bump to allow rebuilding against latest gcc.  (#2053507)
d87b02
d87b02
* Fri Jan 28 2022 Nick Clifton  <nickc@redhat.com> - 10.53-1
d87b02
- gcc-plugin: Fix libtool so that extraneous runpaths are not added to the plugin.  (#2047356)
d87b02
- gcc-plugin: Use canonical_option field of save_decoded_options array. (#2047148)
d87b02
d87b02
* Tue Jan 25 2022 Nick Clifton  <nickc@redhat.com> - 10.51-1
d87b02
- Annocheck: Add an option to disable the use of debuginfod (if available).
d87b02
- Annocheck: Add more glibc special file names.
d87b02
- Annocheck: Skip some tests for BPF binaries.  (#2044897)
d87b02
d87b02
* Mon Jan 24 2022 Nick Clifton  <nickc@redhat.com> - 10.50-1
d87b02
- Annocheck: Skip property note test for GO binaries.  (#204300)
d87b02
- Annocheck: Add another glibc static library symbol.  (#2043047)
d87b02
- Spec File: Use gcc --print-file-name=rpmver for the gcc version info.
d87b02
    
d87b02
* Mon Jan 17 2022 Nick Clifton  <nickc@redhat.com> - 10.48-1
d87b02
- GCC Plugin: Do not fail if a section cannot be attached to a group.
d87b02
d87b02
* Wed Jan 12 2022 Nick Clifton  <nickc@redhat.com> - 10.47-1
d87b02
- Annocheck: Improve detection of kernel modules.
d87b02
- GCC Plugin: Only default to link-once when using gcc-12 or later.  (#2039297)
d87b02
d87b02
* Wed Jan 12 2022 Nick Clifton  <nickc@redhat.com> - 10.46-1
d87b02
- Annocheck: Add option to disable instrumentation test.
d87b02
- GCC Plugin: Fix building with gcc-12.
d87b02
- Spec file: Add requirement on cpio for annocheck.  (#2039747)
d87b02
d87b02
* Fri Jan 07 2022 Nick Clifton  <nickc@redhat.com> - 10.44-1
d87b02
- Annocheck: Add even more glibc function names. (#2037333)
d87b02
- Annocheck: ARM: Do not fail tests that rely upon annobin notes.
d87b02
d87b02
* Thu Jan 06 2022 Nick Clifton  <nickc@redhat.com> - 10.42-1
d87b02
- Annocheck: Extend list of known glibc functions.  (#2037333)
d87b02
d87b02
* Wed Jan 05 2022 Nick Clifton  <nickc@redhat.com> - 10.41-1
d87b02
- Annocheck: Ignore gaps that contain the _start symbol (for AArch64).  (#1995224)
d87b02
- Annocheck: Ignore more glibc special binaries.  (#2037220)
d87b02
d87b02
* Tue Jan 04 2022 Nick Clifton  <nickc@redhat.com> - 10.40-1
d87b02
- Annocheck: Do not complaining about missing stack clash notes if the compilation used LTO.  (#2034946)
d87b02
d87b02
* Mon Dec 20 2021 Nick Clifton  <nickc@redhat.com> - 10.39-1
d87b02
- Annocheck: Add /usr/lib/ld-linux-aarch64.so.1 to the list of known glibc binaries.  (#2033255)
d87b02
- Doc: Note that ENDBR is only needed as the landing pad for indirect branches/calls.  (#28705)
d87b02
- Spec File: Store full	gcc version release string in plugin info file.  (#2030671)
d87b02
- Annocheck: Add special case for x86_64 RHEL-7 gaps.  (#2031133)
d87b02
d87b02
* Tue Dec 14 2021 Nick Clifton  <nickc@redhat.com> - 10.37-1
d87b02
- Annocheck: Do not complaining about missing -mstackrealign notes in LTO mode.  (#2030298)
d87b02
- GCC Plugin: Do not record missing -mstackrealign in LTO mode.
d87b02
d87b02
* Mon Dec 13 2021 Nick Clifton  <nickc@redhat.com> - 10.34-1
d87b02
- Tests: Fix gaps and stat tests to use newly built annobin plugin.  (#2028063)
d87b02
d87b02
* Mon Dec 06 2021 Nick Clifton  <nickc@redhat.com> - 10.33-1
d87b02
- NVR bump to allow rebuilding against new GCC.  (#2028063)
d87b02
d87b02
* Mon Dec 06 2021 Nick Clifton  <nickc@redhat.com> - 10.32-1
d87b02
- Annocheck: Ignore gaps in binaries at least partial built by golang.  (#2028583)
d87b02
d87b02
* Fri Dec 03 2021 Nick Clifton  <nickc@redhat.com> - 10.31-1
d87b02
- Annocheck: Allow spaces in gloang symbols.  (#2028583)
d87b02
d87b02
* Wed Dec 01 2021 Nick Clifton  <nickc@redhat.com> - 10.30-1
d87b02
- Annocheck: Initial deployment of libannocheck.  (#2028063)
d87b02
d87b02
* Thu Nov 25 2021 Nick Clifton  <nickc@redhat.com> - 10.29-1
d87b02
- gcc-plugin: Fix bug creating empty attachments.
d87b02
- Annocheck: Change MAYB result to SKIP for DT_RPATH.  (#2026300)
d87b02
- Annocheck: Skip missing fortify/warning notes for ARM32.
d87b02
d87b02
* Thu Nov 18 2021 Nick Clifton  <nickc@redhat.com> - 10.26-1
d87b02
- gcc-plugin: Another attempt at fixing ppc64le section grouping.  (#2016458)
d87b02
d87b02
* Tue Nov 16 2021 Nick Clifton  <nickc@redhat.com> - 10.25-1
d87b02
- gcc-plugin: Revert 10.22 change.  (#2023437)
d87b02
- Annocheck: Add exception for /usr/sbin/ldconfig.  (#2022973)
d87b02
d87b02
* Mon Nov 08 2021 Nick Clifton  <nickc@redhat.com> - 10.23-1
d87b02
- Annocheck: Add a test for unicode characters in identifiers.  (#2009287)
d87b02
d87b02
* Wed Oct 27 2021 Nick Clifton  <nickc@redhat.com> - 10.22-1
d87b02
- gcc-plugin: Default to link-order grouping for PPC64LE.  (#2016458)
d87b02
- Annocheck: Do not fail if a --skip-<name> option does not match a known test.
d87b02
- ldconfig-test: Skip the LTO check.
d87b02
d87b02
* Tue Oct 26 2021 Nick Clifton  <nickc@redhat.com> - 10.20-1
d87b02
- annocheck: Add more glibc functions.
d87b02
- gcc-plugin: Attach the .text section to the .text.group.  (#2016458)
d87b02
d87b02
* Tue Oct 19 2021 Nick Clifton  <nickc@redhat.com> - 10.17-1
d87b02
- Better reporting of problems in object files.  (#2013708)
d87b02
d87b02
* Mon Oct 18 2021 Nick Clifton  <nickc@redhat.com> - 10.16-1
d87b02
- Fix -mstackrealign test for non-GCC compiled files.  (#2013658)
d87b02
d87b02
* Thu Oct 14 2021 Nick Clifton  <nickc@redhat.com> - 10.15-2
d87b02
- Re-enable use of annobin plugin when building annobin.  (#2013658)
d87b02
- Exclude man pages for uninstalled scripts.  (#2013562)
d87b02
d87b02
* Wed Oct 13 2021 Nick Clifton  <nickc@redhat.com> - 10.15-1
d87b02
- Annocheck: Add tests based upon recent bug fixes.
d87b02
- Annocheck: Another tweak to glibc detection code.
d87b02
d87b02
* Fri Oct 08 2021 Nick Clifton  <nickc@redhat.com> - 10.13-1
d87b02
- Annocheck: Fix memory corruptions when using --debug-path and when a corrupt note is found.  (#20011438)
d87b02
- Annocheck: Fix MAYB results for mixed GO/C files.
d87b02
- Annocheck: Move some messages from VERBOSE to VERBOSE2.
d87b02
- Annocheck: Scan zero-length tool notes.
d87b02
d87b02
* Wed Oct 06 2021 Nick Clifton  <nickc@redhat.com> - 10.11-1
d87b02
- Annocheck: Fix covscan detected flaws.
d87b02
- plugins: Add more required build options.  (#2011163)
d87b02
d87b02
* Tue Oct 05 2021 Nick Clifton  <nickc@redhat.com> - 10.10-1
d87b02
- Annocheck: Fix cf-prot test to fail if the CET notes are missing.  (#2010671)
d87b02
- Annocheck: Skip gaps in the .plt section.  (#2010675)
d87b02
- Plugins: Add -g option when building LLVM and Clang. (#2010675)
d87b02
d87b02
* Mon Oct 04 2021 Nick Clifton  <nickc@redhat.com> - 10.09-1
d87b02
- Annocheck: Add more cases of glibc startup functions.  (#1981410)
d87b02
- Annocheck: Fix covscan detected problems.
d87b02
- Annocheck: Add --profile=el8.
d87b02
- gcc-plugin: Conditionalize generation of branch protection note.
d87b02
- Annocheck: Ignore gaps containing NOP instructions.
d87b02
d87b02
* Thu Sep 16 2021 Nick Clifton  <nickc@redhat.com> - 10.06-1
d87b02
- GCC Plugin: Fix detection of running inside the LTO compiler.  (#2004917)
d87b02
- Annocheck: Do not insist on the DT_AARCH64_PAC_PLT flag being present in AArch64 binaries.
d87b02
- Annocheck: With gaps at the start/end of the .text section, check for special symbols before displaying a MAYB result. (#1995224)
d87b02
- Annocheck: Do not set CFLAGS/LDFLAGS when building.  Take from environment instead.
d87b02
- Annocheck: Fix exit code when tests PASS.
d87b02
- Documentation: Add node for each hardening test.
d87b02
- Documentation: Install online.
d87b02
- Annocheck: Annote FAIL and MAYB results with URL to documentation
d87b02
- Annocheck: Add --no-urls and --provide-urls options
d87b02
- Annocheck: Add --help-<tool> option.
d87b02
- Annocheck: Fix fuzzing detected failures.
d87b02
- Annocheck: Add --profile option.
d87b02
- Docs: Document --profile option and rpminspect.yaml.
d87b02
- Annocheck: Skip GO/CET checks.  Fix fuzzing detected failures.
d87b02
- LLVM Plugin: Automatically choose the correct tests to run, based upon the version of Clang installed. (#1997444)
d87b02
- spec file: Add the installation of the annobon sources into /usr/src/annobin.
d87b02
- Annocheck: Fix memory corruption.  (#1996963)
d87b02
- spec file: Add the creation of a gcc-plugin version info file in /usr/lib/rpm/redhat.
d87b02
- Annocheck: Fix conditionalization of AArch64's PAC+BTI detection.
d87b02
d87b02
* Wed Aug 18 2021 Nick Clifton  <nickc@redhat.com> - 9.90-1
d87b02
- Annocheck: Add linker generated function for ppc64le exceptions.  (#1981410)
d87b02
- LLVM Plugin: Allow checks to be selected from the command line.
d87b02
- Annocheck: Examine DW_AT_producer for -flto.    
d87b02
d87b02
* Tue Aug 17 2021 Nick Clifton  <nickc@redhat.com> - 9.89-1
d87b02
- Annocheck: Conditionalize detection of AArch64's PAC+BTI protection.
d87b02
- Annocheck: Add linker generated function for s390x exceptions.  (#1981410)
d87b02
- Annocheck: Generate MAYB results for gaps in notes covering the .text section.  (#1991943)
d87b02
- Annocheck: Close DWARF file descriptors once the debug info is no longer needed.  (#1981410)
d87b02
- LLVM Plugin: Update to build with Clang v13.  (Thanks to: Tom Stellard <tstellar@redhat.com>)
d87b02
d87b02
* Mon Aug 16 2021 Nick Clifton  <nickc@redhat.com> - 9.87-1
d87b02
- Annocheck: Fix memory corruption.  (#1988715)
d87b02
- Annocheck: Skip certain tests for kernel modules.
d87b02
- Annocheck: Detect a missing CET note.  (#1991931)
d87b02
- Annocheck: Do not report future fails for AArch64 notes.
d87b02
- Annocheck: Warn about multiple --debug-file, --debug-rpm and --debug-dir options.
d87b02
d87b02
* Mon Aug 09 2021 Nick Clifton  <nickc@redhat.com> - 9.84-1
d87b02
- Annocheck: Process files in command line order.  (#1988714)
d87b02
d87b02
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 9.83-3
d87b02
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
d87b02
  Related: rhbz#1991688
d87b02
d87b02
* Thu Jul 29 2021 Florian Weimer <fweimer@redhat.com> - 9.83-2
d87b02
- Rebuild with GCC 11.2 (#1986836)
d87b02
d87b02
* Fri Jul 23 2021 Nick Clifton  <nickc@redhat.com> - 9.83-1
d87b02
- Annocheck: Reverse AArch64 PAC+BTI check, ie fail if they are enabled.  (#1984995)
d87b02
- Annocheck: Add another test exceptions.
d87b02
- Annocheck: Add some more test exceptions.
d87b02
- Tests: Skip glibc-notes test if the assembler does not support --generate-missing-build-notes.  (#1978573)
d87b02
- Tests: Skip objcopy test if objcopy does not support --merge-notes.
d87b02
d87b02
* Thu Jul 01 2021 Nick Clifton  <nickc@redhat.com> - 9.79-1
d87b02
- Annocheck: Fix spelling mistake in -mstack-realign failure message.  (#1977349)
d87b02
d87b02
* Thu Jun 24 2021 Nick Clifton  <nickc@redhat.com> - 9.78-1
d87b02
- gcc-plugin: Do not record global versions of stack protection settings in LTO mode, if not set.  (#1958954)
d87b02
- annocheck: Remove limit on number of input files.  (#1973981)
d87b02
d87b02
* Tue Jun 15 2021 Nick Clifton  <nickc@redhat.com> - 9.76-1
d87b02
- clang/llvm plugins: Build with correct security options.
d87b02
- Annocheck: Better detection of GO compiler version.
d87b02
d87b02
* Fri Jun 11 2021 Nick Clifton  <nickc@redhat.com> - 9.74-1
d87b02
- Annocheck: Better support for symbolic links.
d87b02
- Annocheck: In verbose mode, report the reason for skipping specific tests.  (#1969584)
d87b02
- annocheck: Improve detection of shared libraries.  (#1958954)
d87b02
- annocheck: Accept 0 as a valid number for gcc minor versions and release numbers.
d87b02
- gcc-plugin: Add support for ARM and RISCV targets.
d87b02
- timing: do not initialise the clock if the timing tool is disabled.
d87b02
- gcc-plugin: Replace ICE messsages with verbose messages.
d87b02
- Fix the testsuite so that it can be run in parallel.
d87b02
- Annocheck: WARN if the annobin plugin was built for a newer version of the compiler than the one on which it was run.  (#1950657)
d87b02
- Annocheck: Improve detection of missing GNU-stack support.
d87b02
- Fix anomolies reported by covscan.
d87b02
d87b02
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 9.65-5
d87b02
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
d87b02
d87b02
* Thu Apr 08 2021 Nick Clifton <nickc@redhat.com> - 9.65-4
d87b02
- Another NVR bump to allow rebuild in CentOS stream.  (#1944548)
d87b02
d87b02
* Tue Mar 30 2021 Nick Clifton <nickc@redhat.com> - 9.65-3
d87b02
- Another NVR bump to allow rebuild in CentOS stream.
d87b02
d87b02
* Thu Mar 25 2021 Nick Clifton <nickc@redhat.com> - 9.65-2
d87b02
- NVR bump to allow rebuild.
d87b02
d87b02
* Tue Mar 09 2021 Nick Clifton <nickc@redhat.com> - 9.65-1
d87b02
- gcc-plugin: Use a fixed filename when running in LTO mode.
d87b02
d87b02
* Wed Mar 03 2021 Nick Clifton <nickc@redhat.com> - 9.64-1
d87b02
- Annocheck: Fix detection of special function names.  (#1934189)
d87b02
d87b02
* Fri Feb 26 2021 Nick Clifton <nickc@redhat.com> - 9.63-1
d87b02
- Annocheck: FAIL the deliberate use of -fno-stack-protector, but add some exceptions for glibc.  (#1923439)
d87b02
d87b02
* Thu Feb 25 2021 Nick Clifton <nickc@redhat.com> - 9.62-1
d87b02
- Annocheck: Add colour to some messages.  Skip the deliberate use of -fno-stack-protector.  (#1923439)
d87b02
d87b02
* Mon Feb 22 2021 Nick Clifton <nickc@redhat.com> - 9.61-1
d87b02
- Annocheck: Fix some problems with tests for missing notes.
d87b02
d87b02
* Fri Feb 05 2021 Nick Clifton <nickc@redhat.com> - 9.60-1
d87b02
- Add some GO tests to annocheck.
d87b02
d87b02
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9.59-2
d87b02
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
d87b02
d87b02
* Wed Jan 20 2021 Nick Clifton <nickc@redhat.com> - 9.59-1
d87b02
- Add a future fail for the presence of RPATH in the dynamic tags.
d87b02
d87b02
* Mon Jan 18 2021 Nick Clifton <nickc@redhat.com> - 9.58-1
d87b02
- Add the ability to disable the warning message about -D_FORTIFY_SOURCE being missing.
d87b02
d87b02
* Wed Jan 13 2021 Nick Clifton <nickc@redhat.com> - 9.57-1
d87b02
- Workaround for elflint problems with PPC compiled files.  (#1880634)
d87b02
d87b02
* Wed Jan 13 2021 Nick Clifton <nickc@redhat.com> - 9.56-1
d87b02
- Fix bogus AArch64 test failures.
d87b02
d87b02
* Tue Jan 12 2021 Nick Clifton <nickc@redhat.com> - 9.55-1
d87b02
- Improved testing by annocheck.  Add fixed format message mode.
d87b02
d87b02
* Mon Jan 04 2021 Nick Clifton <nickc@redhat.com> - 9.54-1
d87b02
- Fix inconsistency reporting -fcf-protection and -fstack-clash-protection results.
d87b02
d87b02
* Mon Jan 04 2021 Nick Clifton <nickc@redhat.com> - 9.53-1
d87b02
- Add support for -D_FORTIFY_SOURCE=3.
d87b02
d87b02
* Fri Dec 11 2020 Nick Clifton <nickc@redhat.com> - 9.52-2
d87b02
- NVR bump in order to allow the new gating tests to be run.
d87b02
d87b02
* Fri Dec 11 2020 Nick Clifton <nickc@redhat.com> - 9.52-1
d87b02
- annocheck: When a binary is produced both by GAS and GCC, select GAS as the real producer.  (#1906171)
d87b02
d87b02
* Thu Dec 10 2020 Nick Clifton <nickc@redhat.com> - 9.51-1
d87b02
- annocheck: Improve test for LTO compiled binaries that do not have -Wall annotations.  (#1906171)
d87b02
d87b02
* Wed Dec 09 2020 Nick Clifton <nickc@redhat.com> - 9.50-1
d87b02
- annocheck: Mark a missining -D_FORTIFY_SOURCE as a FAIL.
d87b02
d87b02
* Tue Dec 08 2020 Nick Clifton <nickc@redhat.com> - 9.49-1
d87b02
- annocheck: Fix notes analyzer to accept empty PPC64 notes.
d87b02
d87b02
* Mon Dec 07 2020 Jakub Jelinek <jakub@redhat.com> - 9.48-5
d87b02
- NVR bump for another ELN sidetag rebuild.
d87b02
d87b02
* Sun Dec 06 2020 Jakub Jelinek <jakub@redhat.com> - 9.48-4
d87b02
- Revert back to previous settings.
d87b02
d87b02
* Sun Dec 06 2020 Jakub Jelinek <jakub@redhat.com> - 9.48-3
d87b02
- Another NVR bump for GCC 11 rebuild.
d87b02
d87b02
* Sun Dec 06 2020 Jakub Jelinek <jakub@redhat.com> - 9.48-2
d87b02
- NVR bump for GCC 11 rebuild.
d87b02
d87b02
* Wed Dec 02 2020 Nick Clifton <nickc@redhat.com> - 9.48-1
d87b02
- gcc plugin: Tweak generation of end symbols for PPC64 when LTO is active.  (#1898075)
d87b02
d87b02
* Tue Dec 01 2020 Nick Clifton <nickc@redhat.com> - 9.47-1
d87b02
- gcc plugin: Add support for GCC 11's cl_vars array.
d87b02
d87b02
* Fri Nov 27 2020 Jakub Jelinek <jakub@redhat.com> - 9.46-2
d87b02
- NVR bump for another ELN sidetag rebuild.
d87b02
d87b02
* Tue Nov 24 2020 Nick Clifton <nickc@redhat.com> - 9.46-1
d87b02
- Annocheck: Support enabling/disabling future fails.
d87b02
d87b02
* Wed Nov 18 2020 Nick Clifton <nickc@redhat.com> - 9.45-1
d87b02
- GCC plugin: Always record global notes for the .text.startup,
d87b02
  .text.exit, .text.hot and .text.cold sections.
d87b02
d87b02
* Tue Nov 17 2020 Nick Clifton <nickc@redhat.com> - 9.44-1
d87b02
- Clang plugin: Add -lLLVM to the build command line.
d87b02
d87b02
* Mon Nov 16 2020 Nick Clifton <nickc@redhat.com> - 9.43-1
d87b02
- Annocheck: Improve reporting of missing -D_FORTIFY_SOURCE option.  (#1898075)
d87b02
d87b02
* Mon Nov 16 2020 Nick Clifton <nickc@redhat.com> - 9.42-1
d87b02
- Annocheck: Improve reporting of missing LTO option.
d87b02
d87b02
* Tue Nov 10 2020 Nick Clifton <nickc@redhat.com> - 9.41-1
d87b02
- Add detecting of gimple compiled binaries.
d87b02
d87b02
* Mon Nov 09 2020 Nick Clifton <nickc@redhat.com> - 9.40-1
d87b02
- Add --without-gcc-plugin option.
d87b02
d87b02
* Fri Nov 06 2020 Nick Clifton <nickc@redhat.com> - 9.38-1
d87b02
- Annocheck: Fix bug parsing DW_AT_producer.
d87b02
d87b02
* Wed Nov 04 2020 Nick Clifton <nickc@redhat.com> - 9.37-1
d87b02
- Add test of .note.gnu.property section for PowerPC.
d87b02
- Add test of objcopy's ability to merge notes.
d87b02
d87b02
* Fri Oct 30 2020 Jakub Jelinek <jakub@redhat.com> - 9.36-2
d87b02
- NVR bump for another ELN sidetag rebuild.
d87b02
d87b02
* Wed Oct 21 2020 Nick Clifton <nickc@redhat.com> - 9.36-1
d87b02
- Record the -flto setting and produce a soft warning if it is absent.
d87b02
- Suppress warnings about _D_GLIBCXX_ASSERTIONS if the source code is known to be something other than C++.
d87b02
d87b02
* Wed Oct 21 2020 Nick Clifton <nickc@redhat.com> - 9.35-3
d87b02
- NVR bump to allow building on ELN sidetag.
d87b02
d87b02
* Mon Oct 05 2020 Nick Clifton <nickc@redhat.com> - 9.35-2
d87b02
- Correct the directory chosen for 32-bit LLVM and Clang plugins.  (#1884951)
d87b02
d87b02
* Thu Oct 01 2020 Nick Clifton <nickc@redhat.com> - 9.35-1
d87b02
- Allow the use of the SHF_LINK_ORDER section flag to discard unused notes.  (Experimental).
d87b02
d87b02
* Mon Sep 28 2020 Nick Clifton <nickc@redhat.com> - 9.34-1
d87b02
- Enable the build and installation of the LLVM and Clang plugins.  (Experimental).
d87b02
d87b02
* Mon Sep 21 2020 Nick Clifton <nickc@redhat.com> - 9.33-1
d87b02
- gcc-plugin: Fix test for empty PowerPC sections.  (#1880634)
d87b02
d87b02
* Thu Sep 17 2020 Nick Clifton <nickc@redhat.com> - 9.32-2
d87b02
- NVR bump to allow rebuild against f34-build-side-30319.
d87b02
d87b02
* Tue Sep 15 2020 Nick Clifton <nickc@redhat.com> - 9.32-1
d87b02
- annocheck: Add tests for the AArch64 BTI and PAC security features.  (#1862478)
d87b02
d87b02
* Thu Sep 10 2020 Nick Clifton <nickc@redhat.com> - 9.31-1
d87b02
- gcc plugin: Use a 4 byte offset for PowerPC start symbols, so that they do not break disassemblies.
d87b02
d87b02
* Thu Sep 10 2020 Nick Clifton <nickc@redhat.com> - 9.30-1
d87b02
- gcc plugin: Correct the detection of 32-bit x86 builds.  (#1876197)
d87b02
d87b02
* Mon Aug 17 2020 Nick Clifton <nickc@redhat.com> - 9.29-1
d87b02
- gcc plugin: Detect any attempt to access the global_options array.
d87b02
d87b02
* Tue Aug 11 2020 Nick Clifton <nickc@redhat.com> - 9.28-1
d87b02
- gcc plugin: Do not complain about missing pre-processor options when examining a preprocessed input file.  (#1862718)
d87b02
d87b02
* Thu Jul 30 2020 Nick Clifton <nickc@redhat.com> - 9.27-1
d87b02
- Use more robust checks for AArch64 options.
d87b02
d87b02
* Thu Jul 30 2020 Nick Clifton <nickc@redhat.com> - 9.26-1
d87b02
- Detect CLANG compiled assembler that is missing IBT support.
d87b02
d87b02
* Wed Jul 29 2020 Nick Clifton <nickc@redhat.com> - 9.25-1
d87b02
- Improved target pointer size discovery.
d87b02
d87b02
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.24-3
d87b02
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
d87b02
d87b02
* Sun Jul 26 2020 Nick Clifton <nickc@redhat.com> - 9.24-2
d87b02
- Rebuild with plugin enabled to check that suppression works.
d87b02
d87b02
* Sun Jul 26 2020 Nick Clifton <nickc@redhat.com> - 9.24-1
d87b02
- Add support for installing clang and llvm plugins.
d87b02
- Temporary suppression of aarch64 pointer size check.  (#1860549)
d87b02
d87b02
* Sat Jul 25 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 9.23-2
d87b02
- Rebuild for gcc 10.2
d87b02
d87b02
* Wed Jul 01 2020 Nick Clifton <nickc@redhat.com> - 9.23-1
d87b02
- Annocheck: Do not skip tests of the short-enums notes.  (#1743635)
d87b02
d87b02
* Mon Jun 15 2020 Nick Clifton <nickc@redhat.com> - 9.22-1
d87b02
- Add (optional) llvm plugin.
d87b02
d87b02
* Wed Apr 22 2020 Nick Clifton <nickc@redhat.com> - 9.21-1
d87b02
- Annobin: Fall back on using the flags if the option cannot be found in cl_options.  (#1817659)
d87b02
d87b02
* Thu Apr 16 2020 Nick Clifton <nickc@redhat.com> - 9.20-1
d87b02
- Annocheck: Detect Fortran compiled programs.  (#1824393)
d87b02
d87b02
* Wed Apr 01 2020 Nick Clifton <nickc@redhat.com> - 9.19-1
d87b02
- Annobin: If option name mismatch occurs, seach for the real option.  (#1817452)
d87b02
d87b02
* Mon Mar 30 2020 Nick Clifton <nickc@redhat.com> - 9.18-1
d87b02
- Annocheck: Fix a division by zero error when parsing GO binaries.  (#1818863)
d87b02
d87b02
* Fri Mar 27 2020 Nick Clifton <nickc@redhat.com> - 9.16-1
d87b02
- Annobin: Fix access to the -flto and -fsanitize flags.
d87b02
d87b02
* Thu Mar 26 2020 Nick Clifton <nickc@redhat.com> - 9.14-1
d87b02
- Annobin: Use offsets stored in gcc's cl_option structure to access the global_options array, thus removing the need to check for changes in the size of this structure.
d87b02
d87b02
* Thu Mar 26 2020 Nick Clifton <nickc@redhat.com> - 9.13-2
d87b02
- NVR bump to allow rebuilding against new gcc.
d87b02
d87b02
* Thu Mar 12 2020 Nick Clifton <nickc@redhat.com> - 9.13-1
d87b02
- Rename gcc plugin directory to gcc-plugin.
d87b02
- Stop annocheck from complaining about missing options when the binary has been built in a mixed environment.
d87b02
d87b02
* Thu Mar 12 2020 Nick Clifton <nickc@redhat.com> - 9.12-3
d87b02
- And again, this time with annotation enabled.  (#1810941)
d87b02
d87b02
* Thu Mar 12 2020 Nick Clifton <nickc@redhat.com> - 9.12-2
d87b02
- NVR bump to enable rebuild against updated gcc.  (#1810941)
d87b02
d87b02
* Wed Mar 04 2020 Nick Clifton <nickc@redhat.com> - 9.12-1
d87b02
- Improve builtby tool.
d87b02
- Stop annocheck complaining about missing notes when the binary is not compiled by either gcc or clang.
d87b02
- Skip the check of the ENTRY instruction for binaries not compiled by gcc or clang.  (#1809656)
d87b02
d87b02
* Fri Feb 28 2020 Nick Clifton <nickc@redhat.com> - 9.11-1
d87b02
- Fix infinite loop hangup in annocheck.
d87b02
- Disable debuginfod support by default.
d87b02
- Improve parsing of .comment section.
d87b02
d87b02
* Thu Feb 27 2020 Nick Clifton <nickc@redhat.com> - 9.10-1
d87b02
- Fix clang plugin to use hidden symbols.
d87b02
d87b02
* Tue Feb 25 2020 Nick Clifton <nickc@redhat.com> - 9.09-1
d87b02
- Add ability to build clang plugin (disabled by default).
d87b02
d87b02
* Mon Feb 17 2020 Nick Clifton <nickc@redhat.com> - 9.08-1
d87b02
- Annocheck: Fix error printing out the version number.
d87b02
d87b02
* Fri Feb 14 2020 Nick Clifton <nickc@redhat.com> - 9.07-1
d87b02
- Annobin: Add checks of the exact location of the examined switches.
d87b02
d87b02
* Tue Feb 11 2020 Nick Clifton <nickc@redhat.com> - 9.06-1
d87b02
- Annobin: Note when stack clash notes are generated.
d87b02
- Annocheck: Handle multiple builder IDs in the .comment section.
d87b02
d87b02
* Fri Jan 31 2020 Nick Clifton <nickc@redhat.com> - 9.05-1
d87b02
- Add configure option to suppress building annocheck.
d87b02
d87b02
* Fri Jan 31 2020 Nick Clifton <nickc@redhat.com> - 9.04-1
d87b02
- Fix debuginfod test.
d87b02
d87b02
* Thu Jan 30 2020 Nick Clifton <nickc@redhat.com> - 9.03-2
d87b02
- Correct the build requirement for building with debuginfod support.
d87b02
d87b02
* Thu Jan 30 2020 Nick Clifton <nickc@redhat.com> - 9.03-1
d87b02
- Add debuginfod support.
d87b02
d87b02
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.01-3
d87b02
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
d87b02
d87b02
* Mon Jan 20 2020 Nick Clifton <nickc@redhat.com> - 9.01-2
d87b02
- Rebuild againt latest gcc-10.
d87b02
d87b02
* Mon Jan 20 2020 Nick Clifton <nickc@redhat.com> - 9.01-1
d87b02
- Add clang plugin (experimental).
d87b02
d87b02
* Fri Dec 06 2019 Nick Clifton <nickc@redhat.com> - 8.92-1
d87b02
- Have annocheck ignore notes with an end address of 0.
d87b02
d87b02
* Mon Nov 18 2019 Nick Clifton <nickc@redhat.com> - 8.91-1
d87b02
- Improve checking of gcc versions.
d87b02
d87b02
* Fri Nov 15 2019 Nick Clifton <nickc@redhat.com> - 8.90-1
d87b02
- Do not skip positive results.
d87b02
d87b02
* Fri Nov 01 2019 Nick Clifton <nickc@redhat.com> - 8.88-1
d87b02
- Generate a WARN result for code compiled with instrumentation enabled.  (#1753918)
d87b02
d87b02
* Tue Oct 22 2019 Nick Clifton <nickc@redhat.com> - 8.87-1
d87b02
- Replace address checks with dladdr1.
d87b02
d87b02
* Mon Oct 21 2019 Nick Clifton <nickc@redhat.com> - 8.86-1
d87b02
- Use libabigail like checking to ensure variable address consistency.
d87b02
d87b02
* Wed Oct 16 2019 Nick Clifton <nickc@redhat.com> - 8.85-1
d87b02
- Skip generation of global notes for hot/cold sections.
d87b02
d87b02
* Thu Oct 10 2019 Nick Clifton <nickc@redhat.com> - 8.84-1
d87b02
- Generate FAIL results if -Wall or -Wformat-security are missing.
d87b02
d87b02
* Thu Oct 03 2019 Nick Clifton <nickc@redhat.com> - 8.83-1
d87b02
- If notes cannot be found in the executable look for them in the debuginfo file, if available.
d87b02
- Generate a FAIL if notes are missing from the executable/debuginfo file.
d87b02
- Record and report the setting of the AArcht64 specific -mbranch-protection option.
d87b02
d87b02
* Mon Sep 23 2019 Nick Clifton <nickc@redhat.com> - 8.81-1
d87b02
- Improve detection of GO binaries.
d87b02
- Add gcc version information to annobin notes.
d87b02
- Do not complain about missing FORTIFY_SOURCE and GLIBCXX_ASSERTIONS in LTO compilations.
d87b02
d87b02
* Wed Sep 04 2019 Nick Clifton <nickc@redhat.com> - 8.79-2
d87b02
- NVR bump to allow rebuild against latest gcc.  (#1748529)
d87b02
d87b02
* Tue Aug 06 2019 Nick Clifton <nickc@redhat.com> - 8.79-1
d87b02
- Allow compiler used to run tests to be specified on the command line.  (#1723401)
d87b02
d87b02
* Tue Aug 06 2019 Nick Clifton <nickc@redhat.com> - 8.78-1
d87b02
- Fix a memory allocation error in the annobin plugin.  (#1737306)
d87b02
d87b02
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.77-2
d87b02
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
d87b02
d87b02
* Mon Jun 24 2019 Nick Clifton <nickc@redhat.com> - 8.77-1
d87b02
- Another attempt at fixing the detection and reporting of missing -D_FORTIFY_SOURCE options.  (#1703500)
d87b02
d87b02
* Mon Jun 10 22:13:17 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 8.76-4
d87b02
- Rebuild for RPM 4.15
d87b02
d87b02
* Mon Jun 10 15:42:00 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 8.76-3
d87b02
- Rebuild for RPM 4.15
d87b02
d87b02
* Thu Jun 06 2019 Panu Matilainen <pmatilai@redhat.com> - 8.76-2
d87b02
- Really enable annocheck sub-package
d87b02
d87b02
* Tue Apr 30 2019 Nick Clifton <nickc@redhat.com> - 8.76-1
d87b02
- Report a missing -D_FORTIFY_SOUCRE option if -D_GLIBCXX_ASSERTIONS was detected.  (#1703499)
d87b02
- Do not report problems with -fstack-protection if the binary was not built by gcc or clang.  (#1703788)    
d87b02
d87b02
* Fri Apr 26 2019 Nick Clifton <nickc@redhat.com> - 8.74-1
d87b02
- Add tests of clang command line options recorded in the DW_AT_producer attribute.
d87b02
d87b02
* Wed Apr 24 2019 Nick Clifton <nickc@redhat.com> - 8.73-1
d87b02
- Fix test for an executable stack segment.  (#1700924)
d87b02
d87b02
* Thu Apr 18 2019 Nick Clifton <nickc@redhat.com> - 8.72-1
d87b02
- Rebuild annobin with the latest rawhide gcc sources.  (#1700923)
d87b02
d87b02
* Thu Feb 28 2019 Nick Clifton <nickc@redhat.com> - 8.71-1
d87b02
- Annobin: Suppress more calls to free() which are triggering memory checker errors.  (#1684148)
d87b02
d87b02
* Fri Feb 01 2019 Nick Clifton <nickc@redhat.com> - 8.70-1
d87b02
- Add section flag matching ability to section size tool.
d87b02
d87b02
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.69-7
d87b02
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
d87b02
d87b02
* Tue Jan 29 2019 Björn Esser <besser82@fedoraproject.org> - 8.69-6
d87b02
- Use 'with' for rich dependency on gcc
d87b02
d87b02
* Tue Jan 29 2019 Björn Esser <besser82@fedoraproject.org> - 8.69-5
d87b02
- Really fix rhbz#1607430.
d87b02
d87b02
* Mon Jan 28 2019 Björn Esser <besser82@fedoraproject.org> - 8.69-4
d87b02
- Rebuilt with annotations enabled
d87b02
d87b02
* Mon Jan 28 2019 Björn Esser <besser82@fedoraproject.org> - 8.69-3
d87b02
- Fix rpm query for gcc version.
d87b02
d87b02
* Mon Jan 28 2019 Nick Clifton <nickc@redhat.com> - 8.69-2
d87b02
- Add an exact requirement on the major version of gcc. (#1607430)
d87b02
d87b02
* Thu Jan 24 2019 Nick Clifton <nickc@redhat.com> - 8.69-1
d87b02
- Annobin: Add support for .text.startup and .text.exit sections generated by gcc 9.
d87b02
- Annocheck: Add a note displaying tool.
d87b02
d87b02
* Wed Jan 23 2019 Nick Clifton <nickc@redhat.com> - 8.68-1
d87b02
- Annocheck: Skip checks for -D_FORTIFY_SOURCE and -D_GLIBCXX_ASSERTIONS if there is no compiler generated code in the binary.
d87b02
d87b02
* Mon Jan 21 2019 Björn Esser <besser82@fedoraproject.org> - 8.67-3
d87b02
- Rebuilt with annotations enabled
d87b02
d87b02
* Mon Jan 21 2019 Björn Esser <besser82@fedoraproject.org> - 8.67-2
d87b02
- Rebuilt for GCC 9
d87b02
d87b02
* Thu Jan 17 2019 Nick Clifton <nickc@redhat.com> - 8.67-1
d87b02
- Annocheck: Only skip specific checks for specific symbols.  (#1666823)
d87b02
- Annobin: Record the setting of the -fomit-frame-pointer option.
d87b02
d87b02
* Wed Jan 02 2019 Nick Clifton <nickc@redhat.com> - 8.66-1
d87b02
- Annocheck: Do not ignore -Og when checking to see if an optimization level has been set.  (#1624162)
d87b02
d87b02
* Tue Dec 11 2018 Nick Clifton <nickc@redhat.com> - 8.65-1
d87b02
- Annobin: Fix handling of multiple .text.unlikely sections.
d87b02
d87b02
* Fri Nov 30 2018 Nick Clifton <nickc@redhat.com> - 8.64-1
d87b02
- Annocheck: Skip gaps in PPC64 executables covered by start_bcax_ symbols.  (#1630564)
d87b02
d87b02
* Mon Nov 26 2018 Nick Clifton <nickc@redhat.com> - 8.63-1
d87b02
- Annocheck: Disable ENDBR test for shared libraries.  (#1652925)
d87b02
d87b02
* Mon Nov 26 2018 Nick Clifton <nickc@redhat.com> - 8.62-1
d87b02
- Annocheck: Add test for ENDBR instruction at entry address of x86/x86_64 executables.  (#1652925)
d87b02
d87b02
* Tue Nov 20 2018 David Cantrell <dcantrell@redhat.com> - 8.61-2
d87b02
- Adjust how the gcc_vr macro is set.
d87b02
d87b02
* Mon Nov 19 2018 Nick Clifton <nickc@redhat.com> - 8.61-1
d87b02
- Fix building with gcc version 4.
d87b02
d87b02
* Tue Nov 13 2018 Nick Clifton <nickc@redhat.com> - 8.60-1
d87b02
- Skip -Wl,-z,now and -Wl,-z,relro checks for non-gcc produced binaries.  (#1624421)
d87b02
d87b02
* Mon Nov 05 2018 Nick Clifton <nickc@redhat.com> - 8.59-1
d87b02
- Ensure GNU Property notes are 8-byte aligned in x86_64 binaries.  (#1645817)
d87b02
d87b02
* Thu Oct 18 2018 Nick Clifton <nickc@redhat.com> - 8.58-1
d87b02
- Skip PPC64 linker stubs created in the middle of text sections (again). (#1630640)
d87b02
d87b02
* Thu Oct 18 2018 Nick Clifton <nickc@redhat.com> - 8.57-1
d87b02
- Suppress free of invalid pointer. (#1638371)
d87b02
d87b02
* Thu Oct 18 2018 Nick Clifton <nickc@redhat.com> - 8.56-1
d87b02
- Skip PPC64 linker stubs created in the middle of text sections. (#1630640)
d87b02
d87b02
* Tue Oct 16 2018 Nick Clifton <nickc@redhat.com> - 8.55-1
d87b02
- Reset the (PPC64) section start symbol to 0 if its section is empty.  (#1638251)
d87b02
d87b02
* Thu Oct 11 2018 Nick Clifton <nickc@redhat.com> - 8.53-1
d87b02
- Also skip virtual thinks created by G++.  (#1630619)
d87b02
d87b02
* Wed Oct 10 2018 Nick Clifton <nickc@redhat.com> - 8.52-1
d87b02
- Use uppercase for all fail/mayb/pass results.  (#1637706)
d87b02
d87b02
* Wed Oct 10 2018 Nick Clifton <nickc@redhat.com> - 8.51-1
d87b02
- Generate notes for unlikely sections.  (#1630620)
d87b02
d87b02
* Mon Oct 08 2018 Nick Clifton <nickc@redhat.com> - 8.50-1
d87b02
- Fix edge case computing section names for end symbols.  (#1637039)
d87b02
d87b02
* Mon Oct 08 2018 Nick Clifton <nickc@redhat.com> - 8.49-1
d87b02
- Skip dynamic checks for binaries without a dynamic segment.  (#1636606)
d87b02
d87b02
* Fri Oct 05 2018 Nick Clifton <nickc@redhat.com> - 8.48-1
d87b02
- Delay generating attach_to_group directives until the end of the compilation.  (#1636265)
d87b02
d87b02
* Mon Oct 01 2018 Nick Clifton <nickc@redhat.com> - 8.47-1
d87b02
- Fix bug introduced in previous delta which would trigger a seg-fault when scanning for gaps.
d87b02
d87b02
* Mon Oct 01 2018 Nick Clifton <nickc@redhat.com> - 8.46-1
d87b02
- Annobin:   Fix section name selection for startup sections.
d87b02
- Annocheck: Improve gap skipping heuristics.   (#1630574)
d87b02
d87b02
* Mon Oct 01 2018 Nick Clifton <nickc@redhat.com> - 8.45-1
d87b02
- Fix function section support (again).   (#1630574)
d87b02
d87b02
* Fri Sep 28 2018 Nick Clifton <nickc@redhat.com> - 8.44-1
d87b02
- Skip compiler option checks for non-GNU producers.  (#1633749)
d87b02
d87b02
* Wed Sep 26 2018 Nick Clifton <nickc@redhat.com> - 8.43-1
d87b02
- Fix function section support (again).   (#1630574)
d87b02
d87b02
* Tue Sep 25 2018 Nick Clifton <nickc@redhat.com> - 8.42-1
d87b02
- Ignore ppc64le notes where start = end + 2.  (#1632259)
d87b02
d87b02
* Tue Sep 25 2018 Nick Clifton <nickc@redhat.com> - 8.41-1
d87b02
- Make annocheck ignore symbols suffixed with ".end".  (#1639618)
d87b02
d87b02
* Mon Sep 24 2018 Nick Clifton <nickc@redhat.com> - 8.40-1
d87b02
- Reinstate building annobin with annobin enabled.  (#1630550)
d87b02
d87b02
* Fri Sep 21 2018 Nick Clifton <nickc@redhat.com> - 8.39-1
d87b02
- Tweak tests.
d87b02
d87b02
* Fri Sep 21 2018 Nick Clifton <nickc@redhat.com> - 8.38-1
d87b02
- Generate notes and groups for .text.hot and .text.unlikely sections.
d87b02
- When -ffunction-sections is active, put notes for startup sections into .text.startup.foo rather than .text.foo.
d87b02
- Similarly put exit section notes into .text.exit.foo.  (#1630574)
d87b02
- Change annocheck's maybe result for GNU Property note being missing into a PASS if it is not needed and a FAIL if it is needed.
d87b02
d87b02
* Wed Sep 19 2018 Nick Clifton <nickc@redhat.com> - 8.37-1
d87b02
- Make the --skip-* options skip all messages about the specified test.
d87b02
d87b02
* Tue Sep 18 2018 Nick Clifton <nickc@redhat.com> - 8.36-1
d87b02
- Improve error message when an ET_EXEC binary is detected.
d87b02
d87b02
* Mon Sep 17 2018 Nick Clifton <nickc@redhat.com> - 8.35-1
d87b02
- Skip failures for PIC vs PIE.  (#1629698)
d87b02
d87b02
* Mon Sep 17 2018 Nick Clifton <nickc@redhat.com> - 8.34-1
d87b02
- Ensure 4 byte alignment of note sub-sections.  (#1629671)
d87b02
d87b02
* Wed Sep 12 2018 Nick Clifton <nickc@redhat.com> - 8.33-1
d87b02
- Add timing tool to report on speed of the checks.
d87b02
- Add check for conflicting use of the -fshort-enum option.
d87b02
- Add check of the GNU Property notes.
d87b02
- Skip check for -O2 if compiled with -Og.  (#1624162)
d87b02
d87b02
* Mon Sep 03 2018 Nick Clifton <nickc@redhat.com> - 8.32-1
d87b02
- Add test for ET_EXEC binaries.  (#1625627)
d87b02
- Document --report-unknown option.
d87b02
d87b02
* Thu Aug 30 2018 Nick Clifton <nickc@redhat.com> - 8.31-1
d87b02
- Fix bug in hardened tool which would skip gcc compiled files if the notes were too small.
d87b02
- Fix bugs in section-size tool.
d87b02
- Fix bug in built-by tool.
d87b02
d87b02
* Wed Aug 29 2018 Nick Clifton <nickc@redhat.com> - 8.30-1
d87b02
- Generate notes for comdat sections. (#1619267)
d87b02
d87b02
* Thu Aug 23 2018 Nick Clifton <nickc@redhat.com> - 8.29-1
d87b02
- Add more names to the gap skip list. (#1619267)
d87b02
d87b02
* Thu Aug 23 2018 Nick Clifton <nickc@redhat.com> - 8.28-1
d87b02
- Skip gaps covered by _x86.get_pc_thunk and _savegpr symbols. (#1619267)
d87b02
- Merge ranges where one is wholly covered by another.
d87b02
d87b02
* Wed Aug 22 2018 Nick Clifton <nickc@redhat.com> - 8.27-1
d87b02
- Skip gaps at the end of functions. (#1619267)
d87b02
d87b02
* Tue Aug 21 2018 Nick Clifton <nickc@redhat.com> - 8.26-1
d87b02
- Fix thinko in ppc64 gap detection code. (#1619267)
d87b02
d87b02
* Mon Aug 20 2018 Nick Clifton <nickc@redhat.com> - 8.25-1
d87b02
- Skip gaps at the end of the .text section in ppc64 binaries. (#1619267)
d87b02
d87b02
* Wed Aug 15 2018 Nick Clifton <nickc@redhat.com> - 8.24-1
d87b02
- Skip checks in stack_chk_local_fail.c
d87b02
- Treat gaps as FAIL results rather than MAYBE.
d87b02
d87b02
* Wed Aug 08 2018 Nick Clifton <nickc@redhat.com> - 8.23-1
d87b02
- Skip checks in __stack_chk_local_fail.
d87b02
d87b02
* Wed Aug 08 2018 Nick Clifton <nickc@redhat.com> - 8.22-1
d87b02
- Reduce version check to gcc major version number only.  Skip compiler option checks if binary not built with gcc.  (#1603089)
d87b02
d87b02
* Tue Aug 07 2018 Nick Clifton <nickc@redhat.com> - 8.21-1
d87b02
- Fix bug in annobin plugin.  Add --section-size=NAME option to annocheck.
d87b02
d87b02
* Thu Aug  2 2018 Peter Robinson <pbrobinson@fedoraproject.org> 8.20-2
d87b02
- rebuild for new gcc
d87b02
d87b02
* Thu Aug 02 2018 Nick Clifton <nickc@redhat.com> - 8.20-1
d87b02
- Correct name of man page for run-on-binaries-in script.  (#1611155)
d87b02
d87b02
* Wed Jul 25 2018 Nick Clifton <nickc@redhat.com> - 8.19-1
d87b02
- Allow $ORIGIN to be at the start of entries in DT_RPATH and DT_RUNPATH.
d87b02
d87b02
* Mon Jul 23 2018 Nick Clifton <nickc@redhat.com> - 8.18-1
d87b02
- Add support for big endian targets.
d87b02
d87b02
* Mon Jul 23 2018 Nick Clifton <nickc@redhat.com> - 8.17-1
d87b02
- Count passes and failures on a per-component basis and report gaps.
d87b02
d87b02
* Fri Jul 20 2018 Nick Clifton <nickc@redhat.com> - 8.16-1
d87b02
- Use our own copy of the targetm.asm_out.function_section() function.  (#159861 comment#17)
d87b02
d87b02
* Fri Jul 20 2018 Nick Clifton <nickc@redhat.com> - 8.15-1
d87b02
- Generate grouped note section name all the time.  (#159861 comment#16)
d87b02
d87b02
* Thu Jul 19 2018 Nick Clifton <nickc@redhat.com> - 8.14-1
d87b02
- Fix section conflict problem.  (#1603071)
d87b02
d87b02
* Wed Jul 18 2018 Nick Clifton <nickc@redhat.com> - 8.13-1
d87b02
- Fix for building with gcc version 4.
d87b02
- Fix symbol placement in functions with local assembler.
d87b02
d87b02
* Tue Jul 17 2018 Nick Clifton <nickc@redhat.com> - 8.12-1
d87b02
- Fix assertions in range checking code.  Add detection of -U options.
d87b02
d87b02
* Tue Jul 17 2018 Nick Clifton <nickc@redhat.com> - 8.11-1
d87b02
- Handle function sections properly.  Handle .text.startup and .text.unlikely sections.  Improve gap detection and reporting.  (#1601055)
d87b02
d87b02
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 8.10-2
d87b02
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d87b02
d87b02
* Thu Jul 12 2018 Nick Clifton <nickc@redhat.com> - 8.10-1
d87b02
- Fix construction of absolute versions of --dwarf-dir and --debug-rpm options.
d87b02
d87b02
* Tue Jul 10 2018 Nick Clifton <nickc@redhat.com> - 8.9-1
d87b02
- Fix buffer overrun when very long symbol names are encountered.
d87b02
d87b02
* Tue Jul 10 2018 Nick Clifton <nickc@redhat.com> - 8.8-1
d87b02
- Do not force the generation of function notes when -ffunction-sections is active.  (#1598961)
d87b02
d87b02
* Mon Jul 09 2018 Nick Clifton <nickc@redhat.com> - 8.7-1
d87b02
- Skip the .annobin_ prfix when reporting symbols.  (#1599315)
d87b02
d87b02
* Mon Jul 09 2018 Nick Clifton <nickc@redhat.com> - 8.6-1
d87b02
- Use the assembler (c++ mangled) version of function names when switching sections.  (#1598579)
d87b02
d87b02
* Mon Jul 09 2018 Nick Clifton <nickc@redhat.com> - 8.5-1
d87b02
- Do not call function_section.  (#1598961)
d87b02
d87b02
* Fri Jul 06 2018 Nick Clifton <nickc@redhat.com> - 8.4-1
d87b02
- Ignore cross-section gaps.  (#1598551)
d87b02
d87b02
* Thu Jul 05 2018 Nick Clifton <nickc@redhat.com> - 8.3-1
d87b02
- Do not skip empty range notes in object files.  (#1598361)
d87b02
d87b02
* Mon Jul 02 2018 Nick Clifton <nickc@redhat.com> - 8.2-1
d87b02
- Create the start symbol at the start of the function and the end symbol at the end.  (#1596823)
d87b02
d87b02
* Mon Jul 02 2018 Nick Clifton <nickc@redhat.com> - 8.1-1
d87b02
- Fix --debug-rpm when used inside a directory.
d87b02
d87b02
* Thu Jun 28 2018 Nick Clifton <nickc@redhat.com> - 8.0-1
d87b02
- Use a prefix for all annobin generated symbols, and make them hidden.
d87b02
- Only generate weak symbol definitions for linkonce sections.
d87b02
d87b02
* Wed Jun 27 2018 Nick Clifton <nickc@redhat.com> - 7.1-1
d87b02
- Skip some checks for relocatable object files, and dynamic objects.
d87b02
- Stop bogus complaints about stackrealignment not being enabled.
d87b02
d87b02
* Mon Jun 25 2018 Nick Clifton <nickc@redhat.com> - 7.0-1
d87b02
- Add -debug-rpm= option to annocheck.
d87b02
- Only use a 2 byte offset for the initial symbol on PowerPC.
d87b02
d87b02
* Fri Jun 22 2018 Nick Clifton <nickc@redhat.com> - 6.6-1
d87b02
- Use --dwarf-path when looking for build-id based debuginfo files.
d87b02
d87b02
* Fri Jun 22 2018 Nick Clifton <nickc@redhat.com> - 6.5-1
d87b02
- Fix premature closing of dwarf handle.
d87b02
d87b02
* Fri Jun 22 2018 Nick Clifton <nickc@redhat.com> - 6.4-1
d87b02
- Fix scoping bug computing the name of a separate debuginfo file.
d87b02
d87b02
* Tue Jun 19 2018 Nick Clifton <nickc@redhat.com> - 6.3-1
d87b02
- Fix file descriptor leak.
d87b02
d87b02
* Tue Jun 19 2018 Nick Clifton <nickc@redhat.com> - 6.2-1
d87b02
- Add command line options to annocheck to disable individual tests.
d87b02
d87b02
* Fri Jun 08 2018 Nick Clifton <nickc@redhat.com> - 6.1-1
d87b02
- Remove C99-ism from annocheck sources.
d87b02
d87b02
* Wed Jun 06 2018 Nick Clifton <nickc@redhat.com> - 6.0-1
d87b02
- Add the annocheck program.
d87b02
d87b02
* Fri Jun 01 2018 Nick Clifton <nickc@redhat.com> - 5.11-1
d87b02
- Do not use the SHF_GNU_BUILD_NOTE section flag.
d87b02
d87b02
* Thu May 31 2018 Nick Clifton <nickc@redhat.com> - 5.10-1
d87b02
- Remove .sh extension from shell scripts.
d87b02
d87b02
* Wed May 30 2018 Nick Clifton <nickc@redhat.com> - 5.9-1
d87b02
- Record the setting of the -mstackrealign option for i686 binaries.
d87b02
d87b02
* Mon May 14 2018 Nick Clifton <nickc@redhat.com> - 5.8-1
d87b02
- Hide the annobin start of file symbol.
d87b02
d87b02
* Tue May 08 2018 Nick Clifton <nickc@redhat.com> - 5.7-1
d87b02
- Fix script bug in hardended.sh.  (Thanks to: Stefan Sørensen <stefan.sorensen@spectralink.com>)
d87b02
d87b02
* Thu May 03 2018 Nick Clifton <nickc@redhat.com> - 5.6-3
d87b02
- Version number bump so that the plugin can be rebuilt with the latest version of GCC.
d87b02
d87b02
* Mon Apr 30 2018 Nick Clifton <nickc@redhat.com> - 5.6-2
d87b02
- Rebuild the plugin with the newly created plugin enabled.  (#1573082)
d87b02
d87b02
* Mon Apr 30 2018 Nick Clifton <nickc@redhat.com> - 5.6-1
d87b02
- Skip the isa_flags check in the ABI test because the crt[in].o files are compiled with different flags from the test files.
d87b02
d87b02
* Fri Apr 20 2018 Nick Clifton <nickc@redhat.com> - 5.3-1
d87b02
- Add manual pages for annobin and the scripts.
d87b02
d87b02
* Tue Apr 03 2018 Nick Clifton <nickc@redhat.com> - 5.2-1
d87b02
- Do not record a stack protection setting of -1.  (#1563141)
d87b02
d87b02
* Tue Mar 20 2018 Nick Clifton <nickc@redhat.com> - 5.1-1
d87b02
- Do not complain about a dwarf_version value of -1.  (#1557511)
d87b02
d87b02
* Thu Mar 15 2018 Nick Clifton <nickc@redhat.com> - 5.0-1
d87b02
- Bias file start symbols by 2 in order to avoid them confused with function symbols.  (#1554332)
d87b02
- Version jump is to sync the version number with the annobin plugins internal version number.
d87b02
d87b02
* Mon Mar 12 2018 Nick Clifton <nickc@redhat.com> - 3.6-1
d87b02
- Add --ignore-gaps option to check-abi.sh script.
d87b02
- Use this option in the abi-test check.
d87b02
- Tweak hardening test to skip pic and stack protection checks.
d87b02
d87b02
* Tue Mar 06 2018 Nick Clifton <nickc@redhat.com> - 3.5-1
d87b02
- Handle functions with specific assembler names.  (#1552018)
d87b02
d87b02
* Fri Feb 23 2018 Nick Clifton <nickc@redhat.com> - 3.4-2
d87b02
- Add an explicit requirement on the version of gcc used to built the plugin.  (#1547260)
d87b02
d87b02
* Fri Feb 09 2018 Nick Clifton <nickc@redhat.com> - 3.4-1
d87b02
- Change type and size of symbols to STT_NOTYPE/0 so that they do not confuse GDB.  (#1539664)
d87b02
- Add run-on-binaries-in.sh script to allow the other scripts to be run over a repository.
d87b02
d87b02
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-2
d87b02
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d87b02
d87b02
* Tue Jan 30 2018 Nick Clifton <nickc@redhat.com> - 3.3-1
d87b02
- Rebase on 3.3 release, which adds support for recording -mcet and -fcf-protection.
d87b02
d87b02
* Mon Jan 29 2018 Florian Weimer <fweimer@redhat.com> - 3.2-3
d87b02
- Rebuild for GCC 8
d87b02
d87b02
* Fri Jan 26 2018 Nick Clifton <nickc@redhat.com> - 3.2-2
d87b02
- Fix the installation of the annobin.info file.
d87b02
d87b02
* Fri Jan 26 2018 Nick Clifton <nickc@redhat.com> - 3.2-1
d87b02
- Rebase on 3.2 release, which now contains documentation!
d87b02
d87b02
* Fri Jan 26 2018 Richard W.M. Jones <rjones@redhat.com> - 3.1-3
d87b02
- Rebuild against GCC 7.3.1.
d87b02
d87b02
* Tue Jan 16 2018 Nick Clifton <nickc@redhat.com> - 3.1-2
d87b02
- Add --with-gcc-plugin-dir option to the configure command line.
d87b02
d87b02
* Thu Jan 04 2018 Nick Clifton <nickc@redhat.com> - 3.1-1
d87b02
- Rebase on version 3.1 sources.
d87b02
d87b02
* Mon Dec 11 2017 Nick Clifton <nickc@redhat.com> - 2.5.1-5
d87b02
- Do not generate notes when there is no output file.  (#1523875)
d87b02
d87b02
* Fri Dec 08 2017 Nick Clifton <nickc@redhat.com> - 2.5.1-4
d87b02
- Invent an input filename when reading from a pipe.  (#1523401)
d87b02
d87b02
* Thu Nov 30 2017 Florian Weimer <fweimer@redhat.com> - 2.5.1-3
d87b02
- Use DECL_ASSEMBLER_NAME for symbol references (#1519165)
d87b02
d87b02
* Tue Oct 03 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.5.1-2
d87b02
- Cleanups in spec
d87b02
d87b02
* Tue Sep 26 2017 Nick Clifton <nickc@redhat.com> - 2.5.1-1
d87b02
- Touch the auto-generated files in order to stop them from being regenerated.
d87b02
d87b02
* Tue Sep 26 2017 Nick Clifton <nickc@redhat.com> - 2.5-2
d87b02
- Stop the plugin complaining about compiler datestamp mismatches.
d87b02
d87b02
* Thu Sep 21 2017 Nick Clifton <nickc@redhat.com> - 2.4-1
d87b02
- Tweak tests so that they will run on older machines.
d87b02
d87b02
* Thu Sep 21 2017 Nick Clifton <nickc@redhat.com> - 2.3-1
d87b02
- Add annobin-tests subpackage containing some preliminary tests.
d87b02
- Remove link-time test for unsupported targets.
d87b02
d87b02
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-3
d87b02
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
d87b02
d87b02
* Mon Jul 31 2017 Florian Weimer <fweimer@redhat.com> - 2.0-2
d87b02
- Rebuild with binutils fix for ppc64le (#1475636)
d87b02
d87b02
* Wed Jun 28 2017 Nick Clifton <nickc@redhat.com> - 2.0-1
d87b02
- Fixes for problems reported by the package submission review:
d87b02
   * Add %%license entry to %%file section.
d87b02
   * Update License and BuildRequires tags.
d87b02
   * Add Requires tag.
d87b02
   * Remove %%clean.
d87b02
   * Add %%check.
d87b02
   * Clean up the %%changelog.
d87b02
- Update to use version 2 of the specification and sources.
d87b02
d87b02
* Thu May 11 2017 Nick Clifton <nickc@redhat.com> - 1.0-1
d87b02
- Initial submission.