Blame SPECS/annobin.spec

249f9c
249f9c
%define __python /opt/rh/gcc-toolset-9/root/usr/bin/python3
249f9c
%{?scl:%scl_package annobin}
249f9c
249f9c
Name:    %{?scl_prefix}annobin
249f9c
Summary: Annotate and examine compiled binary files
249f9c
Version: 9.29
6b5924
Release: 1%{?dist}.2
249f9c
License: GPLv3+
249f9c
# ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark
249f9c
# Maintainer: nickc@redhat.com
249f9c
249f9c
#---------------------------------------------------------------------------------
249f9c
249f9c
# Use "--without tests" to disable the testsuite.
249f9c
%bcond_without tests
249f9c
249f9c
# Use "--without annocheck" to disable the installation of the annocheck program.
249f9c
%bcond_without annocheck
249f9c
249f9c
# Use "--with debuginfod" to force support for debuginfod to be compiled into
249f9c
# the annocheck program.  By default the configure script will check for
249f9c
# availablilty at build time, but this might not match the run time situation.
249f9c
# FIXME: Add a --without debuginfod option to forcefully disable the configure
249f9c
# time check for debuginfod support.
249f9c
%bcond_with debuginfod
249f9c
249f9c
# Use "--with clangplugin" to build the annobin plugin for Clang.
249f9c
%bcond_with clangplugin
249f9c
249f9c
# Use "--with llvmplugin" to build the annobin plugin for LLVM.
249f9c
%bcond_with llvmplugin
249f9c
249f9c
# Set this to zero to disable the requirement for a specific version of gcc.
249f9c
# This should only be needed if there is some kind of problem with the version
249f9c
# checking logic or when building on RHEL-7 or earlier.
249f9c
%global with_hard_gcc_version_requirement 1
249f9c
249f9c
# # Do not build the annobin plugin with annotation enabled.
249f9c
# # This is because if we are bootstrapping a new build environment we can have
249f9c
# # a new version of gcc installed, but without a new of annobin installed.
249f9c
# # (i.e. we are building the new version of annobin to go with the new version
249f9c
# # of gcc).  If the *old* annobin plugin is used whilst building this new
249f9c
# # version, the old plugin will complain that version of gcc for which it
249f9c
# # was built is different from the version of gcc that is now being used, and
249f9c
# # then it will abort.
249f9c
#
249f9c
# Suppress this for BZ 1630550.
249f9c
# The problem should now only arise when rebasing to a new major version
249f9c
# of gcc, in which case the undefine below can be temporarily reinstated.
249f9c
#
249f9c
%undefine _annotated_build
249f9c
249f9c
#---------------------------------------------------------------------------------
249f9c
249f9c
# Source:  https://nickc.fedorapeople.org/annobin-%%{version}.tar.xz
249f9c
Source:  annobin-%{version}.tar.xz
249f9c
# For the latest sources use:  git clone git://sourceware.org/git/annobin.git
249f9c
249f9c
# Insert patches here, if needed.
6b5924
Patch01: annobin.unicode.patch
249f9c
249f9c
#---------------------------------------------------------------------------------
249f9c
249f9c
%{?scl:Requires:%scl_runtime}
249f9c
# We need the gcc-toolset-9 to build annobin, as otherwise the versions will not match.
249f9c
%{?scl:Requires:%scl_require_package %{scl} gcc}
249f9c
249f9c
BuildRequires: %{?scl_prefix}gcc %{?scl_prefix}gcc-plugin-devel %{?scl_prefix}gcc-c++
249f9c
%{?scl:BuildRequires:%scl_runtime}
249f9c
%{?scl:BuildRequires:scl-utils-build}
249f9c
249f9c
%define gcc_for_annobin %{?_scl_root}/usr/bin/gcc
249f9c
%define gxx_for_annobin %{?_scl_root}/usr/bin/g++
249f9c
249f9c
# [Stolen from gcc-python-plugin]
249f9c
# GCC will only load plugins that were built against exactly that build of GCC
249f9c
# We thus need to embed the exact GCC version as a requirement within the
249f9c
# metadata.
249f9c
#
249f9c
# Define "gcc_vr", a variable to hold the VERSION-RELEASE string for the gcc
249f9c
# we are being built against.
249f9c
#
249f9c
# Unfortunately, we can't simply run:
249f9c
#   rpm -q --qf="%%{version}-%%{release}"
249f9c
# to determine this, as there's no guarantee of a sane rpm database within
249f9c
# the chroots created by our build system
249f9c
#
249f9c
# So we instead query the version from gcc's output.
249f9c
#
249f9c
# gcc.spec has:
249f9c
#   Version: %%{gcc_version}
249f9c
#   Release: %%{gcc_release}%%{?dist}
249f9c
#   ...snip...
249f9c
#   echo 'Red Hat %%{version}-%%{gcc_release}' > gcc/DEV-PHASE
249f9c
#
249f9c
# So, given this output:
249f9c
#
249f9c
#   $ gcc --version
249f9c
#   gcc (GCC) 4.6.1 20110908 (Red Hat 4.6.1-9)
249f9c
#   Copyright (C) 2011 Free Software Foundation, Inc.
249f9c
#   This is free software; see the source for copying conditions.  There is NO
249f9c
#   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
249f9c
#
249f9c
# we can scrape out the "4.6.1" from the version line.
249f9c
#
249f9c
# The following implements the above:
249f9c
249f9c
%global gcc_vr %(%gcc_for_annobin --version | head -n 1 | sed -e 's|.*(Red\ Hat\ ||g' -e 's|)$||g')
249f9c
249f9c
# We need the major version of gcc.
249f9c
%global gcc_major %(echo "%{gcc_vr}" | cut -f1 -d".")
249f9c
%global gcc_next  %(v="%{gcc_major}"; echo $((++v)))
249f9c
249f9c
# Needed when building the srpm.
249f9c
%if 0%{?gcc_major} == 0
249f9c
%global gcc_major 0
249f9c
%endif
249f9c
249f9c
# This is a gcc plugin, hence gcc is required.
249f9c
%if %{with_hard_gcc_version_requirement}
249f9c
# BZ 1607430 - There is an exact requirement on the major version of gcc.
249f9c
Requires: (%{?scl_prefix}gcc >= %{gcc_major} with %{?scl_prefix}gcc < %{gcc_next})
249f9c
%else
249f9c
Requires: %{?scl_prefix}gcc
249f9c
%endif
249f9c
249f9c
BuildRequires: %{?scl_prefix}gcc %{?scl_prefix}gcc-plugin-devel %{?scl_prefix}gcc-c++
249f9c
%if %{with clangplugin}
249f9c
BuildRequires: %{?scl_prefix}clang %{?scl_prefix}clang-devel %{?scl_prefix}llvm %{?scl_prefix}llvm-devel
249f9c
%endif
249f9c
%if %{with llvmplugin}
249f9c
BuildRequires: %{?scl_prefix}clang %{?scl_prefix}clang-devel %{?scl_prefix}llvm %{?scl_prefix}llvm-devel %{?scl_prefix}compiler-rt
249f9c
%endif
249f9c
249f9c
%description
249f9c
Provides a plugin for GCC that records extra information in the files
249f9c
that it compiles.
249f9c
249f9c
Note - the plugin is automatically enabled in gcc builds via flags
249f9c
provided by the redhat-rpm-macros package.
249f9c
249f9c
%if %{with clangplugin}
249f9c
Also provides a plugin for clang which performs a similar function.
249f9c
%endif
249f9c
249f9c
%if %{with llvmplugin}
249f9c
Also provides a plugin for LLVM which performs a similar function.
249f9c
%endif
249f9c
249f9c
#---------------------------------------------------------------------------------
249f9c
%if %{with tests}
249f9c
249f9c
%package tests
249f9c
Summary: Test scripts and binaries for checking the behaviour and output of the annobin plugin
249f9c
249f9c
%description tests
249f9c
Provides a means to test the generation of annotated binaries and the parsing
249f9c
of the resulting files.
249f9c
249f9c
%if %{with debuginfod}
249f9c
BuildRequires: elfutils-debuginfod-client-devel
249f9c
%endif
249f9c
249f9c
%endif
249f9c
249f9c
#---------------------------------------------------------------------------------
249f9c
%if %{with annocheck}
249f9c
249f9c
%package annocheck
249f9c
Summary: A tool for checking the security hardening status of binaries
249f9c
249f9c
BuildRequires: gcc elfutils elfutils-devel elfutils-libelf-devel rpm-devel binutils-devel
249f9c
%if %{with debuginfod}
249f9c
BuildRequires: elfutils-debuginfod-client-devel
249f9c
%endif
249f9c
249f9c
%description annocheck
249f9c
Installs the annocheck program which uses the notes generated by annobin to
249f9c
check that the specified files were compiled with the correct security
249f9c
hardening options.
249f9c
249f9c
%endif
249f9c
249f9c
#---------------------------------------------------------------------------------
249f9c
249f9c
%global ANNOBIN_GCC_PLUGIN_DIR %(%gcc_for_annobin --print-file-name=plugin)
249f9c
249f9c
%if %{with clangplugin}
249f9c
# FIXME: Clang does not appear to have an official plugin directory.
249f9c
# Instead it just uses dlopen() with no pathname prefix.  So we
249f9c
# construct a (hopefully good) path and rely upon users of annobin
249f9c
# knowing about this location.
249f9c
# FIXME2: Currently this same path is hardcoded into the Makefile.in
249f9c
# files in the clang-plugin and llvm-plugin source directories...
249f9c
%global ANNOBIN_CLANG_PLUGIN_DIR %{?scl_prefix}/usr/lib64/clang/%(clang -dumpversion)/lib
249f9c
%endif
249f9c
249f9c
#---------------------------------------------------------------------------------
249f9c
249f9c
%prep
249f9c
if [ -z "%{gcc_vr}" ]; then
249f9c
    echo "*** Missing gcc_vr spec file macro, cannot continue." >&2
