aboutsummaryrefslogtreecommitdiff
path: root/include/elf
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
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')
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/ppc.h11
2 files changed, 15 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index d690ad4..ba08331 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,5 +1,9 @@
2007-06-29 Joseph Myers <joseph@codesourcery.com>
+ * ppc.h (Tag_GNU_Power_ABI_FP): Define.
+
+2007-06-29 Joseph Myers <joseph@codesourcery.com>
+
* mips.h (Tag_GNU_MIPS_ABI_FP): Define.
2007-06-29 Joseph Myers <joseph@codesourcery.com>
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 */