aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-tic6x/unwind-3.d
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2011-05-09 13:23:27 +0000
committerPaul Brook <paul@codesourcery.com>2011-05-09 13:23:27 +0000
commitfbd9ad907dc6a283dc1bec51ecd91355ac866949 (patch)
tree5da7ed5d318ae034a7cd45f359d151c445adadf2 /ld/testsuite/ld-tic6x/unwind-3.d
parent1bce6bd86f99b05ddc311eb34545165983ff8ddc (diff)
downloadgdb-fbd9ad907dc6a283dc1bec51ecd91355ac866949.zip
gdb-fbd9ad907dc6a283dc1bec51ecd91355ac866949.tar.gz
gdb-fbd9ad907dc6a283dc1bec51ecd91355ac866949.tar.bz2
2011-05-09 Paul Brook <paul@codesourcery.com>
bfd/ * bfd-in.h (elf32_tic6x_fix_exidx_coverage): Add prototype. * bfd-in2.h: Regenerate. * elf32-tic6x.c: Include limits.h. (tic6x_unwind_edit_type, tic6x_unwind_table_edit, _tic6x_elf_section_data): New. (elf32_tic6x_section_data): Define. (elf32_tic6x_new_section_hook): Allocate target specific data. (elf32_tic6x_add_unwind_table_edit): New function. (get_tic6x_elf_section_data, elf32_tic6x_adjust_exidx_size, elf32_tic6x_insert_cantunwind_after, elf32_tic6x_add_low31, elf32_tic6x_copy_exidx_entry): New functions. (elf_backend_write_section): Define. ld/ * emultempl/tic6xdsbt.em (merge_exidx_entries): New. (compare_output_sec_vma): New function. (gld${EMULATION_NAME}_after_allocation): New function. (OPTION_NO_MERGE_EXIDX_ENTRIES): Define. (PARSE_AND_LIST_OPTIONS): Add --no-merge-exidx-entries. (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_MERGE_EXIDX_ENTRIES. (LDEMUL_AFTER_ALLOCATION): Set. * ld.texinfo: Document c6x --no-merge-exidx-entries. ld/testsuite/ * ld-tic6x/discard-unwind.ld: New. * ld-tic6x/unwind.ld: New. * ld-tic6x/unwind-1.d: New test. * ld-tic6x/unwind-1.s: New test. * ld-tic6x/unwind-2.d: New test. * ld-tic6x/unwind-2.s: New test. * ld-tic6x/unwind-3.d: New test. * ld-tic6x/unwind-3.s: New test. * ld-tic6x/unwind-4.d: New test. * ld-tic6x/unwind-4.s: New test. * ld-tic6x/unwind-5.d: New test. * ld-tic6x/unwind-5.s: New test. * ld-tic6x/unwind-6.d: New test.
Diffstat (limited to 'ld/testsuite/ld-tic6x/unwind-3.d')
-rw-r--r--ld/testsuite/ld-tic6x/unwind-3.d11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-tic6x/unwind-3.d b/ld/testsuite/ld-tic6x/unwind-3.d
new file mode 100644
index 0000000..9ec69a0
--- /dev/null
+++ b/ld/testsuite/ld-tic6x/unwind-3.d
@@ -0,0 +1,11 @@
+#ld: -T unwind.ld
+#objdump: -s
+
+.*: file format.*
+
+#...
+Contents of section .c6xabi.exidx:
+ 9000 (00f8ff7f 07020083 1cf8ff7f 01000000|7ffff800 83000207 7ffff81c 00000001) .*
+ 9010 (38f8ff7f 07040083 54f8ff7f 01000000|7ffff838 82000407 7ffff854 00000001) .*
+Contents of section .far:
+#...