import annobin-12.31-2.el9

c9-beta imports/c9-beta/annobin-12.31-2.el9
MSVSphere Packaging Team 10 months ago
parent 5fdf913f98
commit 70d5fefdff

@ -1 +1 @@
06ad882c9b6c564ed856b64e517777246a08c4b7 SOURCES/annobin-11.05.tar.xz
07f5617e6d0f8cb6c3efd66004e38f9081e6b8f5 SOURCES/annobin-12.31.tar.xz

2
.gitignore vendored

@ -1 +1 @@
SOURCES/annobin-11.05.tar.xz
SOURCES/annobin-12.31.tar.xz

@ -0,0 +1,36 @@
--- annobin.orig/gcc-plugin/annobin.cc 2024-01-17 14:00:26.889983192 +0000
+++ annobin-12.31/gcc-plugin/annobin.cc 2024-01-17 14:01:27.517055850 +0000
@@ -3261,18 +3261,24 @@ plugin_init (struct plugin_name_args *
target_start_sym_bias = annobin_target_start_symbol_bias ();
if (annobin_attach_type == not_set)
{
- /* Choose a default attachment type. Link ordering is preferable
- as it is more resistant to changes in compiler section building.
- But it can only be used if the target assembler supports link_order sections
- and the target linker is sufficiently new that it implements them correctly.
- For now we use a test of the GCC version as an approximation to the binutils
- versions that are needed. (Note - 2.35.2, as used by RHEL-9, is insufficient).
- See BZ 2016458 for an example of where this solution is needed. */
+ if (annobin_note_format == string)
+ /* String format notes do not need section groups. */
+ annobin_attach_type = none;
+ else
+ {
+ /* Choose a default attachment type. Link ordering is preferable
+ as it is more resistant to changes in compiler section building.
+ But it can only be used if the target assembler supports link_order sections
+ and the target linker is sufficiently new that it implements them correctly.
+ For now we use a test of the GCC version as an approximation to the binutils
+ versions that are needed. (Note - 2.35.2, as used by RHEL-9, is insufficient).
+ See BZ 2016458 for an example of where this solution is needed. */
#if GCCPLUGIN_VERSION_MAJOR >= 12
- annobin_attach_type = link_order;
+ annobin_attach_type = link_order;
#else
- annobin_attach_type = group;
+ annobin_attach_type = group;
#endif
+ }
}
annobin_inform (INFORM_VERBOSE, "Attach mode: %s", attach_mode_name (annobin_attach_type));

@ -1,9 +1,9 @@
Name: annobin
Summary: Annotate and examine compiled binary files
Version: 11.05
Release: 1%{?dist}
License: GPLv3+
Version: 12.31
Release: 2%{?dist}
License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later
# Maintainer: nickc@redhat.com
# Web Page: https://sourceware.org/annobin/
# Watermark Protocol: https://fedoraproject.org/wiki/Toolchain/Watermark
@ -62,7 +62,7 @@ Source: https://nickc.fedorapeople.org/%{annobin_sources}
%global annobin_source_dir %{_usrsrc}/annobin
# Insert patches here, if needed. Eg:
# Patch01: annobin-foo.patch
Patch01: annobin-strings-no-attach.patch
#---------------------------------------------------------------------------------
@ -366,6 +366,79 @@ exit $res
#---------------------------------------------------------------------------------
%changelog
* Wed Jan 17 2024 Nick Clifron <nickc@redhat.com> - 12.31-2
- GCC Plugin: Do not use section groups with string notes. (RHEL-21772)
* Wed Nov 15 2023 Nick Clifron <nickc@redhat.com> - 12.31-1
- Update glibc detection heuristics for PPC64. (RHEL-16453)
- Fix another atexit test failure. (#2247481)
- Fix atexit test failure.
- Notes: Add support for string format notes.
* Mon Oct 09 2023 Nick Clifton <nickc@redhat.com> - 12.28-1
- Tests: Fix obsoleted syntax in plans/ci.fmf (RHEL-12194)
- Spec File: Use SPDX licensing.
- GCC Plugin: Record settings of -Wstrict-flex-arrays and -fstrict-flex-arrays
- Annobin: Add future test of these options.
- GCC Plugin: Record settings of -Wimplicit-int and -Wimplicit-function-declaration.
- Annobin: Add test for these warnings.
- LLVM Plugin: Fix building with LLVM version 17.
- GCC Plugin: Enable string note format by default.
- Annocheck: Change GO FIPS test to look for CGO_ENABLED markers.
- Annocheck: Add test for FIPS compliant GO binaries.
- Annocheck: Fix double free. (#2226749)
- Annocheck: Ignore AArch64 $x and $d symbols. (#2221192)
- GCC Plugin: Suppress active checks for fortran sources. Improve scanning of COLLECT_GCC_OPTIONS.
- Annocheck: Remove dependency upon binutils-devel.
- Annocheck: Add detection of known parts of libstdc++-nonshared.a that contain gaps. (#2217864)
- Annocheck: Ignore weak/undef function symbols when checking to see if a binary contains code. (#2217840)
- Annocheck: Add --suppress-version-warnings option.
- Annocheck: Do not ignore separate debuginfo files that do not contain any DWARF. (#2144553)
- Annocheck: Ignore /dev/null filename in string notes.
- Annocheck: More tweaks to glibc detection heuristics. (#2215968)
* Wed Jun 14 2023 Nick Clifton <nickc@redhat.com> - 12.12-1
- Rebuild against LLVM-16. (#2212739)
- Annocheck: Check for string notes in separate debug info files. (#2211694)
- Annocheck: Add support for el10 and rhel-10 profiles. (RHEL-526)
- Annocheck: Suppress more tests for Rust binaries.
* Wed Apr 26 2023 Nick Clifton <nickc@redhat.com> - 12.09-1
- Annocheck: Fix detection of missing plugin options. (#2189492)
- Fix generation of auto-generated files.
- Fix covscan reported errors.
* Mon Apr 24 2023 Nick Clifton <nickc@redhat.com> - 12.07-1
- Annocheck: Fix lto testing. (#2177140)
- gcc-plugin: generate warnings about misspelt -D_FORTIFY_SOURCE and/or -D_GLIBCXX_ASSERTIONS options.
- gcc-plugin: use a bigger buffer for constructing notes.
- llvm-plugin: Fix detection of optimization level. Improve test.
- clang-plugin: Improve test.
- configure: More improvements.
- annocheck: Fix seg-fault when checking for glibc components in string format notes.
- configure: Simplify.
- gcc plugin: Add filenames to string notes. Allow use of ANNOBIN environment variable.
- llvm plugin: Add workaround for building with LLVM-16.
- clang plugin: Fix for building with Clang-16.
- gcc plugin: Keep ELF notes at protocol version 3.
- Protocol Version 4: String format notes.
- Annocheck: Update message for LTO tests. (#2177140)
* Thu Mar 09 2023 Nick Clifton <nickc@redhat.com> - 11.13-1
- Annocheck: Add more code to handle another glibc function built without LTO.
* Mon Mar 06 2023 Nick Clifton <nickc@redhat.com> - 11.12-1
- Annocheck: Add code to handle another glibc function built without LTO.
- GCC Plugin: Do not run if other plugins are active. (#2175768)
- Annocheck: Add code to handle glibc functions built without LTO.
- Libannocheck: Fix thinko in debugging code.
- Annocheck: Fix LTO test.
- Notes: Display notes held in separate dbeuginfo files.
- Annocheck: Fix atexit test. Fix recording of version numbers. (#2165528)
- LLVM & Clang Plugins: Build with branch protection on AArch64. (#2164364)
- Libannocheck: Fix bug causing infinite looping when running tests.
- Annocheck: Fix handling of file built by multiple versions of gcc. (#2160700)
* Mon Jan 09 2023 Nick Clifton <nickc@redhat.com> - 11.05-1
- Annocheck: Fix handling of empty files. (#2159292)

Loading…
Cancel
Save