Blame SOURCES/elfutils-0.176-pt-gnu-prop.patch

727b53
diff --git a/src/elflint.c b/src/elflint.c
727b53
index 810c8bd..1acf1bc 100644
727b53
--- a/src/elflint.c
727b53
+++ b/src/elflint.c
727b53
@@ -4483,8 +4483,13 @@ only executables, shared objects, and core files can have program headers\n"));
727b53
 	  continue;
727b53
 	}
727b53
 
727b53
+#ifndef PT_GNU_PROPERTY
727b53
+#define PT_GNU_PROPERTY (PT_LOOS + 0x474e553)
727b53
+#endif
727b53
+
727b53
       if (phdr->p_type >= PT_NUM && phdr->p_type != PT_GNU_EH_FRAME
727b53
 	  && phdr->p_type != PT_GNU_STACK && phdr->p_type != PT_GNU_RELRO
727b53
+	  && phdr->p_type != PT_GNU_PROPERTY
727b53
 	  /* Check for a known machine-specific type.  */
727b53
 	  && ebl_segment_type_name (ebl, phdr->p_type, NULL, 0) == NULL)
727b53
 	ERROR (gettext ("\