From f58d6f365018511cf45ad26b324d15f4fe2be598 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 26 2020 14:00:20 +0000 Subject: import devtoolset-9-elfutils-0.176-6.el7 --- diff --git a/SOURCES/elfutils-0.176-pt-gnu-prop.patch b/SOURCES/elfutils-0.176-pt-gnu-prop.patch new file mode 100644 index 0000000..917765b --- /dev/null +++ b/SOURCES/elfutils-0.176-pt-gnu-prop.patch @@ -0,0 +1,18 @@ +diff --git a/src/elflint.c b/src/elflint.c +index 810c8bd..1acf1bc 100644 +--- a/src/elflint.c ++++ b/src/elflint.c +@@ -4483,8 +4483,13 @@ only executables, shared objects, and core files can have program headers\n")); + continue; + } + ++#ifndef PT_GNU_PROPERTY ++#define PT_GNU_PROPERTY (PT_LOOS + 0x474e553) ++#endif ++ + if (phdr->p_type >= PT_NUM && phdr->p_type != PT_GNU_EH_FRAME + && phdr->p_type != PT_GNU_STACK && phdr->p_type != PT_GNU_RELRO ++ && phdr->p_type != PT_GNU_PROPERTY + /* Check for a known machine-specific type. */ + && ebl_segment_type_name (ebl, phdr->p_type, NULL, 0) == NULL) + ERROR (gettext ("\ diff --git a/SPECS/elfutils.spec b/SPECS/elfutils.spec index 03e9471..fd32569 100644 --- a/SPECS/elfutils.spec +++ b/SPECS/elfutils.spec @@ -3,7 +3,7 @@ Name: %{?scl_prefix}elfutils Summary: A collection of utilities and DSOs to handle ELF files and DWARF data Version: 0.176 -%global baserelease 5 +%global baserelease 6 URL: http://elfutils.org/ %global source_url ftp://sourceware.org/pub/elfutils/%{version}/ License: GPLv3+ and (GPLv2+ or LGPLv3+) @@ -34,6 +34,7 @@ Patch1: elfutils-0.176-gcc-pr88835.patch Patch2: elfutils-0.176-xlate-note.patch Patch3: elfutils-0.176-elf-update.patch Patch4: elfutils-0.176-strip-symbols-illformed.patch +Patch5: elfutils-0.176-pt-gnu-prop.patch # DTS specific patches. Patch100: elfutils-0.176-dts.patch @@ -172,6 +173,7 @@ profiling) of processes. %patch2 -p1 -b .xlate-note %patch3 -p1 -b .elf-update %patch4 -p1 -b .strip-illformed +%patch5 -p1 -b .pt-gnu-prop # DTS specific patches @@ -343,6 +345,9 @@ fi %endif %changelog +* Wed Jan 22 2020 Mark Wielaard - 0.176-6 +- Add elfutils-0.176-gcc-pr88835.patch. + * Fri Jul 5 2019 Mark Wielaard - 0.176-5 - Add elfutils-0.176-strip-symbols-illformed.patch