diff options
author | Jakub Jelinek <jakub@redhat.com> | 2002-10-01 10:43:37 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2002-10-01 10:43:37 +0000 |
commit | 7c445aa3c80222dfc679ab112c864d674b805ec3 (patch) | |
tree | d2a5cc64d387f4bf51ad2c854946c0ae9abd5cb9 /bfd/elf32-i386.c | |
parent | abcf1d5247efcdfec46b9a0b5a268fdf65b3fdb0 (diff) | |
download | gdb-7c445aa3c80222dfc679ab112c864d674b805ec3.zip gdb-7c445aa3c80222dfc679ab112c864d674b805ec3.tar.gz gdb-7c445aa3c80222dfc679ab112c864d674b805ec3.tar.bz2 |
bfd/
* elf32-i386.c (elf_i386_relocate_section): Fix
movl foo@indntpoff, %eax IE->LE transition.
ld/testsuite/
* ld-i386/i386.exp: Add tlsindntpoff test.
* ld-i386/tlsindntpoff.s: New test.
* ld-i386/tlsindntpoff.dd: New test.
Diffstat (limited to 'bfd/elf32-i386.c')
-rw-r--r-- | bfd/elf32-i386.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c index 6bd277e..87e1e76 100644 --- a/bfd/elf32-i386.c +++ b/bfd/elf32-i386.c @@ -2625,7 +2625,7 @@ elf_i386_relocate_section (output_bfd, info, input_bfd, input_section, if (val == 0xa1) { /* movl foo, %eax. */ - bfd_put_8 (output_bfd, 0xb8, contents + rel->r_offset - 2); + bfd_put_8 (output_bfd, 0xb8, contents + rel->r_offset - 1); } else if (type == 0x8b) { |