aboutsummaryrefslogtreecommitdiff
path: root/include/elf/ppc.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2007-06-30 00:03:40 +0000
committerJoseph Myers <joseph@codesourcery.com>2007-06-30 00:03:40 +0000
commit34c8bcbae2e6ea0752c1ebe6e1282cc74a821957 (patch)
tree0681992a1200b9024ba536d903485f4157840067 /include/elf/ppc.h
parent89ebe6973393e6e0721c0c131c4abf2661fbe56c (diff)
downloadgdb-34c8bcbae2e6ea0752c1ebe6e1282cc74a821957.zip
gdb-34c8bcbae2e6ea0752c1ebe6e1282cc74a821957.tar.gz
gdb-34c8bcbae2e6ea0752c1ebe6e1282cc74a821957.tar.bz2
bfd:
* elf32-ppc.c (ppc_elf_merge_obj_attributes): New. (ppc_elf_merge_private_bfd_data): Call it. binutils: * readelf.c (display_power_gnu_attribute, process_power_specific): New. (process_arch_specific): Call process_power_specific. include/elf: * ppc.h (Tag_GNU_Power_ABI_FP): Define. ld/testsuite: * ld-powerpc/attr-gnu-4-0.s, ld-powerpc/attr-gnu-4-00.d, ld-powerpc/attr-gnu-4-01.d, ld-powerpc/attr-gnu-4-02.d, ld-powerpc/attr-gnu-4-1.s, ld-powerpc/attr-gnu-4-10.d, ld-powerpc/attr-gnu-4-11.d, ld-powerpc/attr-gnu-4-12.d, ld-powerpc/attr-gnu-4-13.d, ld-powerpc/attr-gnu-4-2.s, ld-powerpc/attr-gnu-4-20.d, ld-powerpc/attr-gnu-4-21.d, ld-powerpc/attr-gnu-4-22.d, ld-powerpc/attr-gnu-4-3.s, ld-powerpc/attr-gnu-4-31.d: New. * ld-powerpc/powerpc.exp: Run these new tests.
Diffstat (limited to 'include/elf/ppc.h')
-rw-r--r--include/elf/ppc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/elf/ppc.h b/include/elf/ppc.h
index ca50352..fe48814 100644
--- a/include/elf/ppc.h
+++ b/include/elf/ppc.h
@@ -171,4 +171,15 @@ END_RELOC_NUMBERS (R_PPC_max)
builds when those objects \
are not to be furhter \
relocated. */
+
+/* Object attribute tags. */
+enum
+{
+ /* 0-3 are generic. */
+ Tag_GNU_Power_ABI_FP = 4, /* Value 1 for hard-float, 2 for
+ soft-float; 0 for not tagged or not
+ using any ABIs affected by the
+ differences. */
+};
+
#endif /* _ELF_PPC_H */