]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-i386/tlsindntpoff.s
This commit was manufactured by cvs2svn to create branch 'binutils-
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-i386 / tlsindntpoff.s
1 /* Force .got aligned to 4K, so it very likely gets at 0x804a100
2 (0x60 bytes .tdata and 0xa0 bytes .dynamic) */
3 .data
4 .balign 4096
5 .section ".tdata", "awT", @progbits
6 .globl foo
7 foo: .long 27
8
9 /* Force .text aligned to 4K, so it very likely gets at 0x8049000. */
10 .text
11 .balign 4096
12 .globl _start
13 .type _start,@function
14 _start:
15 cmp %ebx, %eax
16 jae 1f
17 movl foo@indntpoff, %eax
18 movl %gs:(%eax), %eax
19 1: ret