249f9c
    exit 1
249f9c
fi
249f9c
249f9c
echo "Requires: (%{?scl_prefix}gcc >= %{gcc_major} and %{?scl_prefix}gcc < %{gcc_next})"
249f9c
249f9c
# Cannot use autosetup as it untar's the sources into annobin-<version>
249f9c
# but then tries to change directory into <scl-prefix>-annobin-<version>.
249f9c
# %%autosetup -p1
249f9c
%setup -q -n annobin-%{version}
6b5924
%patch01 -p1
6b5924
chmod +x tests/unicode-test
249f9c
249f9c
# The plugin has to be configured with the same arcane configure
249f9c
# scripts used by gcc.  Hence we must not allow the Fedora build
249f9c
# system to regenerate any of the configure files.
249f9c
touch aclocal.m4 gcc-plugin/config.h.in
249f9c
touch configure */configure Makefile.in */Makefile.in
249f9c
# Similarly we do not want to rebuild the documentation.
249f9c
touch doc/annobin.info
249f9c
249f9c
#---------------------------------------------------------------------------------
249f9c
249f9c
%build
249f9c
249f9c
CONFIG_ARGS=
249f9c
249f9c
%if %{with debuginfod}
249f9c
CONFIG_ARGS="$CONFIG_ARGS --with-debuginfod"
249f9c
%else
249f9c
# Note - we explicitly disable debuginfod support if it was not configured.
249f9c
# This is because by default annobin's configue script will assume --with-debuginfod=auto
249f9c
# and then run a build time test to see if debugingfod is available.  It
249f9c
# may well be, but the build time environment may not match the run time
249f9c
# environment, and the rpm will not have a Requirement on the debuginfod
249f9c
# client.
249f9c
CONFIG_ARGS="$CONFIG_ARGS --without-debuginfod"
249f9c
%endif
249f9c
249f9c
%if %{with clangplugin}
249f9c
CONFIG_ARGS="$CONFIG_ARGS --with-clang"
249f9c
%endif
249f9c
249f9c
%if %{with llvmplugin}
249f9c
CONFIG_ARGS="$CONFIG_ARGS --with-llvm"
249f9c
%endif
249f9c
249f9c
%if %{without tests}
249f9c
CONFIG_ARGS="$CONFIG_ARGS --without-test"
249f9c
%endif
249f9c
249f9c
%configure --quiet --with-gcc-plugin-dir=%{ANNOBIN_GCC_PLUGIN_DIR} CC=%gcc_for_annobin CXX=%gxx_for_annobin ${CONFIG_ARGS} || cat config.log
249f9c
249f9c
%make_build
249f9c
249f9c
# Rebuild the plugin, this time using the plugin itself!  This
249f9c
# ensures that the plugin works, and that it contains annotations
249f9c
# of its own.  This could mean that we end up with a plugin with
249f9c
# double annotations in it.  (If the build system enables annotations
249f9c
# for plugins by default).  I have not tested this yet, but I think
249f9c
# that it should be OK.
249f9c
cp gcc-plugin/.libs/annobin.so.0.0.0 %{_tmppath}/tmp_annobin.so
249f9c
make -C gcc-plugin clean
249f9c
BUILD_FLAGS="-fplugin=%{_tmppath}/tmp_annobin.so -fplugin-arg-tmp_annobin-rename"
249f9c
# If building on RHEL7, enable the next option as the .attach_to_group assembler pseudo op is not available in the assembler.
249f9c
# BUILD_FLAGS="$BUILD_FLAGS -fplugin-arg-tmp_annobin-no-attach"
249f9c
make -C gcc-plugin CXXFLAGS="%{optflags} $BUILD_FLAGS"
249f9c
rm %{_tmppath}/tmp_annobin.so
249f9c
249f9c
%if %{with clangplugin}
249f9c
# FIXME: The symbolic link should not be needed.
249f9c
ln -f -s ../annobin-global.h clang-plugin
249f9c
make -C clang-plugin annobin.so 
249f9c
%endif
249f9c
249f9c
#---------------------------------------------------------------------------------
249f9c
249f9c
%install
249f9c
%make_install
249f9c
rm -f %{buildroot}%{_infodir}/dir
249f9c
249f9c
%if %{with clangplugin}
249f9c
install -Dpm0755 -t %{buildroot}%{ANNOBIN_CLANG_PLUGIN_DIR} clang-plugin/annobin.so
249f9c
%endif
249f9c
249f9c
#---------------------------------------------------------------------------------
249f9c
249f9c
%if %{with tests}
249f9c
%check
249f9c
# On RHEL7 the assembler does not support all of the annobin tests.
249f9c
# With scl the tests are run with the wrong version of gcc.
249f9c
# Change the following line to "make check GCC=%gcc_for_annobin || :"
249f9c
# on RHEL7 or if you need to see the test suite logs in order to
249f9c
# diagnose a test failure.
249f9c
make check GCC=%gcc_for_annobin
249f9c
if [ -f tests/test-suite.log ]; then
249f9c
    cat tests/test-suite.log
