repo.or.cz
/
binutils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Silence gcc printf warnings
[binutils.git]
/
ld
/
testsuite
/
ld-arm
/
thumb2-bl-bad.s
blob
7685860eeba302066ce091fab97756c9042b5352
1
@ Test to ensure that
a
Thumb-
2
BL
with an oversize offset makes the linker generate
a
stub.
2
3
.arch armv7
4
.global _start
5
.syntax unified
6
7
@ We will place the section
.text at 0x1000.
8
9
.text
10
.thumb_func
11
12
_start
:
13
bl
bar
14
15
@ We will place the section
.foo at 0x100100c.
16
17
.section .foo,
"xa"
18
.thumb_func
19
20
bar
:
21
bx
lr
22