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
gas/
[binutils.git]
/
gold
/
testsuite
/
arm_unaligned_reloc.s
blob
7677bff3733d24f6c1e9527740f938a39e40e3f0
1
.syntax unified
2
3
.global _start
4
.type _start, %function
5
.text
6
_start
:
7
bx
lr
8
.size _start,.-_start
9
10
.section .data.0,
"aw"
,%progbits
11
.align 12
12
.type x, %object
13
.size x, 4
14
x
:
15
.word 1
16
17
.section .data.1,
"aw"
,%progbits
18
.align 2
19
20
# This causes following relocations to be unaligned.
21
.global padding
22
.type padding, %object
23
.size padding, 1
24
padding
:
25
.byte 0
26
27
.global abs32
28
.type abs32, %object
29
.size abs32, 4
30
abs32
:
31
.word x
32
33
.global rel32
34
.type rel32, %object
35
.size rel32, 4
36
rel32
:
37
.word x - .
38
39
.global abs16
40
.type abs16, %object
41
.size abs16, 2
42
abs16
:
43
.short x
44
.short 0