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

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