summaryrefslogtreecommitdiff
path: root/include/elf/ppc.h
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/ppc.h
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/ppc.h')
-rw-r--r--include/elf/ppc.h5
1 files changed, 5 insertions, 0 deletions
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 */