249f9c
fi
249f9c
249f9c
%if %{with clangplugin}
249f9c
# FIXME: RUN CLANG tests
249f9c
%endif
249f9c
249f9c
%if %{with llvmplugin}
249f9c
# FIXME: RUN LLVM tests
249f9c
%endif
249f9c
249f9c
%endif
249f9c
249f9c
#---------------------------------------------------------------------------------
249f9c
249f9c
%files
249f9c
%{ANNOBIN_GCC_PLUGIN_DIR}
249f9c
%license COPYING3 LICENSE
249f9c
%exclude %{_datadir}/doc/annobin-plugin/COPYING3
249f9c
%exclude %{_datadir}/doc/annobin-plugin/LICENSE
249f9c
%doc %{_datadir}/doc/annobin-plugin/annotation.proposal.txt
249f9c
%{_infodir}/annobin.info*
249f9c
%{_mandir}/man1/annobin.1*
249f9c
%{_mandir}/man1/built-by.1*
249f9c
%{_mandir}/man1/check-abi.1*
249f9c
%{_mandir}/man1/hardened.1*
249f9c
%{_mandir}/man1/run-on-binaries-in.1*
249f9c
249f9c
%if %{with clangplugin}
249f9c
%{ANNOBIN_CLANG_PLUGIN_DIR}
249f9c
%endif
249f9c
%if %{with llvmplugin}
249f9c
%{ANNOBIN_CLANG_PLUGIN_DIR}
249f9c
%endif
249f9c
249f9c
%if %{with annocheck}
249f9c
%files annocheck
249f9c
%{_bindir}/annocheck
249f9c
%{_mandir}/man1/annocheck.1*
249f9c
%endif
249f9c
249f9c
#---------------------------------------------------------------------------------
249f9c
249f9c
%changelog
6b5924
* Tue Nov  2 2021 Siddhesh Poyarekar <siddhesh@redhat.com> - 9.29-1.2
6b5924
- Bump and rebuild for new gcc. (#2017782)
6b5924
6b5924
* Mon Oct 25 2021 Nick Clifton <nickc@redhat.com> - 9.29-1.1
6b5924
- Annocheck: Add test for multibyte characters in symbol names.  (#2009282)
6b5924
249f9c
* Fri Aug 28 2020 Nick Clifton <nickc@redhat.com> - 9.29-1
249f9c
- Fix AArch64 checks in annobin plugin.  (#1873416)
249f9c
- gcc plugin: Detect any attempt to access the global_options array.
249f9c
- gcc plugin: Do not complain about missing pre-processor options when examining a preprocessed input file.  (#1862718)
249f9c
- Use more robust checks for AArch64 options.
249f9c
- Detect CLANG compiled assembler that is missing IBT support.
249f9c
- Improved target pointer size discovery.
249f9c
- Add support for installing clang and llvm plugins.
249f9c
- Temporary suppression of aarch64 pointer size check.  (#1860549)
249f9c
249f9c
* Mon Jul 13 2020 Nick Clifton <nickc@redhat.com> - 9.23-2
249f9c
- Annocheck: Do not skip tests of the short-enums notes.  (#1743635)
249f9c
- Add (optional) llvm plugin.
249f9c
249f9c
* Wed Jun 10 2020 Nick Clifton <nickc@redhat.com> - 9.21-3
249f9c
- Fix the computations of ANNOBIN_GCC_PLUGIN_DIR and ANNOBIN_CLANG_PLUGIN_DIR.
249f9c
249f9c
* Fri Jun 05 2020 Nick Clifton <nickc@redhat.com> - 9.21-2
249f9c
- NVR bump to allow rebuild.
249f9c
249f9c
* Tue Jun 02 2020 Nick Clifton <nickc@redhat.com> - 9.21-1
249f9c
- Initial check-in for scl-gcc-toolset-10 branch.  (#1817171)
249f9c
- Fix stack clash protection problem. (#1803173)
249f9c
	
249f9c
* Wed Apr 22 2020 Nick Clifton <nickc@redhat.com> - 9.21-1
249f9c
- Annobin: Fall back on using the flags if the option cannot be found in cl_options.  (#1817659)
249f9c
249f9c
* Thu Apr 16 2020 Nick Clifton <nickc@redhat.com> - 9.20-1
249f9c
- Annocheck: Detect Fortran compiled programs.  (#1824393)
249f9c
249f9c
* Wed Apr 01 2020 Nick Clifton <nickc@redhat.com> - 9.19-1
249f9c
- Annobin: If option name mismatch occurs, seach for the real option.  (#1817452)
249f9c
249f9c
* Mon Mar 30 2020 Nick Clifton <nickc@redhat.com> - 9.18-1
249f9c
- Annocheck: Fix a division by zero error when parsing GO binaries.  (#1818863)
249f9c
249f9c
* Fri Mar 27 2020 Nick Clifton <nickc@redhat.com> - 9.16-1
249f9c
- Annobin: Fix access to the -flto and -fsanitize flags.
249f9c
249f9c
* Thu Mar 26 2020 Nick Clifton <nickc@redhat.com> - 9.14-1
249f9c
- 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.
249f9c
249f9c
* Thu Mar 26 2020 Nick Clifton <nickc@redhat.com> - 9.13-2
249f9c
- NVR bump to allow rebuilding against new gcc.
249f9c
249f9c
* Thu Mar 12 2020 Nick Clifton <nickc@redhat.com> - 9.13-1
249f9c
- Rename gcc plugin directory to gcc-plugin.
249f9c
- Stop annocheck from complaining about missing options when the binary has been built in a mixed environment.
249f9c
249f9c
* Thu Mar 12 2020 Nick Clifton <nickc@redhat.com> - 9.12-3
249f9c
- And again, this time with annotation enabled.  (#1810941)
249f9c
249f9c
* Thu Mar 12 2020 Nick Clifton <nickc@redhat.com> - 9.12-2
249f9c
- NVR bump to enable rebuild against updated gcc.  (#1810941)
249f9c
249f9c
* Wed Mar 04 2020 Nick Clifton <nickc@redhat.com> - 9.12-1
249f9c
- Improve builtby tool.
249f9c
- Stop annocheck complaining about missing notes when the binary is not compiled by either gcc or clang.
249f9c
- Skip the check of the ENTRY instruction for binaries not compiled by gcc or clang.  (#1809656)
249f9c
249f9c
* Fri Feb 28 2020 Nick Clifton <nickc@redhat.com> - 9.11-1
249f9c
- Fix infinite loop hangup in annocheck.
249f9c
- Disable debuginfod support by default.
249f9c
- Improve parsing of .comment section.
249f9c
249f9c
* Thu Feb 27 2020 Nick Clifton <nickc@redhat.com> - 9.10-1
249f9c
- Fix clang plugin to use hidden symbols.
249f9c
249f9c
* Tue Feb 25 2020 Nick Clifton <nickc@redhat.com> - 9.09-1
249f9c
- Add ability to build clang plugin (disabled by default).
249f9c
249f9c
* Mon Feb 17 2020 Nick Clifton <nickc@redhat.com> - 9.08-1
249f9c
- Annocheck: Fix error printing out the version number.
249f9c
249f9c
* Fri Feb 14 2020 Nick Clifton <nickc@redhat.com> - 9.07-1
249f9c
- Annobin: Add checks of the exact location of the examined switches.
249f9c
249f9c
* Tue Feb 11 2020 Nick Clifton <nickc@redhat.com> - 9.06-1
249f9c
- Annobin: Note when stack clash notes are generated.
249f9c
- Annocheck: Handle multiple builder IDs in the .comment section.
249f9c
249f9c
* Fri Jan 31 2020 Nick Clifton <nickc@redhat.com> - 9.05-1
249f9c
- Add configure option to suppress building annocheck.
249f9c
249f9c
* Fri Jan 31 2020 Nick Clifton <nickc@redhat.com> - 9.04-1
249f9c
- Fix debuginfod test.
249f9c
249f9c
* Thu Jan 30 2020 Nick Clifton <nickc@redhat.com> - 9.03-2
249f9c
- Correct the build requirement for building with debuginfod support.
249f9c
249f9c
* Thu Jan 30 2020 Nick Clifton <nickc@redhat.com> - 9.03-1
249f9c
- Add debuginfod support.
249f9c
249f9c
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.01-3
249f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
249f9c
249f9c
* Mon Jan 20 2020 Nick Clifton <nickc@redhat.com> - 9.01-2
249f9c
- Rebuild againt latest gcc-10.
249f9c
249f9c
* Mon Jan 20 2020 Nick Clifton <nickc@redhat.com> - 9.01-1
249f9c
- Add clang plugin (experimental).
249f9c
249f9c
* Fri Dec 06 2019 Nick Clifton <nickc@redhat.com> - 8.92-1
249f9c
- Have annocheck ignore notes with an end address of 0.
249f9c
249f9c
* Mon Nov 18 2019 Nick Clifton <nickc@redhat.com> - 8.91-1
249f9c
- Improve checking of gcc versions.
249f9c
249f9c
* Fri Nov 15 2019 Nick Clifton <nickc@redhat.com> - 8.90-1
249f9c
- Do not skip positive results.
249f9c
249f9c
* Fri Nov 01 2019 Nick Clifton <nickc@redhat.com> - 8.88-1
249f9c
- Generate a WARN result for code compiled with instrumentation enabled.  (#1753918)
249f9c
249f9c
* Tue Oct 22 2019 Nick Clifton <nickc@redhat.com> - 8.87-1
249f9c
- Replace address checks with dladdr1.
249f9c
249f9c
* Mon Oct 21 2019 Nick Clifton <nickc@redhat.com> - 8.86-1
249f9c
- Use libabigail like checking to ensure variable address consistency.
249f9c
249f9c
* Wed Oct 16 2019 Nick Clifton <nickc@redhat.com> - 8.85-1
249f9c
- Skip generation of global notes for hot/cold sections.
249f9c
249f9c
* Thu Oct 10 2019 Nick Clifton <nickc@redhat.com> - 8.84-1
249f9c
- Generate FAIL results if -Wall or -Wformat-security are missing.
249f9c
249f9c
* Thu Oct 03 2019 Nick Clifton <nickc@redhat.com> - 8.83-1
249f9c
- If notes cannot be found in the executable look for them in the debuginfo file, if available.
249f9c
- Generate a FAIL if notes are missing from the executable/debuginfo file.
249f9c
- Record and report the setting of the AArcht64 specific -mbranch-protection option.
249f9c
249f9c
* Mon Sep 23 2019 Nick Clifton <nickc@redhat.com> - 8.81-1
249f9c
- Improve detection of GO binaries.
249f9c
- Add gcc version information to annobin notes.
249f9c
- Do not complain about missing FORTIFY_SOURCE and GLIBCXX_ASSERTIONS in LTO compilations.
249f9c
249f9c
* Wed Sep 04 2019 Nick Clifton <nickc@redhat.com> - 8.79-2
249f9c
- NVR bump to allow rebuild against latest gcc.  (#1748529)
249f9c
249f9c
* Tue Aug 06 2019 Nick Clifton <nickc@redhat.com> - 8.79-1
249f9c
- Allow compiler used to run tests to be specified on the command line.  (#1723401)
249f9c
249f9c
* Tue Aug 06 2019 Nick Clifton <nickc@redhat.com> - 8.78-1
249f9c
- Fix a memory allocation error in the annobin plugin.  (#1737306)
249f9c
249f9c
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.77-2
249f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
249f9c
249f9c
* Mon Jun 24 2019 Nick Clifton <nickc@redhat.com> - 8.77-1
249f9c
- Another attempt at fixing the detection and reporting of missing -D_FORTIFY_SOURCE options.  (#1703500)
249f9c
249f9c
* Mon Jun 10 22:13:17 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 8.76-4
249f9c
- Rebuild for RPM 4.15
249f9c
249f9c
* Mon Jun 10 15:42:00 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 8.76-3
249f9c
- Rebuild for RPM 4.15
249f9c
249f9c
* Thu Jun 06 2019 Panu Matilainen <pmatilai@redhat.com> - 8.76-2
249f9c
- Really enable annocheck sub-package
249f9c
249f9c
* Tue Apr 30 2019 Nick Clifton <nickc@redhat.com> - 8.76-1
249f9c
- Report a missing -D_FORTIFY_SOUCRE option if -D_GLIBCXX_ASSERTIONS was detected.  (#1703499)
249f9c
- Do not report problems with -fstack-protection if the binary was not built by gcc or clang.  (#1703788)    
249f9c
249f9c
* Fri Apr 26 2019 Nick Clifton <nickc@redhat.com> - 8.74-1
249f9c
- Add tests of clang command line options recorded in the DW_AT_producer attribute.
249f9c
249f9c
* Wed Apr 24 2019 Nick Clifton <nickc@redhat.com> - 8.73-1
249f9c
- Fix test for an executable stack segment.  (#1700924)
249f9c
249f9c
* Thu Apr 18 2019 Nick Clifton <nickc@redhat.com> - 8.72-1
249f9c
- Rebuild annobin with the latest rawhide gcc sources.  (#1700923)
249f9c
249f9c
* Thu Feb 28 2019 Nick Clifton <nickc@redhat.com> - 8.71-1
249f9c
- Annobin: Suppress more calls to free() which are triggering memory checker errors.  (#1684148)
249f9c
249f9c
* Fri Feb 01 2019 Nick Clifton <nickc@redhat.com> - 8.70-1
249f9c
- Add section flag matching ability to section size tool.
249f9c
249f9c
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.69-7
249f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
249f9c
249f9c
* Tue Jan 29 2019 Björn Esser <besser82@fedoraproject.org> - 8.69-6
249f9c
- Use 'with' for rich dependency on gcc
249f9c
249f9c
* Tue Jan 29 2019 Björn Esser <besser82@fedoraproject.org> - 8.69-5
249f9c
- Really fix rhbz#1607430.
249f9c
249f9c
* Mon Jan 28 2019 Björn Esser <besser82@fedoraproject.org> - 8.69-4
249f9c
- Rebuilt with annotations enabled
249f9c
249f9c
* Mon Jan 28 2019 Björn Esser <besser82@fedoraproject.org> - 8.69-3
249f9c
- Fix rpm query for gcc version.
249f9c
249f9c
* Mon Jan 28 2019 Nick Clifton <nickc@redhat.com> - 8.69-2
249f9c
- Add an exact requirement on the major version of gcc. (#1607430)
249f9c
249f9c
* Thu Jan 24 2019 Nick Clifton <nickc@redhat.com> - 8.69-1
249f9c
- Annobin: Add support for .text.startup and .text.exit sections generated by gcc 9.
249f9c
- Annocheck: Add a note displaying tool.
249f9c
249f9c
* Wed Jan 23 2019 Nick Clifton <nickc@redhat.com> - 8.68-1
249f9c
- Annocheck: Skip checks for -D_FORTIFY_SOURCE and -D_GLIBCXX_ASSERTIONS if there is no compiler generated code in the binary.
249f9c
249f9c
* Mon Jan 21 2019 Björn Esser <besser82@fedoraproject.org> - 8.67-3
249f9c
- Rebuilt with annotations enabled
249f9c
249f9c
* Mon Jan 21 2019 Björn Esser <besser82@fedoraproject.org> - 8.67-2
249f9c
- Rebuilt for GCC 9
249f9c
249f9c
* Thu Jan 17 2019 Nick Clifton <nickc@redhat.com> - 8.67-1
249f9c
- Annocheck: Only skip specific checks for specific symbols.  (#1666823)
249f9c
- Annobin: Record the setting of the -fomit-frame-pointer option.
249f9c
249f9c
* Wed Jan 02 2019 Nick Clifton <nickc@redhat.com> - 8.66-1
249f9c
- Annocheck: Do not ignore -Og when checking to see if an optimization level has been set.  (#1624162)
249f9c
249f9c
* Tue Dec 11 2018 Nick Clifton <nickc@redhat.com> - 8.65-1
249f9c
- Annobin: Fix handling of multiple .text.unlikely sections.
249f9c
249f9c
* Fri Nov 30 2018 Nick Clifton <nickc@redhat.com> - 8.64-1
249f9c
- Annocheck: Skip gaps in PPC64 executables covered by start_bcax_ symbols.  (#1630564)
249f9c
249f9c
* Mon Nov 26 2018 Nick Clifton <nickc@redhat.com> - 8.63-1
249f9c
- Annocheck: Disable ENDBR test for shared libraries.  (#1652925)
249f9c
249f9c
* Mon Nov 26 2018 Nick Clifton <nickc@redhat.com> - 8.62-1
249f9c
- Annocheck: Add test for ENDBR instruction at entry address of x86/x86_64 executables.  (#1652925)
249f9c
249f9c
* Tue Nov 20 2018 David Cantrell <dcantrell@redhat.com> - 8.61-2
249f9c
- Adjust how the gcc_vr macro is set.
249f9c
249f9c
* Mon Nov 19 2018 Nick Clifton <nickc@redhat.com> - 8.61-1
249f9c
- Fix building with gcc version 4.
249f9c
249f9c
* Tue Nov 13 2018 Nick Clifton <nickc@redhat.com> - 8.60-1
249f9c
- Skip -Wl,-z,now and -Wl,-z,relro checks for non-gcc produced binaries.  (#1624421)
249f9c
249f9c
* Mon Nov 05 2018 Nick Clifton <nickc@redhat.com> - 8.59-1
249f9c
- Ensure GNU Property notes are 8-byte aligned in x86_64 binaries.  (#1645817)
249f9c
249f9c
* Thu Oct 18 2018 Nick Clifton <nickc@redhat.com> - 8.58-1
249f9c
- Skip PPC64 linker stubs created in the middle of text sections (again). (#1630640)
249f9c
249f9c
* Thu Oct 18 2018 Nick Clifton <nickc@redhat.com> - 8.57-1
249f9c
- Suppress free of invalid pointer. (#1638371)
249f9c
249f9c
* Thu Oct 18 2018 Nick Clifton <nickc@redhat.com> - 8.56-1
249f9c
- Skip PPC64 linker stubs created in the middle of text sections. (#1630640)
249f9c
249f9c
* Tue Oct 16 2018 Nick Clifton <nickc@redhat.com> - 8.55-1
249f9c
- Reset the (PPC64) section start symbol to 0 if its section is empty.  (#1638251)
249f9c
249f9c
* Thu Oct 11 2018 Nick Clifton <nickc@redhat.com> - 8.53-1
249f9c
- Also skip virtual thinks created by G++.  (#1630619)
249f9c
249f9c
* Wed Oct 10 2018 Nick Clifton <nickc@redhat.com> - 8.52-1
249f9c
- Use uppercase for all fail/mayb/pass results.  (#1637706)
249f9c
249f9c
* Wed Oct 10 2018 Nick Clifton <nickc@redhat.com> - 8.51-1
249f9c
- Generate notes for unlikely sections.  (#1630620)
249f9c
249f9c
* Mon Oct 08 2018 Nick Clifton <nickc@redhat.com> - 8.50-1
249f9c
- Fix edge case computing section names for end symbols.  (#1637039)
249f9c
249f9c
* Mon Oct 08 2018 Nick Clifton <nickc@redhat.com> - 8.49-1
249f9c
- Skip dynamic checks for binaries without a dynamic segment.  (#1636606)
249f9c
249f9c
* Fri Oct 05 2018 Nick Clifton <nickc@redhat.com> - 8.48-1
249f9c
- Delay generating attach_to_group directives until the end of the compilation.  (#1636265)
249f9c
249f9c
* Mon Oct 01 2018 Nick Clifton <nickc@redhat.com> - 8.47-1
249f9c
- Fix bug introduced in previous delta which would trigger a seg-fault when scanning for gaps.
249f9c
249f9c
* Mon Oct 01 2018 Nick Clifton <nickc@redhat.com> - 8.46-1
249f9c
- Annobin:   Fix section name selection for startup sections.
249f9c
- Annocheck: Improve gap skipping heuristics.   (#1630574)
249f9c
249f9c
* Mon Oct 01 2018 Nick Clifton <nickc@redhat.com> - 8.45-1
249f9c
- Fix function section support (again).   (#1630574)
249f9c
249f9c
* Fri Sep 28 2018 Nick Clifton <nickc@redhat.com> - 8.44-1
249f9c
- Skip compiler option checks for non-GNU producers.  (#1633749)
249f9c
249f9c
* Wed Sep 26 2018 Nick Clifton <nickc@redhat.com> - 8.43-1
249f9c
- Fix function section support (again).   (#1630574)
249f9c
249f9c
* Tue Sep 25 2018 Nick Clifton <nickc@redhat.com> - 8.42-1
249f9c
- Ignore ppc64le notes where start = end + 2.  (#1632259)
249f9c
249f9c
* Tue Sep 25 2018 Nick Clifton <nickc@redhat.com> - 8.41-1
249f9c
- Make annocheck ignore symbols suffixed with ".end".  (#1639618)
249f9c
249f9c
* Mon Sep 24 2018 Nick Clifton <nickc@redhat.com> - 8.40-1
249f9c
- Reinstate building annobin with annobin enabled.  (#1630550)
249f9c
249f9c
* Fri Sep 21 2018 Nick Clifton <nickc@redhat.com> - 8.39-1
249f9c
- Tweak tests.
249f9c
249f9c
* Fri Sep 21 2018 Nick Clifton <nickc@redhat.com> - 8.38-1
249f9c
- Generate notes and groups for .text.hot and .text.unlikely sections.
249f9c
- When -ffunction-sections is active, put notes for startup sections into .text.startup.foo rather than .text.foo.
249f9c
- Similarly put exit section notes into .text.exit.foo.  (#1630574)
249f9c
- 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.
249f9c
249f9c
* Wed Sep 19 2018 Nick Clifton <nickc@redhat.com> - 8.37-1
249f9c
- Make the --skip-* options skip all messages about the specified test.
249f9c
249f9c
* Tue Sep 18 2018 Nick Clifton <nickc@redhat.com> - 8.36-1
249f9c
- Improve error message when an ET_EXEC binary is detected.
249f9c
249f9c
* Mon Sep 17 2018 Nick Clifton <nickc@redhat.com> - 8.35-1
249f9c
- Skip failures for PIC vs PIE.  (#1629698)
249f9c
249f9c
* Mon Sep 17 2018 Nick Clifton <nickc@redhat.com> - 8.34-1
249f9c
- Ensure 4 byte alignment of note sub-sections.  (#1629671)
249f9c
249f9c
* Wed Sep 12 2018 Nick Clifton <nickc@redhat.com> - 8.33-1
249f9c
- Add timing tool to report on speed of the checks.
249f9c
- Add check for conflicting use of the -fshort-enum option.
249f9c
- Add check of the GNU Property notes.
249f9c
- Skip check for -O2 if compiled with -Og.  (#1624162)
249f9c
249f9c
* Mon Sep 03 2018 Nick Clifton <nickc@redhat.com> - 8.32-1
249f9c
- Add test for ET_EXEC binaries.  (#1625627)
249f9c
- Document --report-unknown option.
249f9c
249f9c
* Thu Aug 30 2018 Nick Clifton <nickc@redhat.com> - 8.31-1
249f9c
- Fix bug in hardened tool which would skip gcc compiled files if the notes were too small.
249f9c
- Fix bugs in section-size tool.
249f9c
- Fix bug in built-by tool.
249f9c
249f9c
* Wed Aug 29 2018 Nick Clifton <nickc@redhat.com> - 8.30-1
249f9c
- Generate notes for comdat sections. (#1619267)
249f9c
249f9c
* Thu Aug 23 2018 Nick Clifton <nickc@redhat.com> - 8.29-1
249f9c
- Add more names to the gap skip list. (#1619267)
249f9c
249f9c
* Thu Aug 23 2018 Nick Clifton <nickc@redhat.com> - 8.28-1
249f9c
- Skip gaps covered by _x86.get_pc_thunk and _savegpr symbols. (#1619267)
249f9c
- Merge ranges where one is wholly covered by another.
249f9c
249f9c
* Wed Aug 22 2018 Nick Clifton <nickc@redhat.com> - 8.27-1
249f9c
- Skip gaps at the end of functions. (#1619267)
249f9c
249f9c
* Tue Aug 21 2018 Nick Clifton <nickc@redhat.com> - 8.26-1
249f9c
- Fix thinko in ppc64 gap detection code. (#1619267)
249f9c
249f9c
* Mon Aug 20 2018 Nick Clifton <nickc@redhat.com> - 8.25-1
249f9c
- Skip gaps at the end of the .text section in ppc64 binaries. (#1619267)
249f9c
249f9c
* Wed Aug 15 2018 Nick Clifton <nickc@redhat.com> - 8.24-1
249f9c
- Skip checks in stack_chk_local_fail.c
249f9c
- Treat gaps as FAIL results rather than MAYBE.
249f9c
249f9c
* Wed Aug 08 2018 Nick Clifton <nickc@redhat.com> - 8.23-1
249f9c
- Skip checks in __stack_chk_local_fail.
249f9c
249f9c
* Wed Aug 08 2018 Nick Clifton <nickc@redhat.com> - 8.22-1
249f9c
- Reduce version check to gcc major version number only.  Skip compiler option checks if binary not built with gcc.  (#1603089)
249f9c
249f9c
* Tue Aug 07 2018 Nick Clifton <nickc@redhat.com> - 8.21-1
249f9c
- Fix bug in annobin plugin.  Add --section-size=NAME option to annocheck.
249f9c
249f9c
* Thu Aug  2 2018 Peter Robinson <pbrobinson@fedoraproject.org> 8.20-2
249f9c
- rebuild for new gcc
249f9c
249f9c
* Thu Aug 02 2018 Nick Clifton <nickc@redhat.com> - 8.20-1
249f9c
- Correct name of man page for run-on-binaries-in script.  (#1611155)
249f9c
249f9c
* Wed Jul 25 2018 Nick Clifton <nickc@redhat.com> - 8.19-1
249f9c
- Allow $ORIGIN to be at the start of entries in DT_RPATH and DT_RUNPATH.
249f9c
249f9c
* Mon Jul 23 2018 Nick Clifton <nickc@redhat.com> - 8.18-1
249f9c
- Add support for big endian targets.
249f9c
249f9c
* Mon Jul 23 2018 Nick Clifton <nickc@redhat.com> - 8.17-1
249f9c
- Count passes and failures on a per-component basis and report gaps.
249f9c
249f9c
* Fri Jul 20 2018 Nick Clifton <nickc@redhat.com> - 8.16-1
249f9c
- Use our own copy of the targetm.asm_out.function_section() function.  (#159861 comment#17)
249f9c
249f9c
* Fri Jul 20 2018 Nick Clifton <nickc@redhat.com> - 8.15-1
249f9c
- Generate grouped note section name all the time.  (#159861 comment#16)
249f9c
249f9c
* Thu Jul 19 2018 Nick Clifton <nickc@redhat.com> - 8.14-1
249f9c
- Fix section conflict problem.  (#1603071)
249f9c
249f9c
* Wed Jul 18 2018 Nick Clifton <nickc@redhat.com> - 8.13-1
249f9c
- Fix for building with gcc version 4.
249f9c
- Fix symbol placement in functions with local assembler.
249f9c
249f9c
* Tue Jul 17 2018 Nick Clifton <nickc@redhat.com> - 8.12-1
249f9c
- Fix assertions in range checking code.  Add detection of -U options.
249f9c
249f9c
* Tue Jul 17 2018 Nick Clifton <nickc@redhat.com> - 8.11-1
249f9c
- Handle function sections properly.  Handle .text.startup and .text.unlikely sections.  Improve gap detection and reporting.  (#1601055)
249f9c
249f9c
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 8.10-2
249f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
249f9c
249f9c
* Thu Jul 12 2018 Nick Clifton <nickc@redhat.com> - 8.10-1
249f9c
- Fix construction of absolute versions of --dwarf-dir and --debug-rpm options.
249f9c
249f9c
* Tue Jul 10 2018 Nick Clifton <nickc@redhat.com> - 8.9-1
249f9c
- Fix buffer overrun when very long symbol names are encountered.
249f9c
249f9c
* Tue Jul 10 2018 Nick Clifton <nickc@redhat.com> - 8.8-1
249f9c
- Do not force the generation of function notes when -ffunction-sections is active.  (#1598961)
249f9c
249f9c
* Mon Jul 09 2018 Nick Clifton <nickc@redhat.com> - 8.7-1
249f9c
- Skip the .annobin_ prfix when reporting symbols.  (#1599315)
249f9c
249f9c
* Mon Jul 09 2018 Nick Clifton <nickc@redhat.com> - 8.6-1
249f9c
- Use the assembler (c++ mangled) version of function names when switching sections.  (#1598579)
249f9c
249f9c
* Mon Jul 09 2018 Nick Clifton <nickc@redhat.com> - 8.5-1
249f9c
- Do not call function_section.  (#1598961)
249f9c
249f9c
* Fri Jul 06 2018 Nick Clifton <nickc@redhat.com> - 8.4-1
249f9c
- Ignore cross-section gaps.  (#1598551)
249f9c
249f9c
* Thu Jul 05 2018 Nick Clifton <nickc@redhat.com> - 8.3-1
249f9c
- Do not skip empty range notes in object files.  (#1598361)
249f9c
249f9c
* Mon Jul 02 2018 Nick Clifton <nickc@redhat.com> - 8.2-1
249f9c
- Create the start symbol at the start of the function and the end symbol at the end.  (#1596823)
249f9c
249f9c
* Mon Jul 02 2018 Nick Clifton <nickc@redhat.com> - 8.1-1
249f9c
- Fix --debug-rpm when used inside a directory.
249f9c
249f9c
* Thu Jun 28 2018 Nick Clifton <nickc@redhat.com> - 8.0-1
249f9c
- Use a prefix for all annobin generated symbols, and make them hidden.
249f9c
- Only generate weak symbol definitions for linkonce sections.
249f9c
249f9c
* Wed Jun 27 2018 Nick Clifton <nickc@redhat.com> - 7.1-1
249f9c
- Skip some checks for relocatable object files, and dynamic objects.
249f9c
- Stop bogus complaints about stackrealignment not being enabled.
249f9c
249f9c
* Mon Jun 25 2018 Nick Clifton <nickc@redhat.com> - 7.0-1
249f9c
- Add -debug-rpm= option to annocheck.
249f9c
- Only use a 2 byte offset for the initial symbol on PowerPC.
249f9c
249f9c
* Fri Jun 22 2018 Nick Clifton <nickc@redhat.com> - 6.6-1
249f9c
- Use --dwarf-path when looking for build-id based debuginfo files.
249f9c
249f9c
* Fri Jun 22 2018 Nick Clifton <nickc@redhat.com> - 6.5-1
249f9c
- Fix premature closing of dwarf handle.
249f9c
249f9c
* Fri Jun 22 2018 Nick Clifton <nickc@redhat.com> - 6.4-1
249f9c
- Fix scoping bug computing the name of a separate debuginfo file.
249f9c
249f9c
* Tue Jun 19 2018 Nick Clifton <nickc@redhat.com> - 6.3-1
249f9c
- Fix file descriptor leak.
249f9c
249f9c
* Tue Jun 19 2018 Nick Clifton <nickc@redhat.com> - 6.2-1
249f9c
- Add command line options to annocheck to disable individual tests.
249f9c
249f9c
* Fri Jun 08 2018 Nick Clifton <nickc@redhat.com> - 6.1-1
249f9c
- Remove C99-ism from annocheck sources.
249f9c
249f9c
* Wed Jun 06 2018 Nick Clifton <nickc@redhat.com> - 6.0-1
249f9c
- Add the annocheck program.
249f9c
249f9c
* Fri Jun 01 2018 Nick Clifton <nickc@redhat.com> - 5.11-1
249f9c
- Do not use the SHF_GNU_BUILD_NOTE section flag.
249f9c
249f9c
* Thu May 31 2018 Nick Clifton <nickc@redhat.com> - 5.10-1
249f9c
- Remove .sh extension from shell scripts.
249f9c
249f9c
* Wed May 30 2018 Nick Clifton <nickc@redhat.com> - 5.9-1
249f9c
- Record the setting of the -mstackrealign option for i686 binaries.
249f9c
249f9c
* Mon May 14 2018 Nick Clifton <nickc@redhat.com> - 5.8-1
249f9c
- Hide the annobin start of file symbol.
249f9c
249f9c
* Tue May 08 2018 Nick Clifton <nickc@redhat.com> - 5.7-1
249f9c
- Fix script bug in hardended.sh.  (Thanks to: Stefan Sørensen <stefan.sorensen@spectralink.com>)
249f9c
249f9c
* Thu May 03 2018 Nick Clifton <nickc@redhat.com> - 5.6-3
249f9c
- Version number bump so that the plugin can be rebuilt with the latest version of GCC.
249f9c
249f9c
* Mon Apr 30 2018 Nick Clifton <nickc@redhat.com> - 5.6-2
249f9c
- Rebuild the plugin with the newly created plugin enabled.  (#1573082)
249f9c
249f9c
* Mon Apr 30 2018 Nick Clifton <nickc@redhat.com> - 5.6-1
249f9c
- Skip the isa_flags check in the ABI test because the crt[in].o files are compiled with different flags from the test files.
249f9c
249f9c
* Fri Apr 20 2018 Nick Clifton <nickc@redhat.com> - 5.3-1
249f9c
- Add manual pages for annobin and the scripts.
249f9c
249f9c
* Tue Apr 03 2018 Nick Clifton <nickc@redhat.com> - 5.2-1
249f9c
- Do not record a stack protection setting of -1.  (#1563141)
249f9c
249f9c
* Tue Mar 20 2018 Nick Clifton <nickc@redhat.com> - 5.1-1
249f9c
- Do not complain about a dwarf_version value of -1.  (#1557511)
249f9c
249f9c
* Thu Mar 15 2018 Nick Clifton <nickc@redhat.com> - 5.0-1
249f9c
- Bias file start symbols by 2 in order to avoid them confused with function symbols.  (#1554332)
249f9c
- Version jump is to sync the version number with the annobin plugins internal version number.
249f9c
249f9c
* Mon Mar 12 2018 Nick Clifton <nickc@redhat.com> - 3.6-1
249f9c
- Add --ignore-gaps option to check-abi.sh script.
249f9c
- Use this option in the abi-test check.
249f9c
- Tweak hardening test to skip pic and stack protection checks.
249f9c
249f9c
* Tue Mar 06 2018 Nick Clifton <nickc@redhat.com> - 3.5-1
249f9c
- Handle functions with specific assembler names.  (#1552018)
249f9c
249f9c
* Fri Feb 23 2018 Nick Clifton <nickc@redhat.com> - 3.4-2
249f9c
- Add an explicit requirement on the version of gcc used to built the plugin.  (#1547260)
249f9c
249f9c
* Fri Feb 09 2018 Nick Clifton <nickc@redhat.com> - 3.4-1
249f9c
- Change type and size of symbols to STT_NOTYPE/0 so that they do not confuse GDB.  (#1539664)
249f9c
- Add run-on-binaries-in.sh script to allow the other scripts to be run over a repository.
249f9c
249f9c
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-2
249f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
249f9c
249f9c
* Tue Jan 30 2018 Nick Clifton <nickc@redhat.com> - 3.3-1
249f9c
- Rebase on 3.3 release, which adds support for recording -mcet and -fcf-protection.
249f9c
249f9c
* Mon Jan 29 2018 Florian Weimer <fweimer@redhat.com> - 3.2-3
249f9c
- Rebuild for GCC 8
249f9c
249f9c
* Fri Jan 26 2018 Nick Clifton <nickc@redhat.com> - 3.2-2
249f9c
- Fix the installation of the annobin.info file.
249f9c
249f9c
* Fri Jan 26 2018 Nick Clifton <nickc@redhat.com> - 3.2-1
249f9c
- Rebase on 3.2 release, which now contains documentation!
249f9c
249f9c
* Fri Jan 26 2018 Richard W.M. Jones <rjones@redhat.com> - 3.1-3
249f9c
- Rebuild against GCC 7.3.1.
249f9c
249f9c
* Tue Jan 16 2018 Nick Clifton <nickc@redhat.com> - 3.1-2
249f9c
- Add --with-gcc-plugin-dir option to the configure command line.
249f9c
249f9c
* Thu Jan 04 2018 Nick Clifton <nickc@redhat.com> - 3.1-1
249f9c
- Rebase on version 3.1 sources.
249f9c
249f9c
* Mon Dec 11 2017 Nick Clifton <nickc@redhat.com> - 2.5.1-5
249f9c
- Do not generate notes when there is no output file.  (#1523875)
249f9c
249f9c
* Fri Dec 08 2017 Nick Clifton <nickc@redhat.com> - 2.5.1-4
249f9c
- Invent an input filename when reading from a pipe.  (#1523401)
249f9c
249f9c
* Thu Nov 30 2017 Florian Weimer <fweimer@redhat.com> - 2.5.1-3
249f9c
- Use DECL_ASSEMBLER_NAME for symbol references (#1519165)
249f9c
249f9c
* Tue Oct 03 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.5.1-2
249f9c
- Cleanups in spec
249f9c
249f9c
* Tue Sep 26 2017 Nick Clifton <nickc@redhat.com> - 2.5.1-1
249f9c
- Touch the auto-generated files in order to stop them from being regenerated.
249f9c
249f9c
* Tue Sep 26 2017 Nick Clifton <nickc@redhat.com> - 2.5-2
249f9c
- Stop the plugin complaining about compiler datestamp mismatches.
249f9c
249f9c
* Thu Sep 21 2017 Nick Clifton <nickc@redhat.com> - 2.4-1
249f9c
- Tweak tests so that they will run on older machines.
249f9c
249f9c
* Thu Sep 21 2017 Nick Clifton <nickc@redhat.com> - 2.3-1
249f9c
- Add annobin-tests subpackage containing some preliminary tests.
249f9c
- Remove link-time test for unsupported targets.
249f9c
249f9c
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-3
249f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
249f9c
249f9c
* Mon Jul 31 2017 Florian Weimer <fweimer@redhat.com> - 2.0-2
249f9c
- Rebuild with binutils fix for ppc64le (#1475636)
249f9c
249f9c
* Wed Jun 28 2017 Nick Clifton <nickc@redhat.com> - 2.0-1
249f9c
- Fixes for problems reported by the package submission review:
249f9c
   * Add %%license entry to %%file section.
249f9c
   * Update License and BuildRequires tags.
249f9c
   * Add Requires tag.
249f9c
   * Remove %%clean.
249f9c
   * Add %%check.
249f9c
   * Clean up the %%changelog.
249f9c
- Update to use version 2 of the specification and sources.
249f9c
249f9c
* Thu May 11 2017 Nick Clifton <nickc@redhat.com> - 1.0-1
249f9c
- Initial submission.