summaryrefslogtreecommitdiff
path: root/test/dot_s/data-offset-folding.s
blob: 628646794819cf4f2b87d457c426131c24de2a66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
        .data
        .type   pad,@object
        .globl  pad
        .align  2
pad:
        .int32  0
        .type   arr,@object
        .globl  arr
        .align  4
arr:
        .zero   400
        .size   arr, 400

        .type   ptr,@object
        .globl  ptr
        .align  2
ptr:
        .int32  arr+80
        .size   ptr, 4