commit
0acebbceec
10
binutils-gold-ignore-discarded-note-relocs.patch
Normal file
10
binutils-gold-ignore-discarded-note-relocs.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- binutils.orig/gold/target-reloc.h 2018-07-12 11:37:24.894494658 +0100
|
||||
+++ binutils-2.30.90/gold/target-reloc.h 2018-07-12 15:38:50.049083904 +0100
|
||||
@@ -136,6 +136,7 @@ class Default_comdat_behavior
|
||||
if (Layout::is_debug_info_section(name))
|
||||
return CB_PRETEND;
|
||||
if (strcmp(name, ".eh_frame") == 0
|
||||
+ || strncmp(name, ".gnu.build.attributes", 21) == 0 // FIXME: We should really be checking the section type for ST_NOTE...
|
||||
|| strcmp(name, ".gcc_except_table") == 0)
|
||||
return CB_IGNORE;
|
||||
return CB_ERROR;
|
||||
@ -1,7 +1,7 @@
|
||||
Summary: Binary utilities
|
||||
Name: binutils
|
||||
Version: 2.33.1
|
||||
Release: 2
|
||||
Release: 3
|
||||
License: GPLv3+
|
||||
URL: https://sourceware.org/binutils
|
||||
|
||||
@ -14,6 +14,8 @@ Patch03: binutils-2.22.52.0.4-no-config-h-check.patch
|
||||
#BUG:1452111
|
||||
Patch04: binutils-2.29-revert-PLT-elision.patch
|
||||
Patch05: binutils-2.27-aarch64-ifunc.patch
|
||||
#Stop gold from complaining about relocs
|
||||
Patch06: binutils-gold-ignore-discarded-note-relocs.patch
|
||||
|
||||
#PATCH-CVE-UPSTREAM
|
||||
Patch6009: CVE-2019-1010204.patch
|
||||
@ -313,6 +315,12 @@ fi
|
||||
%{_infodir}/bfd*info*
|
||||
|
||||
%changelog
|
||||
* Wed Jan 15 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.33.1-3
|
||||
- Type:bugfix
|
||||
- ID:CVE
|
||||
- SUG:NA
|
||||
- DESC:add patch to solve complaining about relocs in the .gnu.build.attribute
|
||||
|
||||
* Tue Jan 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.33.1-2
|
||||
- Type:bugfix
|
||||
- ID:CVE
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user