]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - include/elf/common.h
elf: Add GNU_PROPERTY_1_NEEDED
[thirdparty/binutils-gdb.git] / include / elf / common.h
index 0cca28673dd63afd1c3eb821b1810fb3f2186e0a..0d381f0d27be5b818a79dfea8293a0bc9a62012a 100644 (file)
 #define GNU_PROPERTY_UINT32_OR_LO      0xb0008000
 #define GNU_PROPERTY_UINT32_OR_HI      0xb000ffff
 
+/* The needed properties by the object file.  */
+#define GNU_PROPERTY_1_NEEDED          GNU_PROPERTY_UINT32_OR_LO
+
+/* Set if the object file requires canonical function pointers and
+   cannot be used with copy relocation.  */
+#define GNU_PROPERTY_1_NEEDED_INDIRECT_EXTERN_ACCESS   (1U << 0)
+
 /* Processor-specific semantics, lo */
 #define GNU_PROPERTY_LOPROC  0xc0000000
 /* Processor-specific semantics, hi */