repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Automatic date update in version.in
[binutils-gdb.git]
/
ld
/
testsuite
/
ld-mips-elf
/
compressed-plt-1a.s
blob
ad2ae7922f3563d4519b4682483e7d861645a901
1
# Define a function with all "compressed" (dc, bc and ic) references.
2
3
.abicalls
4
.option pic0
5
6
.include
"compressed-plt-1.s"
7
8
.macro test_one, name, types
9
.if (\types) & DC
10
jal
\n
ame
11
nop
12
.if micromips
13
.ifdef o32
14
j
\n
ame
15
nop
16
.endif
17
.endif
18
.endif
19
.if (\types) & BC
20
.if micromips
21
bal
\n
ame
22
nop
23
.endif
24
.ifdef o32
25
b
\n
ame
26
nop
27
.endif
28
.endif
29
.if (\types) & IC
30
lw $
2
, %
call16
(
\n
ame
)(
$
3
)
31
.endif
32
.endm
33
34
.if micromips
35
.set micromips
36
.else
37
.set mips16
38
.endif
39
40
.section .text.a,
"ax"
, @progbits
41
.globl testc
42
.ent testc
43
.set noreorder
44
testc
:
45
test_all
46
jr $
31
47
.end testc