aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386
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/ld-i386
parent12321cc6f6184348b72d4721132bf48473214c2f (diff)
downloadfsf-binutils-gdb-ebcfb3c00f9dbe8ff32866d851a50f4d1b18ac56.zip
fsf-binutils-gdb-ebcfb3c00f9dbe8ff32866d851a50f4d1b18ac56.tar.gz
fsf-binutils-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/ld-i386')
-rw-r--r--ld/testsuite/ld-i386/tlsbin.dd2
1 files changed, 1 insertions, 1 deletions
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 *