2018-01-26 16:17:03 +00:00
|
|
|
|
|
|
|
# Do not build the annobin plugin with annotation enabled.
|
|
|
|
# This is because if we are bootstrapping a new build environment we can have
|
|
|
|
# a new version of gcc installed, but without a new of annobin installed.
|
|
|
|
# (ie we are building the new version of annobin to go with the new version
|
|
|
|
# of gcc). If the *old* annobin plugin is used whilst building this new
|
|
|
|
# version, the old plugin will complain that version of gcc for which it
|
|
|
|
# was built is different from the version of gcc that is now being used, and
|
|
|
|
# then it will abort.
|
2018-01-26 11:36:09 +00:00
|
|
|
%undefine _annotated_build
|
|
|
|
|
2017-07-27 13:58:31 +00:00
|
|
|
Name: annobin
|
|
|
|
Summary: Binary annotation plugin for GCC
|
2018-08-07 14:21:37 +00:00
|
|
|
Version: 8.21
|
|
|
|
Release: 1%{?dist}
|
2017-07-27 13:58:31 +00:00
|
|
|
|
2017-10-03 13:46:25 +00:00
|
|
|
License: GPLv3+
|
2017-07-27 13:58:31 +00:00
|
|
|
URL: https://fedoraproject.org/wiki/Toolchain/Watermark
|
|
|
|
|
2017-09-21 12:39:01 +00:00
|
|
|
# Use "--without tests" to disable the testsuite. The default is to run them.
|
|
|
|
%bcond_without tests
|
|
|
|
|
2018-06-06 16:25:49 +00:00
|
|
|
# Use "--without annocheck" to disable the installation of the annocheck program.
|
|
|
|
%bcond_without annocheck
|
|
|
|
|
2018-02-23 10:56:10 +00:00
|
|
|
# Set this to zero to disable the requirement for a specific version of gcc.
|
|
|
|
# This should only be needed if there is some kind of problem with the version
|
|
|
|
# checking logic.
|
|
|
|
%global with_hard_gcc_version_requirement 1
|
|
|
|
|
|
|
|
#---------------------------------------------------------------------------------
|
|
|
|
Source: https://nickc.fedorapeople.org/annobin-%{version}.tar.xz
|
|
|
|
# For the latest sources use: git clone git://sourceware.org/git/annobin.git
|
|
|
|
|
2018-04-30 09:30:15 +00:00
|
|
|
# Insert patches here, if needed.
|
|
|
|
# Patch01: annobin-xxx.patch
|
|
|
|
|
2018-07-23 16:40:07 +00:00
|
|
|
#---------------------------------------------------------------------------------
|
2018-04-30 09:30:15 +00:00
|
|
|
|
2018-07-23 16:40:07 +00:00
|
|
|
BuildRequires: gcc gcc-plugin-devel gcc-c++
|
2018-02-23 10:56:10 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
A plugin for GCC that records extra information in the files that it compiles,
|
|
|
|
and a set of scripts that analyze the recorded information. These scripts can
|
|
|
|
determine things ABI clashes in compiled binaries, or the absence of required
|
|
|
|
hardening options.
|
|
|
|
|
|
|
|
Note - the plugin is enabled in gcc builds via flags provided by the
|
|
|
|
redhat-rpm-macros package, and the analysis tools rely upon the readelf program
|
|
|
|
from the binutils package.
|
|
|
|
|
|
|
|
#---------------------------------------------------------------------------------
|
|
|
|
%if %{with tests}
|
|
|
|
|
|
|
|
%package tests
|
|
|
|
Summary: Test scripts and binaries for checking the behaviour and output of the annobin plugin
|
|
|
|
|
|
|
|
%description tests
|
|
|
|
Provides a means to test the generation of annotated binaries and the parsing
|
|
|
|
of the resulting files.
|
|
|
|
|
|
|
|
%endif
|
2018-06-06 16:25:49 +00:00
|
|
|
|
|
|
|
#---------------------------------------------------------------------------------
|
|
|
|
%if %{with annocheck}
|
|
|
|
|
|
|
|
%package annocheck
|
|
|
|
Summary: A tool for checking the security hardening status of binaries
|
|
|
|
|
2018-07-10 13:24:32 +00:00
|
|
|
BuildRequires: gcc elfutils elfutils-devel elfutils-libelf-devel rpm-devel binutils-devel
|
2018-06-06 16:25:49 +00:00
|
|
|
|
|
|
|
%description annocheck
|
|
|
|
Installs the annocheck program which uses the notes generated by annobin to
|
|
|
|
check that the specified files were compiled with the correct security
|
|
|
|
hardening options.
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
2018-02-23 10:56:10 +00:00
|
|
|
#---------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
%global ANNOBIN_PLUGIN_DIR %(gcc --print-file-name=plugin)
|
|
|
|
|
2018-02-23 10:34:14 +00:00
|
|
|
# [Stolen from gcc-python-plugin]
|
|
|
|
# GCC will only load plugins that were built against exactly that build of GCC
|
|
|
|
# We thus need to embed the exact GCC version as a requirement within the
|
|
|
|
# metadata.
|
|
|
|
#
|
|
|
|
# Define "gcc_vr", a variable to hold the VERSION-RELEASE string for the gcc
|
|
|
|
# we are being built against.
|
|
|
|
#
|
|
|
|
# Unfortunately, we can't simply run:
|
2018-03-06 11:22:26 +00:00
|
|
|
# rpm -q --qf="%%{version}-%%{release}"
|
2018-02-23 10:34:14 +00:00
|
|
|
# to determine this, as there's no guarantee of a sane rpm database within
|
|
|
|
# the chroots created by our build system
|
|
|
|
#
|
|
|
|
# So we instead query the version from gcc's output.
|
|
|
|
#
|
|
|
|
# gcc.spec has:
|
2018-02-23 10:40:42 +00:00
|
|
|
# Version: %%{gcc_version}
|
|
|
|
# Release: %%{gcc_release}%%{?dist}
|
2018-02-23 10:34:14 +00:00
|
|
|
# ...snip...
|
2018-02-23 10:40:42 +00:00
|
|
|
# echo 'Red Hat %%{version}-%%{gcc_release}' > gcc/DEV-PHASE
|
|
|
|
#
|
2018-02-23 10:34:14 +00:00
|
|
|
# So, given this output:
|
|
|
|
#
|
|
|
|
# $ gcc --version
|
|
|
|
# gcc (GCC) 4.6.1 20110908 (Red Hat 4.6.1-9)
|
|
|
|
# Copyright (C) 2011 Free Software Foundation, Inc.
|
|
|
|
# This is free software; see the source for copying conditions. There is NO
|
|
|
|
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
#
|
|
|
|
# we can scrape out the "4.6.1" from the version line.
|
|
|
|
#
|
|
|
|
# The following implements the above:
|
|
|
|
#
|
|
|
|
# Note - gawk will emit a warning message saying:
|
|
|
|
#
|
|
|
|
# gawk: cmd. line:1: warning: escape sequence `\)' treated as plain `)'
|
|
|
|
#
|
|
|
|
# I have not been able to work out how to remove this message, but still provide
|
|
|
|
# sufficient escaping for the command line to survive intact as it is passed
|
|
|
|
# down through the sub-shell.
|
|
|
|
|
|
|
|
%global gcc_vr %(gcc --version | gawk 'match (\$0, ".*Red Hat \([^\\)-]*\)", a) { print a[1]; }')
|
|
|
|
|
2017-07-27 13:58:31 +00:00
|
|
|
# This is a gcc plugin, hence gcc is required.
|
2018-02-23 10:34:14 +00:00
|
|
|
%if %{with_hard_gcc_version_requirement}
|
|
|
|
Requires: gcc == %{gcc_vr}
|
|
|
|
BuildRequires: gcc == %{gcc_vr}
|
2018-02-23 10:56:10 +00:00
|
|
|
%else
|
|
|
|
Requires: gcc
|
2018-02-23 10:34:14 +00:00
|
|
|
%endif
|
|
|
|
|
2018-05-03 11:56:54 +00:00
|
|
|
#---------------------------------------------------------------------------------
|
|
|
|
|
2017-07-27 13:58:31 +00:00
|
|
|
%prep
|
|
|
|
%autosetup -p1
|
|
|
|
|
2018-01-04 10:05:29 +00:00
|
|
|
# The plugin has to be configured with the same arcane configure
|
|
|
|
# scripts used by gcc. Hence we must not allow the Fedora build
|
|
|
|
# system to regenerate any of the configure files.
|
|
|
|
touch aclocal.m4 plugin/config.h.in
|
2017-09-26 12:59:20 +00:00
|
|
|
touch configure */configure Makefile.in */Makefile.in
|
2018-01-26 12:33:58 +00:00
|
|
|
# Similarly we do not want to rebuild the documentation.
|
|
|
|
touch doc/annobin.info
|
2017-09-26 12:59:20 +00:00
|
|
|
|
2018-05-03 11:56:54 +00:00
|
|
|
#---------------------------------------------------------------------------------
|
|
|
|
|
2017-07-27 13:58:31 +00:00
|
|
|
%build
|
2018-01-16 17:48:21 +00:00
|
|
|
%configure --quiet --with-gcc-plugin-dir=%{ANNOBIN_PLUGIN_DIR}
|
2017-10-03 13:48:09 +00:00
|
|
|
%make_build
|
2018-04-30 15:33:05 +00:00
|
|
|
# Rebuild the plugin, this time using the plugin itself! This
|
|
|
|
# ensures that the plugin works, and that it contains annotations
|
|
|
|
# of its own. This could mean that we end up with a plugin with
|
|
|
|
# double annotations in it. (If the build system enables annotations
|
2018-05-03 11:56:54 +00:00
|
|
|
# for plugins by default). I have not tested this yet, but I think
|
|
|
|
# that it should be OK.
|
2018-04-30 15:33:05 +00:00
|
|
|
cp plugin/.libs/annobin.so.0.0.0 %{_tmppath}/tmp-annobin.so
|
|
|
|
make -C plugin clean
|
|
|
|
make -C plugin CXXFLAGS="%{optflags} -fplugin=%{_tmppath}/tmp-annobin.so"
|
|
|
|
rm %{_tmppath}/tmp-annobin.so
|
|
|
|
|
2018-05-03 11:56:54 +00:00
|
|
|
#---------------------------------------------------------------------------------
|
2017-10-03 13:48:09 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
2018-01-26 16:17:03 +00:00
|
|
|
%{__rm} -f %{buildroot}%{_infodir}/dir
|
2017-07-27 13:58:31 +00:00
|
|
|
|
2018-05-03 11:56:54 +00:00
|
|
|
#---------------------------------------------------------------------------------
|
|
|
|
|
2017-09-21 12:39:01 +00:00
|
|
|
%if %{with tests}
|
2017-10-03 13:48:09 +00:00
|
|
|
%check
|
2017-09-21 12:39:01 +00:00
|
|
|
make check
|
|
|
|
%endif
|
|
|
|
|
2018-05-03 11:56:54 +00:00
|
|
|
#---------------------------------------------------------------------------------
|
|
|
|
|
2017-07-27 13:58:31 +00:00
|
|
|
%files
|
|
|
|
%{ANNOBIN_PLUGIN_DIR}
|
2018-05-31 15:10:11 +00:00
|
|
|
%{_bindir}/built-by
|
|
|
|
%{_bindir}/check-abi
|
|
|
|
%{_bindir}/hardened
|
|
|
|
%{_bindir}/run-on-binaries-in
|
2017-07-27 13:58:31 +00:00
|
|
|
%license COPYING3 LICENSE
|
|
|
|
%exclude %{_datadir}/doc/annobin-plugin/COPYING3
|
|
|
|
%exclude %{_datadir}/doc/annobin-plugin/LICENSE
|
|
|
|
%doc %{_datadir}/doc/annobin-plugin/annotation.proposal.txt
|
2018-01-26 12:33:58 +00:00
|
|
|
%doc %{_infodir}/annobin.info.gz
|
2018-04-20 15:52:49 +00:00
|
|
|
%doc %{_mandir}/man1/annobin.1.gz
|
|
|
|
%doc %{_mandir}/man1/built-by.1.gz
|
|
|
|
%doc %{_mandir}/man1/check-abi.1.gz
|
|
|
|
%doc %{_mandir}/man1/hardened.1.gz
|
2018-08-02 08:51:33 +00:00
|
|
|
%doc %{_mandir}/man1/run-on-binaries-in.1.gz
|
2017-07-27 13:58:31 +00:00
|
|
|
|
2018-06-06 16:25:49 +00:00
|
|
|
%if %{with annocheck}
|
|
|
|
%{_bindir}/annocheck
|
|
|
|
%doc %{_mandir}/man1/annocheck.1.gz
|
|
|
|
%endif
|
|
|
|
|
2017-09-21 12:39:01 +00:00
|
|
|
#---------------------------------------------------------------------------------
|
2018-05-03 11:56:54 +00:00
|
|
|
|
2017-07-27 13:58:31 +00:00
|
|
|
%changelog
|
2018-08-07 14:21:37 +00:00
|
|
|
* Tue Aug 07 2018 Nick Clifton <nickc@redhat.com> - 8.21-1
|
|
|
|
- Fix bug in annobin plugin. Add --section-size=NAME option to annocheck.
|
|
|
|
|
2018-08-02 13:01:05 +00:00
|
|
|
* Thu Aug 2 2018 Peter Robinson <pbrobinson@fedoraproject.org> 8.20-2
|
|
|
|
- rebuild for new gcc
|
|
|
|
|
2018-08-02 08:51:33 +00:00
|
|
|
* Thu Aug 02 2018 Nick Clifton <nickc@redhat.com> - 8.20-1
|
|
|
|
- Correct name of man page for run-on-binaries-in script. (#1611155)
|
|
|
|
|
2018-07-25 10:25:11 +00:00
|
|
|
* Wed Jul 25 2018 Nick Clifton <nickc@redhat.com> - 8.19-1
|
|
|
|
- Allow $ORIGN to be at the start of entries in DT_RPATH and DT_RUNPATH.
|
|
|
|
|
|
|
|
* Mon Jul 23 2018 Nick Clifton <nickc@redhat.com> - 8.18-1
|
|
|
|
- Add support for big endian targets.
|
|
|
|
|
2018-07-23 15:23:55 +00:00
|
|
|
* Mon Jul 23 2018 Nick Clifton <nickc@redhat.com> - 8.17-1
|
|
|
|
- Count passes and failures on a per-component basis and report gaps.
|
|
|
|
|
2018-07-20 11:57:43 +00:00
|
|
|
* Fri Jul 20 2018 Nick Clifton <nickc@redhat.com> - 8.16-1
|
|
|
|
- Use our own copy of the targetm.asm_out.function_section() function. (#159861 comment#17)
|
|
|
|
|
|
|
|
* Fri Jul 20 2018 Nick Clifton <nickc@redhat.com> - 8.15-1
|
2018-07-20 09:50:18 +00:00
|
|
|
- Generate grouped note section name all the time. (#159861 comment#16)
|
|
|
|
|
2018-07-19 11:25:41 +00:00
|
|
|
* Thu Jul 19 2018 Nick Clifton <nickc@redhat.com> - 8.14-1
|
|
|
|
- Fix section conflict problem. (#1603071)
|
|
|
|
|
2018-07-18 14:24:48 +00:00
|
|
|
* Wed Jul 18 2018 Nick Clifton <nickc@redhat.com> - 8.13-1
|
|
|
|
- Fix for building with gcc version 4.
|
|
|
|
- Fix symbol placement in functions with local assembler.
|
|
|
|
|
2018-07-17 17:06:21 +00:00
|
|
|
* Tue Jul 17 2018 Nick Clifton <nickc@redhat.com> - 8.12-1
|
|
|
|
- Fix assertions in rnage checking code. Add detection of -U options.
|
|
|
|
|
2018-07-17 15:04:01 +00:00
|
|
|
* Tue Jul 17 2018 Nick Clifton <nickc@redhat.com> - 8.11-1
|
|
|
|
- Handle function sections properly. Handle .text.startup and .text.unlikely sections. Improve gap detection and reporting. (#1601055)
|
|
|
|
|
2018-07-12 20:14:26 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 8.10-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-07-12 09:08:04 +00:00
|
|
|
* Thu Jul 12 2018 Nick Clifton <nickc@redhat.com> - 8.10-1
|
|
|
|
- Fix construction of absolute versions of --dwarf-dir and --debug-rpm options.
|
|
|
|
|
2018-07-11 08:27:49 +00:00
|
|
|
* Tue Jul 10 2018 Nick Clifton <nickc@redhat.com> - 8.9-1
|
|
|
|
- Fix buffer overrun when very long symbol names are encountered.
|
|
|
|
|
2018-07-10 09:12:15 +00:00
|
|
|
* Tue Jul 10 2018 Nick Clifton <nickc@redhat.com> - 8.8-1
|
|
|
|
- Do not force the generation of function notes when -ffunction-sections is active. (#1598961)
|
|
|
|
|
2018-07-09 16:23:41 +00:00
|
|
|
* Mon Jul 09 2018 Nick Clifton <nickc@redhat.com> - 8.7-1
|
|
|
|
- Skip the .annobin_ prfix when reporting symbols. (#1599315)
|
|
|
|
|
2018-07-09 11:42:06 +00:00
|
|
|
* Mon Jul 09 2018 Nick Clifton <nickc@redhat.com> - 8.6-1
|
|
|
|
- Use the assembler (c++ mangled) version of function names when switching sections. (#1598579)
|
|
|
|
|
2018-07-09 11:22:24 +00:00
|
|
|
* Mon Jul 09 2018 Nick Clifton <nickc@redhat.com> - 8.5-1
|
|
|
|
- Do not call function_section. (#1598961)
|
|
|
|
|
2018-07-06 11:23:12 +00:00
|
|
|
* Fri Jul 06 2018 Nick Clifton <nickc@redhat.com> - 8.4-1
|
|
|
|
- Ignore cross-section gaps. (#1598551)
|
|
|
|
|
2018-07-05 09:53:33 +00:00
|
|
|
* Thu Jul 05 2018 Nick Clifton <nickc@redhat.com> - 8.3-1
|
2018-07-12 09:08:04 +00:00
|
|
|
- Do not skip empty range notes in object files. (#1598361)
|
2018-07-05 09:53:33 +00:00
|
|
|
|
2018-07-02 13:20:53 +00:00
|
|
|
* Mon Jul 02 2018 Nick Clifton <nickc@redhat.com> - 8.2-1
|
|
|
|
- Create the start symbol at the start of the function and the end symbol at the end. (#1596823)
|
|
|
|
|
2018-07-02 10:58:23 +00:00
|
|
|
* Mon Jul 02 2018 Nick Clifton <nickc@redhat.com> - 8.1-1
|
|
|
|
- Fix --debug-rpm when used inside a directory.
|
|
|
|
|
2018-06-28 12:20:24 +00:00
|
|
|
* Thu Jun 28 2018 Nick Clifton <nickc@redhat.com> - 8.0-1
|
|
|
|
- Use a prefix for all annobin generated symbols, and make them hidden.
|
|
|
|
- Only generate weak symbol definitions for linkonce sections.
|
|
|
|
|
2018-06-27 13:55:35 +00:00
|
|
|
* Wed Jun 27 2018 Nick Clifton <nickc@redhat.com> - 7.1-1
|
|
|
|
- Skip some checks for relocatable object files, and dynamic objects.
|
|
|
|
- Stop bogus complaints about stackrealignment not being enabled.
|
|
|
|
|
2018-06-25 15:38:03 +00:00
|
|
|
* Mon Jun 25 2018 Nick Clifton <nickc@redhat.com> - 7.0-1
|
|
|
|
- Add -debug-rpm= option to annocheck.
|
|
|
|
- Only use a 2 byte offset for the initial symbol on PowerPC.
|
|
|
|
|
2018-06-22 14:35:18 +00:00
|
|
|
* Fri Jun 22 2018 Nick Clifton <nickc@redhat.com> - 6.6-1
|
|
|
|
- Use --dwarf-path when looking for build-id based debuginfo files.
|
|
|
|
|
2018-06-22 10:15:40 +00:00
|
|
|
* Fri Jun 22 2018 Nick Clifton <nickc@redhat.com> - 6.5-1
|
|
|
|
- Fix premature closing of dwarf handle.
|
|
|
|
|
2018-06-22 09:46:17 +00:00
|
|
|
* Fri Jun 22 2018 Nick Clifton <nickc@redhat.com> - 6.4-1
|
|
|
|
- Fix scoping bug computing the name of a separate debuginfo file.
|
|
|
|
|
2018-06-19 14:42:03 +00:00
|
|
|
* Tue Jun 19 2018 Nick Clifton <nickc@redhat.com> - 6.3-1
|
|
|
|
- Fix file descriptor leak.
|
|
|
|
|
2018-06-19 13:49:31 +00:00
|
|
|
* Tue Jun 19 2018 Nick Clifton <nickc@redhat.com> - 6.2-1
|
|
|
|
- Add command line options to annocheck to disable individual tests.
|
|
|
|
|
2018-06-08 10:36:47 +00:00
|
|
|
* Fri Jun 08 2018 Nick Clifton <nickc@redhat.com> - 6.1-1
|
|
|
|
- Remove C99-ism from annocheck sources.
|
|
|
|
|
2018-06-06 16:25:49 +00:00
|
|
|
* Wed Jun 06 2018 Nick Clifton <nickc@redhat.com> - 6.0-1
|
|
|
|
- Add the annocheck program.
|
|
|
|
|
2018-06-01 14:08:25 +00:00
|
|
|
* Fri Jun 01 2018 Nick Clifton <nickc@redhat.com> - 5.11-1
|
|
|
|
- Do not use the SHF_GNU_BUILD_NOTE section flag.
|
|
|
|
|
2018-05-31 15:10:11 +00:00
|
|
|
* Thu May 31 2018 Nick Clifton <nickc@redhat.com> - 5.10-1
|
|
|
|
- Remove .sh extension from shell scripts.
|
|
|
|
|
2018-05-30 11:08:39 +00:00
|
|
|
* Wed May 30 2018 Nick Clifton <nickc@redhat.com> - 5.9-1
|
|
|
|
- Record the setting of the -mstackrealign option for i686 binaries.
|
|
|
|
|
2018-05-14 16:28:20 +00:00
|
|
|
* Mon May 14 2018 Nick Clifton <nickc@redhat.com> - 5.8-1
|
|
|
|
- Hide the annobin start of file symbol.
|
|
|
|
|
2018-05-08 12:29:58 +00:00
|
|
|
* Tue May 08 2018 Nick Clifton <nickc@redhat.com> - 5.7-1
|
|
|
|
- Fix script bug in hardended.sh. (Thanks to: Stefan Sørensen <stefan.sorensen@spectralink.com>)
|
|
|
|
|
2018-05-03 11:56:54 +00:00
|
|
|
* Thu May 03 2018 Nick Clifton <nickc@redhat.com> - 5.6-3
|
|
|
|
- Version number bump so that the plugin can be rebuilt with the latest version of GCC.
|
|
|
|
|
2018-04-30 15:33:05 +00:00
|
|
|
* Mon Apr 30 2018 Nick Clifton <nickc@redhat.com> - 5.6-2
|
|
|
|
- Rebuild the plugin with the newly created plugin enabled. (#1573082)
|
|
|
|
|
2018-04-30 09:30:15 +00:00
|
|
|
* Mon Apr 30 2018 Nick Clifton <nickc@redhat.com> - 5.6-1
|
|
|
|
- Skip the isa_flags check in the ABI test because the crt[in].o files are compiled with different flags from the test files.
|
|
|
|
|
2018-04-20 15:52:49 +00:00
|
|
|
* Fri Apr 20 2018 Nick Clifton <nickc@redhat.com> - 5.3-1
|
|
|
|
- Add manual pages for annobin and the scripts.
|
|
|
|
|
2018-04-03 15:16:48 +00:00
|
|
|
* Tue Apr 03 2018 Nick Clifton <nickc@redhat.com> - 5.2-1
|
|
|
|
- Do not record a stack protection setting of -1. (#1563141)
|
|
|
|
|
2018-03-20 11:33:13 +00:00
|
|
|
* Tue Mar 20 2018 Nick Clifton <nickc@redhat.com> - 5.1-1
|
|
|
|
- Do not complain about a dwarf_version value of -1. (#1557511)
|
|
|
|
|
2018-03-15 17:10:38 +00:00
|
|
|
* Thu Mar 15 2018 Nick Clifton <nickc@redhat.com> - 5.0-1
|
|
|
|
- Bias file start symbols by 2 in order to avoid them confused with function symbols. (#1554332)
|
|
|
|
- Version jump is to sync the version number with the annobin plugins internal version number.
|
|
|
|
|
2018-03-12 12:55:40 +00:00
|
|
|
* Mon Mar 12 2018 Nick Clifton <nickc@redhat.com> - 3.6-1
|
|
|
|
- Add --ignore-gaps option to check-abi.sh script.
|
|
|
|
- Use this option in the abi-test check.
|
|
|
|
- Tweak hardening test to skip pic and stack protection checks.
|
|
|
|
|
2018-03-06 11:22:26 +00:00
|
|
|
* Tue Mar 06 2018 Nick Clifton <nickc@redhat.com> - 3.5-1
|
|
|
|
- Handle functions with specific assembler names. (#1552018)
|
|
|
|
|
2018-02-23 10:34:14 +00:00
|
|
|
* Fri Feb 23 2018 Nick Clifton <nickc@redhat.com> - 3.4-2
|
|
|
|
- Add an explicit requirement on the version of gcc used to built the plugin. (#1547260)
|
|
|
|
|
2018-02-09 09:00:08 +00:00
|
|
|
* Fri Feb 09 2018 Nick Clifton <nickc@redhat.com> - 3.4-1
|
|
|
|
- Change type and size of symbols to STT_NOTYPE/0 so that they do not confuse GDB. (#1539664)
|
|
|
|
- Add run-on-binaries-in.sh script to allow the other scripts to be run over a repository.
|
|
|
|
|
2018-02-07 02:18:06 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-30 16:33:00 +00:00
|
|
|
* Tue Jan 30 2018 Nick Clifton <nickc@redhat.com> - 3.3-1
|
|
|
|
- Rebase on 3.3 release, which adds support for recording -mcet and -fcf-protection.
|
|
|
|
|
2018-01-29 13:03:52 +00:00
|
|
|
* Mon Jan 29 2018 Florian Weimer <fweimer@redhat.com> - 3.2-3
|
|
|
|
- Rebuild for GCC 8
|
|
|
|
|
2018-01-26 16:17:03 +00:00
|
|
|
* Fri Jan 26 2018 Nick Clifton <nickc@redhat.com> - 3.2-2
|
|
|
|
- Fix the installation of the annobin.info file.
|
|
|
|
|
2018-01-26 12:33:58 +00:00
|
|
|
* Fri Jan 26 2018 Nick Clifton <nickc@redhat.com> - 3.2-1
|
|
|
|
- Rebase on 3.2 release, which now contains documentation!
|
|
|
|
|
2018-01-26 09:45:52 +00:00
|
|
|
* Fri Jan 26 2018 Richard W.M. Jones <rjones@redhat.com> - 3.1-3
|
|
|
|
- Rebuild against GCC 7.3.1.
|
|
|
|
|
2018-01-16 17:48:21 +00:00
|
|
|
* Tue Jan 16 2018 Nick Clifton <nickc@redhat.com> - 3.1-2
|
|
|
|
- Add --with-gcc-plugin-dir option to the configure command line.
|
|
|
|
|
2018-01-04 10:05:29 +00:00
|
|
|
* Thu Jan 04 2018 Nick Clifton <nickc@redhat.com> - 3.1-1
|
|
|
|
- Rebase on version 3.1 sources.
|
|
|
|
|
2017-12-11 10:36:08 +00:00
|
|
|
* Mon Dec 11 2017 Nick Clifton <nickc@redhat.com> - 2.5.1-5
|
|
|
|
- Do not generate notes when there is no output file. (#1523875)
|
|
|
|
|
|
|
|
* Fri Dec 08 2017 Nick Clifton <nickc@redhat.com> - 2.5.1-4
|
2017-12-08 11:11:14 +00:00
|
|
|
- Invent an input filename when reading from a pipe. (#1523401)
|
|
|
|
|
2017-11-30 17:53:24 +00:00
|
|
|
* Thu Nov 30 2017 Florian Weimer <fweimer@redhat.com> - 2.5.1-3
|
|
|
|
- Use DECL_ASSEMBLER_NAME for symbol references (#1519165)
|
|
|
|
|
2017-10-03 13:48:47 +00:00
|
|
|
* Tue Oct 03 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.5.1-2
|
|
|
|
- Cleanups in spec
|
|
|
|
|
2017-10-03 13:49:30 +00:00
|
|
|
* Tue Sep 26 2017 Nick Clifton <nickc@redhat.com> - 2.5.1-1
|
2017-09-26 12:59:20 +00:00
|
|
|
- Touch the auto-generated files in order to stop them from being regenerated.
|
|
|
|
|
2017-10-03 13:49:30 +00:00
|
|
|
* Tue Sep 26 2017 Nick Clifton <nickc@redhat.com> - 2.5-2
|
2017-09-26 11:33:04 +00:00
|
|
|
- Stop the plugin complaining about compiler datestamp mismatches.
|
|
|
|
|
2017-10-03 13:49:30 +00:00
|
|
|
* Thu Sep 21 2017 Nick Clifton <nickc@redhat.com> - 2.4-1
|
2017-09-21 13:31:48 +00:00
|
|
|
- Tweak tests so that they will run on older machines.
|
|
|
|
|
2017-10-03 13:49:30 +00:00
|
|
|
* Thu Sep 21 2017 Nick Clifton <nickc@redhat.com> - 2.3-1
|
2017-09-21 12:39:01 +00:00
|
|
|
- Add annobin-tests subpackage containing some preliminary tests.
|
|
|
|
- Remove link-time test for unsuported targets.
|
|
|
|
|
2017-08-02 17:35:45 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-31 06:34:29 +00:00
|
|
|
* Mon Jul 31 2017 Florian Weimer <fweimer@redhat.com> - 2.0-2
|
|
|
|
- Rebuild with binutils fix for ppc64le (#1475636)
|
|
|
|
|
2017-10-03 13:49:30 +00:00
|
|
|
* Wed Jun 28 2017 Nick Clifton <nickc@redhat.com> - 2.0-1
|
2017-07-27 13:58:31 +00:00
|
|
|
- Fixes for problems reported by the package submission review:
|
|
|
|
* Add %%license entry to %%file section.
|
|
|
|
* Update License and BuildRequires tags.
|
|
|
|
* Add Requires tag.
|
|
|
|
* Remove %%clean.
|
|
|
|
* Add %%check.
|
|
|
|
* Clean up the %%changelog.
|
|
|
|
- Update to use version 2 of the specification and sources.
|
|
|
|
|
2017-10-03 13:49:30 +00:00
|
|
|
* Thu May 11 2017 Nick Clifton <nickc@redhat.com> - 1.0-1
|
2017-07-27 13:58:31 +00:00
|
|
|
- Initial submission.
|