aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/s390.h15
2 files changed, 17 insertions, 2 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index e4e094b..a30b2de 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,7 @@
+2015-04-27 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
+
+ * s390.h: Define Tag_GNU_S390_ABI_Vector.
+
2015-04-24 Alan Modra <amodra@gmail.com>
* internal.h (ELF_SECTION_IN_SEGMENT_1): Ensure PT_LOAD and
diff --git a/include/elf/s390.h b/include/elf/s390.h
index 0642d2e..57bbadd 100644
--- a/include/elf/s390.h
+++ b/include/elf/s390.h
@@ -129,6 +129,17 @@ START_RELOC_NUMBERS (elf_s390_reloc_type)
RELOC_NUMBER (R_390_GNU_VTENTRY, 251)
END_RELOC_NUMBERS (R_390_max)
-#endif /* _ELF_390_H */
-
+/* Object attribute tags. */
+enum
+{
+ /* 0-3 are generic. */
+ /* 4 is reserved for the FP ABI. */
+
+ /* Vector ABI:
+ 0 = not affected by the vector ABI, or not tagged.
+ 1 = software vector ABI being used
+ 2 = hardware vector ABI being used. */
+ Tag_GNU_S390_ABI_Vector = 8,
+};
+#endif /* _ELF_390_H */