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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [tic54x/] [align.s] - Blame information for rev 856

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

Line No. Rev Author Line
1 38 julius
* alignment directives
2
* .even == .align 1, .even 2 == longword boundary
3
* .align [size]  ; size is number of words (value must be a power of 2)
4
* NOTE: .even is broken on TI tools, so theirs won't align .data
5
* NOTE: TI defaults text section to DATA until opcodes are seen
6
* NOTE: GAS will fill a section to its alignment; it should probably not
7
* in this case.
8
        .global even, align2, align8, align128
9
        .field  2, 3
10
        .field  11, 8
11
        .word   0x1, 0x2
12
        .even
13
even    .word   0x3
14
        .align  2
15
align2  .string "abcde"
16
        .align  8
17
align8  .word   8
18
        .word   0,1,2,3,4,5,6,7
19
        .align
20
align128 .byte  4
21
        .word   0,1,2,3,4,5,6,7
22
* TI .text section total size is 0x89 words; GAS fills to 0xc0
23
* no, it doesn't fill post 2002-05-23 write.c change since we don't define
24
# HANDLE_ALIGN or SUB_SEGMENT_ALIGN.
25
        .data
26
        .field  2, 3
27
        .field  11, 8
28
        .word   0x1, 0x2
29
        .even
30
        .word   0x3
31
        .end

powered by: WebSVN 2.1.0

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