diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-02-13 13:44:17 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-02-13 13:44:29 -0800 |
commit | 292676c15a615b5a95bede9ee91004d3f7ee7dfd (patch) | |
tree | e793712b02ffb7817f7ee7ccd2c320e2609115fa /bfd/elf32-mt.c | |
parent | feacfcacaac9f7e62f467a33c4ae54c56501ed18 (diff) | |
download | gdb-292676c15a615b5a95bede9ee91004d3f7ee7dfd.zip gdb-292676c15a615b5a95bede9ee91004d3f7ee7dfd.tar.gz gdb-292676c15a615b5a95bede9ee91004d3f7ee7dfd.tar.bz2 |
x86: Resolve PLT32 reloc aganst local symbol to section
Since PLT entry isn't needed for branch to local symbol, we can resolve
R_386_PLT32/R_X86_64_PLT32 relocation aganst local symbol to section,
similar to R_386_PC32/R_X86_64_PC32.
2020-02-13 Fangrui Song <maskray@google.com>
H.J. Lu <hongjiu.lu@intel.com>
PR gas/25551
* config/tc-i386.c (tc_i386_fix_adjustable): Don't check
BFD_RELOC_386_PLT32 nor BFD_RELOC_X86_64_PLT32.
* testsuite/gas/i386/i386.exp: Run relax-5 and x86-64-relax-4.
* testsuite/gas/i386/relax-5.d: New file.
* testsuite/gas/i386/relax-5.s: Likewise.
* testsuite/gas/i386/x86-64-relax-4.d: Likewise.
* testsuite/gas/i386/x86-64-relax-4.s: Likewise.
Diffstat (limited to 'bfd/elf32-mt.c')
0 files changed, 0 insertions, 0 deletions