summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/i386/tlspic.d
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2005-05-09 15:41:47 +0000
committerJan Beulich <jbeulich@novell.com>2005-05-09 15:41:47 +0000
commit0526cae91292aa68417bcfa6e4da97913d68595c (patch)
tree57322d525ef6a6cce270bae76614ad25f380b2af /gas/testsuite/gas/i386/tlspic.d
parenta04b006aa302f5c0f907b3ce89cad76a7d3e3376 (diff)
downloadbinutils-redhat-0526cae91292aa68417bcfa6e4da97913d68595c.tar.gz
gas/
2005-05-09 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (optimize_disp): Discard displacement entirely when zero and not required by encoding constraints. gas/testsuite/ 2005-05-09 Jan Beulich <jbeulich@novell.com> * gas/i386/tlsd.[sd]: Adjust to not assume zero displacement will actually be present in memory addressing. * gas/i386/tlspic.[sd]: Likewise.
Diffstat (limited to 'gas/testsuite/gas/i386/tlspic.d')
-rw-r--r--gas/testsuite/gas/i386/tlspic.d6
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/testsuite/gas/i386/tlspic.d b/gas/testsuite/gas/i386/tlspic.d
index fbe83a47c4..bd5dbb7bac 100644
--- a/gas/testsuite/gas/i386/tlspic.d
+++ b/gas/testsuite/gas/i386/tlspic.d
@@ -1,5 +1,5 @@
#objdump: -dr
-#name: i386 non-pic tls
+#name: i386 pic tls
.*: +file format .*
@@ -15,12 +15,12 @@ Disassembly of section .text:
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: 8d 76 00 [ ]*lea 0x0\(%esi\),%esi
+ 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: 8d 76 00 [ ]*lea 0x0\(%esi\),%esi
+ 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