Re: Disable execstack and rwx segments warnings for MIPS targets.
[binutils-gdb.git] / ld / testsuite / ld-i386 / pr19031b.S
1 .text
2 .globl g
3 .type g, @function
4 g:
5 calll .Lfoo
6 .Lfoo:
7 popl %eax
8 .Lbar:
9 addl $_GLOBAL_OFFSET_TABLE_+(.Lbar-.Lfoo), %eax
10 movl f@GOT(%eax), %eax
11 ret
12
13 .globl h
14 .type h, @function
15 h:
16 leal zed, %eax
17 movl zed, %ebx
18 addl %ebx, %eax
19 ret
20
21 .data
22 zed:
23 .long f - .