i386.exp: Add -z noseparate-code
[external/binutils.git] / ld / testsuite / ld-i386 / pr20253-2c.S
1         .text
2         .globl  get_func1
3         .type   get_func1, @function
4 get_func1:
5         movl    func1@GOT, %eax
6         ret
7         .size   get_func1, .-get_func1
8         .globl  call_func1
9         .type   call_func1, @function
10 call_func1:
11         jmp     *func1@GOT
12         .size   call_func1, .-call_func1
13         .globl  func1_p
14 #ifdef CHECK_PLT
15         .section        .rodata,"a",@progbits
16 #else
17         .section        .data.rel,"aw",@progbits
18 #endif
19         .align 4
20         .type   func1_p, @object
21         .size   func1_p, 4
22 func1_p:
23         .long   func1
24         .section        .note.GNU-stack,"",@progbits