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 | |
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')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-i386.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a005887..90d90d2 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ 2002-10-01 Jakub Jelinek <jakub@redhat.com> + * elf32-i386.c (elf_i386_relocate_section): Fix + movl foo@indntpoff, %eax IE->LE transition. + +2002-10-01 Jakub Jelinek <jakub@redhat.com> + * elf64-x86-64.c (elf64_x86_64_relocate_section): Change TLSGD sequence and its transitions. 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) { |