aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/i386/tlspic.d
blob: ccb292c3e68500fa45aa1cc859679753df430fad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#objdump: -dr
#name: i386 pic tls

.*: +file format .*

Disassembly of section .text:

0+000 <fn>:
   0:	55 [ 	]*push   %ebp
   1:	89 e5 [ 	]*mov    %esp,%ebp
   3:	53 [ 	]*push   %ebx
   4:	50 [ 	]*push   %eax
   5:	e8 00 00 00 00 [ 	]*call   a <fn\+0xa>
   a:	5b [ 	]*pop    %ebx
   b:	81 c3 03 00 00 00 [ 	]*add    \$0x3,%ebx
[ 	]+d: R_386_GOTPC	_GLOBAL_OFFSET_TABLE_
  11:	65 a1 00 00 00 00 [ 	]*mov    %gs:0x0,%eax
  17:	83 c6 00 [ 	]*add    \$0x0,%esi
  1a:	2b 83 00 00 00 00 [ 	]*sub    0x0\(%ebx\),%eax
[ 	]+1c: R_386_TLS_IE_32	foo
  20:	8b 83 00 00 00 00 [ 	]*mov    0x0\(%ebx\),%eax
[ 	]+22: R_386_TLS_GOTIE	foo
  26:	83 c6 00 [ 	]*add    \$0x0,%esi
  29:	65 8b 00 [ 	]*mov    %gs:\(%eax\),%eax
  2c:	65 8b 0d 00 00 00 00 [ 	]*mov    %gs:0x0,%ecx
  33:	03 8b 00 00 00 00 [ 	]*add    0x0\(%ebx\),%ecx
[ 	]+35: R_386_TLS_GOTIE	foo
  39:	8b 5d fc [ 	]*mov    -0x4\(%ebp\),%ebx
  3c:	c9 [ 	]*leave[ 	]*
  3d:	c3 [ 	]*ret[ 	]*