x86: Cache section contents and relocations
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 14 Sep 2017 18:41:58 +0000 (11:41 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 14 Sep 2017 19:29:29 +0000 (12:29 -0700)
commit5e5e02aeca4a6edccbf11b5f900d95bba59b9932
tree75d5fa026dbb595fa819238129eb9cdb9e46b868
parent26e53f3eace35cabeec4559d417df99a48f6477a
x86: Cache section contents and relocations

bfd/

PR ld/22135
* elf32-i386.c (elf_i386_convert_load_reloc): Add an argument
to indicate if conversion is performed.
(elf_i386_check_relocs): Cache section contents and relocations
if conversion is performed.
* elf64-x86-64.c (elf_x86_64_check_relocs): Cache section
contents and relocations if conversion is performed.

ld/

PR ld/22135
* testsuite/ld-i386/i386.exp: Run pr22135.
* testsuite/ld-x86-64/x86-64.exp: Likewise.
* testsuite/ld-i386/pr22135.d: New file.
* testsuite/ld-i386/pr22135.s: Likewise.
* testsuite/ld-x86-64/pr22135.d: Likewise.
* testsuite/ld-x86-64/pr22135.s: Likewise.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c
ld/ChangeLog
ld/testsuite/ld-i386/i386.exp
ld/testsuite/ld-i386/pr22135.d [new file with mode: 0644]
ld/testsuite/ld-i386/pr22135.s [new file with mode: 0644]
ld/testsuite/ld-x86-64/pr22135.d [new file with mode: 0644]
ld/testsuite/ld-x86-64/pr22135.s [new file with mode: 0644]
ld/testsuite/ld-x86-64/x86-64.exp
This page took 0.028144 seconds and 4 git commands to generate.