Blame SPECS/annobin.spec

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