summaryrefslogtreecommitdiff
path: root/include/elf
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2007-10-25 15:20:24 +0000
committerDaniel Jacobowitz <dan@debian.org>2007-10-25 15:20:24 +0000
commit5b2074776a615e1cce113edea8cd53d365b3793f (patch)
treebd0241bdb6cfb245198a58f754d42bb10cf88eb8 /include/elf
parent7bcf5c618eb75a3dd6358f69c106d29ae600cf0a (diff)
downloadgdb-5b2074776a615e1cce113edea8cd53d365b3793f.tar.gz
* elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for
Tag_GNU_Power_ABI_Vector. * readelf.c (display_power_gnu_attribute): Add support for Tag_GNU_Power_ABI_Vector. * ppc.h (Tag_GNU_Power_ABI_Vector): New. * ld-powerpc/attr-gnu-8-1.s, ld-powerpc/attr-gnu-8-11.d, ld-powerpc/attr-gnu-8-2.s, ld-powerpc/attr-gnu-8-23.d, ld-powerpc/attr-gnu-8-3.s, ld-powerpc/attr-gnu-8-31.d: New. * ld-powerpc/powerpc.exp: Run new tests.
Diffstat (limited to 'include/elf')
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/ppc.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index e8e12ac5092..a9a1e12fba8 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,7 @@
+2007-10-25 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * ppc.h (Tag_GNU_Power_ABI_Vector): New.
+
2007-10-19 Nick Clifton <nickc@redhat.com>
* mn10300.h: Add R_MN10300_SYM_DIFF reloc.
diff --git a/include/elf/ppc.h b/include/elf/ppc.h
index fe48814d86f..5d4462b0694 100644
--- a/include/elf/ppc.h
+++ b/include/elf/ppc.h
@@ -180,6 +180,11 @@ enum
soft-float; 0 for not tagged or not
using any ABIs affected by the
differences. */
+
+ /* Value 1 for general purpose registers only, 2 for AltiVec
+ registers, 3 for SPE registers; 0 for not tagged or not using any
+ ABIs affected by the differences. */
+ Tag_GNU_Power_ABI_Vector = 8,
};
#endif /* _ELF_PPC_H */