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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [ld/] [testsuite/] [ld-ifunc/] [ifunc-10-i386.s] - Blame information for rev 84

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

Line No. Rev Author Line
1 70 khays
        .section .text.foo,"ax",@progbits
2
        .type foo, @function
3
foo:
4
        .global foo
5
        movl ifunc@GOT(%ecx), %eax
6
        movl ifunc@GOTOFF(%ecx), %eax
7
        call ifunc@PLT
8
        call ifunc
9
        movl xxx@GOT(%ecx), %eax
10
        movl xxx, %eax
11
        ret
12
 
13
        .section .text.bar,"ax",@progbits
14
        .type bar, @function
15
bar:
16
        .global bar
17
        ret
18
 
19
        .section .text.ifunc,"ax",@progbits
20
        .type ifunc, @gnu_indirect_function
21
ifunc:
22
        ret
23
 
24
        .section .data.foo,"aw",@progbits
25
xxx:
26
        .long ifunc

powered by: WebSVN 2.1.0

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