~ubuntu-branches/ubuntu/utopic/binutils-arm64-cross/utopic

« back to all changes in this revision

Viewing changes to binutils-2.23.52.20130611/ld/testsuite/ld-aarch64/ifunc-12.s

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-06-20 17:38:09 UTC
  • Revision ID: package-import@ubuntu.com-20130620173809-app8lzgvymy5fg6c
Tags: 0.7
Build-depend on binutils-source (>= 2.23.52.20130620-1~).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
        .section .text.foo,"ax",@progbits
 
2
        .type foo, @function
 
3
foo:
 
4
        adrp    x0, :got:ifunc
 
5
        ldr     x0, [x0, #:got_lo12:ifunc]
 
6
        bl ifunc
 
7
        adrp    x0, xxx
 
8
        add     x0, x0, :lo12:xxx
 
9
        ret
 
10
 
 
11
        .section .text.bar,"ax",@progbits
 
12
        .type bar, @function
 
13
bar:
 
14
        .global bar
 
15
        ret
 
16
 
 
17
        .section .text.ifunc,"ax",@progbits
 
18
        .type ifunc, @gnu_indirect_function
 
19
ifunc:
 
20
        ret
 
21
 
 
22
        .section .data.foo,"aw",@progbits
 
23
xxx:
 
24
        .quad ifunc