OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [gold/] [testsuite/] [arm_thm_jump11.s] - Blame information for rev 159

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 159 khays
# arm_thm_jump11.s
2
# Test R_ARM_THM_JUMP11 relocations just within the branch range limits.
3
        .syntax unified
4
        .arch   armv5te
5
 
6
        .section        .text.pre,"x"
7
 
8
# Add padding so that target is just in branch range.
9
        .space  8
10
 
11
        .global _backward_target
12
        .code   16
13
        .thumb_func
14
        .type   _backword_target, %function
15
_backward_target:
16
        bx      lr
17
        .size   _backward_target, .-_backward_target
18
 
19
        .text
20
 
21
# Define _start so that linker does not complain.
22
        .global _start
23
        .code   32
24
        .align  2
25
        .type   _start, %function
26
_start:
27
        bx      lr
28
        .size   _start, .-_start
29
 
30
        .global _backward_test
31
        .code   16
32
        .thumb_func
33
        .type   _backward_test, %function
34
_backward_test:
35
        b.n     _backward_target
36
        .size   _backward_test, .-_backward_test
37
 
38
        .global _forward_test
39
        .code   16
40
        .thumb_func
41
        .type   _forward_test, %function
42
_forward_test:
43
        b.n     _forward_target
44
        .size   _forward_test, .-_forward_test
45
 
46
        .section        .text.post,"x"
47
 
48
# Add padding so that target is just in branch range.
49
        .space  8
50
 
51
        .global _forward_target
52
        .code   16
53
        .thumb_func
54
        .type   _forward_target, %function
55
_forward_target:
56
        bx      lr
57
        .size   _forward_target, .-_forward_target

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.