import gcc-toolset-12-annobin-10.76-5.el8

This commit is contained in:
CentOS Sources 2022-09-27 09:46:53 -04:00 committed by Stepan Oksanichenko
commit 485a460680
5 changed files with 1732 additions and 0 deletions

View File

@ -0,0 +1 @@
e1906be7abdd1b63d6d71fe2206c3507b27787ac SOURCES/annobin-10.76.tar.xz

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
SOURCES/annobin-10.76.tar.xz

View File

@ -0,0 +1,11 @@
--- annobin.orig/gcc-plugin/annobin.cc 2022-06-15 11:55:16.777078303 +0100
+++ annobin-10.76/gcc-plugin/annobin.cc 2022-06-15 11:55:47.044923662 +0100
@@ -105,7 +105,7 @@ static uint annobin_active_che
/* Default to using section groups as the link-order
method needs a linker from binutils 2.36 or later. */
-attach_type annobin_attach_type = not_set;
+attach_type annobin_attach_type = group;
static const char * annobin_section_type = "%note";

12
SOURCES/annobin-nop.patch Normal file
View File

@ -0,0 +1,12 @@
diff -rup annobin.orig/gcc-plugin/annobin.cc annobin-10.64/gcc-plugin/annobin.cc
--- annobin.orig/gcc-plugin/annobin.cc 2022-04-06 12:55:02.350469755 +0100
+++ annobin-10.64/gcc-plugin/annobin.cc 2022-04-06 12:55:28.503296390 +0100
@@ -1851,7 +1851,7 @@ annobin_emit_start_sym_and_version_note
Ensure that we do not have empty special text sections so that the
annobin start symbols are never beyond the end of the sections. */
#ifndef ANNOBIN_NOP_INSN
-#define ANNOBIN_NOP_INSN ".nop"
+#define ANNOBIN_NOP_INSN "nop"
#endif
if (* suffix && enable_ppc64_nops)
annobin_emit_asm (ANNOBIN_NOP_INSN,

1707
SPECS/annobin.spec Normal file

File diff suppressed because it is too large Load Diff