summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChao-ying Fu <fu@mips.com>2013-10-14 18:37:05 +0000
committerChao-ying Fu <fu@mips.com>2013-10-14 18:37:05 +0000
commita1033cd03ad1a81d33911eb61728d0562630e235 (patch)
tree02b82ab270cfab71b69f7443369db50cfe23ad6f
parent171be7e7b7ad49e73e19c91c114b54fbb197adeb (diff)
downloadbinutils-redhat-a1033cd03ad1a81d33911eb61728d0562630e235.tar.gz
2013-10-14 Chao-ying Fu <Chao-ying.Fu@imgtec.com>
* mips.h (enum): Add Tag_GNU_MIPS_ABI_MSA. (enum): Add Val_GNU_MIPS_ABI_MSA_ANY and Val_GNU_MIPS_ABI_MSA_128.
-rw-r--r--include/elf/ChangeLog5
-rw-r--r--include/elf/mips.h11
2 files changed, 16 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 59f806c5ef..c2577e8899 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,8 @@
+2013-10-14 Chao-ying Fu <Chao-ying.Fu@imgtec.com>
+
+ * mips.h (enum): Add Tag_GNU_MIPS_ABI_MSA.
+ (enum): Add Val_GNU_MIPS_ABI_MSA_ANY and Val_GNU_MIPS_ABI_MSA_128.
+
2013-09-17 Doug Gilmore <Doug.Gilmore@imgtec.com>
* mips.h (EF_MIPS_FP64): New e_flags bit.
diff --git a/include/elf/mips.h b/include/elf/mips.h
index a26e3f4f93..2c5a9a6214 100644
--- a/include/elf/mips.h
+++ b/include/elf/mips.h
@@ -1135,6 +1135,9 @@ enum
/* Floating-point ABI used by this object file. */
Tag_GNU_MIPS_ABI_FP = 4,
+
+ /* MSA ABI used by this object file. */
+ Tag_GNU_MIPS_ABI_MSA = 8,
};
/* Object attribute values. */
@@ -1156,6 +1159,14 @@ enum
/* Using -mips32r2 -mfp64. */
Val_GNU_MIPS_ABI_FP_64 = 4,
+
+ /* Values defined for Tag_GNU_MIPS_ABI_MSA. */
+
+ /* Not tagged or not using any ABIs affected by the differences. */
+ Val_GNU_MIPS_ABI_MSA_ANY = 0,
+
+ /* Using 128-bit MSA. */
+ Val_GNU_MIPS_ABI_MSA_128 = 1,
};
#endif /* _ELF_MIPS_H */