aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/unwind-3.d
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2009-05-05 14:18:30 +0000
committerPaul Brook <paul@codesourcery.com>2009-05-05 14:18:30 +0000
commit2468f9c95d416f2880a007190d3bf6c475d279c2 (patch)
treeabc67d2909c8e50810239b241dba5d1021c602d8 /ld/testsuite/ld-arm/unwind-3.d
parentfb14de7bbddf9dc2f97af953b95b5aa5ea9889c4 (diff)
downloadbinutils-2468f9c95d416f2880a007190d3bf6c475d279c2.zip
binutils-2468f9c95d416f2880a007190d3bf6c475d279c2.tar.gz
binutils-2468f9c95d416f2880a007190d3bf6c475d279c2.tar.bz2
2009-05-05 Paul Brook <paul@codesourcery.com>
bfd/ * bfd-in.h (elf32_arm_fix_exidx_coverage): Add prototype. * bfd-in2.h: Regenerate. * elf32-arm.c (arm_unwind_edit_type, arm_unwind_table_edit): Define. (_arm_elf_section_data): Add text and exidx fields. (add_unwind_table_edit, get_arm_elf_section_data, adjust_exidx_size, insert_cantunwind_after, elf32_arm_fix_exidx_coverage, offset_prel31, copy_exidx_entry): New functions. (elf32_arm_write_section): Fixup .ARM.exidx contents. ld/ * emultempl/armelf.em (compare_output_sec_vma): New function. (gld${EMULATION_NAME}_finish): Add exidx munging code. ld/testsuite/ * ld-arm/arm.ld: Add .ARM.exidx and .ARM.extab. * ld-arm/arm-elf.exp: Add unwind-[1-4]. * ld-arm/unwind-1.d: New test. * ld-arm/unwind-1.s: New test. * ld-arm/unwind-2.d: New test. * ld-arm/unwind-2.s: New test. * ld-arm/unwind-3.d: New test. * ld-arm/unwind-3.s: New test. * ld-arm/unwind-4.d: New test. * ld-arm/unwind-4.s: New test.
Diffstat (limited to 'ld/testsuite/ld-arm/unwind-3.d')
-rw-r--r--ld/testsuite/ld-arm/unwind-3.d11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/unwind-3.d b/ld/testsuite/ld-arm/unwind-3.d
new file mode 100644
index 0000000..0b8e85e
--- /dev/null
+++ b/ld/testsuite/ld-arm/unwind-3.d
@@ -0,0 +1,11 @@
+#ld: -T arm.ld
+#objdump: -s
+
+.*: file format.*
+
+#...
+Contents of section .ARM.exidx:
+ 800c (f4ffff7f b0b0a880 f0ffff7f 01000000|7ffffff4 80a8b0b0 7ffffff0 00000001) .*
+ 801c (ecffff7f b0b0a880 e8ffff7f 01000000|7fffffec 80a8b0b0 7fffffe8 00000001) .*
+Contents of section .far:
+#...