Blame SPECS/annobin.spec

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