aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/attr-gnu-4-02.d
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 /ld/testsuite/ld-powerpc/attr-gnu-4-02.d
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 'ld/testsuite/ld-powerpc/attr-gnu-4-02.d')
-rw-r--r--ld/testsuite/ld-powerpc/attr-gnu-4-02.d10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-powerpc/attr-gnu-4-02.d b/ld/testsuite/ld-powerpc/attr-gnu-4-02.d
new file mode 100644
index 0000000..9bd42b5
--- /dev/null
+++ b/ld/testsuite/ld-powerpc/attr-gnu-4-02.d
@@ -0,0 +1,10 @@
+#source: attr-gnu-4-0.s
+#source: attr-gnu-4-2.s
+#as: -a32
+#ld: -r -melf32ppc
+#readelf: -A
+#target: powerpc*-*-*
+
+Attribute Section: gnu
+File Attributes
+ Tag_GNU_Power_ABI_FP: Soft float