Browse Source
* 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.insight_6_8-branch
7 changed files with 62 additions and 3 deletions
@ -0,0 +1,7 @@ |
|||
|
|||
tmpdir/i135409-5.x: file format elf32-.* |
|||
|
|||
Disassembly of section .text: |
|||
|
|||
0+0700 <_start>: |
|||
700:[ ]+cc 00 f9[ ]+jmp[ ]+0 \<L001\> |
|||
@ -0,0 +1,8 @@ |
|||
.text |
|||
.global _start |
|||
_start: |
|||
jmp L001 |
|||
|
|||
.section .text1 |
|||
L001: |
|||
nop |
|||
@ -0,0 +1,23 @@ |
|||
SECTIONS |
|||
{ |
|||
. = 0x0; |
|||
.text1 : |
|||
{ |
|||
*(.text1) |
|||
} |
|||
|
|||
. = 0x700; |
|||
.text : |
|||
{ |
|||
*(.text) |
|||
} |
|||
. = 0x8100; |
|||
.bss : |
|||
{ |
|||
*(.bss) |
|||
} |
|||
.data : |
|||
{ |
|||
*(.data) |
|||
} |
|||
} |
|||
Loading…
Reference in new issue