aboutsummaryrefslogtreecommitdiff
path: root/include/elf/ppc.h
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@codesourcery.com>2008-10-10 20:55:36 +0000
committerNathan Froyd <froydnj@codesourcery.com>2008-10-10 20:55:36 +0000
commitf82e0623e15e6331a6cb5e7a2c6334cf5ae75ec9 (patch)
tree826b65789b90c112eda67bd4eda2d22d1c6eeb57 /include/elf/ppc.h
parentc764a876984ebfc21f3635693aebeee4e8d9d0f3 (diff)
downloadgdb-f82e0623e15e6331a6cb5e7a2c6334cf5ae75ec9.zip
gdb-f82e0623e15e6331a6cb5e7a2c6334cf5ae75ec9.tar.gz
gdb-f82e0623e15e6331a6cb5e7a2c6334cf5ae75ec9.tar.bz2
include/elf/
* ppc.h: Add Tag_GNU_Power_ABI_Struct_Return. bfd/ * elf32-ppc.c (ppc_elf_merge_obj_attributes): Merge Tag_GNU_Power_ABI_Struct_Return. binutils/ * readelf.c (display_power_gnu_attribute): Decode Tag_GNU_Power_ABI_Struct_Return. ld/testsuite/ * ld-powerpc/gnu-attr-12-1.s: New file. * ld-powerpc/gnu-attr-12-2.s: New file. * ld-powerpc/gnu-attr-12-11.d: New file. * ld-powerpc/gnu-attr-12-21.d: New file. * ld-powerpc/powerpc.exp: Run new dump 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 95cccce..a0c16f1 100644
--- a/include/elf/ppc.h
+++ b/include/elf/ppc.h
@@ -186,6 +186,11 @@ enum
registers, 3 for SPE registers; 0 for not tagged or not using any
ABIs affected by the differences. */
Tag_GNU_Power_ABI_Vector = 8,
+
+ /* Value 1 for ABIs using r3/r4 for returning structures <= 8 bytes,
+ 2 for ABIs using memory; 0 for not tagged or not using any ABIs
+ affected by the differences. */
+ Tag_GNU_Power_ABI_Struct_Return = 12
};
#endif /* _ELF_PPC_H */