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

Subversion Repositories open8_urisc

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 159 khays
        .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

powered by: WebSVN 2.1.0

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