diff options
author | Nick Clifton <nickc@redhat.com> | 2007-11-28 13:04:18 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2007-11-28 13:04:18 +0000 |
commit | e23f1610289a9ba59e77cc214680d38aa7db9e13 (patch) | |
tree | c6b31554551fb99e3c380ef8296b6f48c6616526 /ld/testsuite/ld-mn10300/i135409-5.t | |
parent | e842223a72b42cb087d8ba304b7b31f5d2131568 (diff) | |
download | gdb-e23f1610289a9ba59e77cc214680d38aa7db9e13.zip gdb-e23f1610289a9ba59e77cc214680d38aa7db9e13.tar.gz gdb-e23f1610289a9ba59e77cc214680d38aa7db9e13.tar.bz2 |
* elf-m10300.c (mn10300_elf_relax_section): Extend previous fix to cover forward jumps.
* ld-mn10300/i135409-5.s: New test case. Check for relaxation to a 16-bit backward jump instruction.
* ld-mn10300/i135409-5.t: Linker script for the new test.
* ld-mn10300/i135409-5.d: Expected disassembly of new test.
* ld-mn10300/mn10300.exp: Run the new test.
Diffstat (limited to 'ld/testsuite/ld-mn10300/i135409-5.t')
-rw-r--r-- | ld/testsuite/ld-mn10300/i135409-5.t | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mn10300/i135409-5.t b/ld/testsuite/ld-mn10300/i135409-5.t new file mode 100644 index 0000000..8b42814 --- /dev/null +++ b/ld/testsuite/ld-mn10300/i135409-5.t @@ -0,0 +1,23 @@ +SECTIONS +{ + . = 0x0; + .text1 : + { + *(.text1) + } + + . = 0x700; + .text : + { + *(.text) + } + . = 0x8100; + .bss : + { + *(.bss) + } + .data : + { + *(.data) + } +} |