aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-06-29 12:34:37 +0000
committerJakub Jelinek <jakub@redhat.com>2006-06-29 12:34:37 +0000
commitebcfb3c00f9dbe8ff32866d851a50f4d1b18ac56 (patch)
treec69ec387ea647af9337104dba1d8c3a751796d04 /ld/testsuite
parent12321cc6f6184348b72d4721132bf48473214c2f (diff)
downloadgdb-ebcfb3c00f9dbe8ff32866d851a50f4d1b18ac56.zip
gdb-ebcfb3c00f9dbe8ff32866d851a50f4d1b18ac56.tar.gz
gdb-ebcfb3c00f9dbe8ff32866d851a50f4d1b18ac56.tar.bz2
PR ld/2513
* elf32-i386.c (GOT_TLS_MASK, GOT_TLS_IE_IE, GOT_TLS_IE_GD, GOT_TLS_IE_MASK, elf_i386_check_relocs, allocate_dynrelocs): Revert 2006-04-08 changes. (elf_i386_relocate_section): Likewise. For GD->IE transition change subl into addl whenever tls_type is GOT_TLS_IE_POS. * ld-i386/tlsbin.dd: Fix expected output.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-i386/tlsbin.dd2
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index f65b95e..3d17ec6 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2006-06-29 Jakub Jelinek <jakub@redhat.com>
+
+ PR ld/2513
+ * ld-i386/tlsbin.dd: Fix expected output.
+
2006-06-21 Alan Modra <amodra@bigpond.net.au>
* ld-elf/tls_common.exp: Match 32-bit output.
diff --git a/ld/testsuite/ld-i386/tlsbin.dd b/ld/testsuite/ld-i386/tlsbin.dd
index 08a1f31..44af0f6 100644
--- a/ld/testsuite/ld-i386/tlsbin.dd
+++ b/ld/testsuite/ld-i386/tlsbin.dd
@@ -50,7 +50,7 @@ Disassembly of section .text:
# GD -> IE because variable is not defined in executable where
# the variable is referenced through @gotntpoff too
8049035: 65 a1 00 00 00 00[ ]+mov %gs:0x0,%eax
- 804903b: 2b 83 dc ff ff ff[ ]+sub 0xffffffdc\(%ebx\),%eax
+ 804903b: 03 83 dc ff ff ff[ ]+add 0xffffffdc\(%ebx\),%eax
# ->R_386_TLS_TPOFF sG3
8049041: 90[ ]+nop *
8049042: 90[ ]+nop *