diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-06 00:21:48 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-06 00:23:00 -0700 |
commit | daf1c414a48baf090f005ce4b319b6881d5d6872 (patch) | |
tree | 3813ba5466b90157df7f6ca27b1beb706b0f0902 /ld | |
parent | 51537393bd939e79f6e9291629fb65a17e6f19da (diff) | |
download | gdb-daf1c414a48baf090f005ce4b319b6881d5d6872.zip gdb-daf1c414a48baf090f005ce4b319b6881d5d6872.tar.gz gdb-daf1c414a48baf090f005ce4b319b6881d5d6872.tar.bz2 |
x86: Add NEED_DYNAMIC_RELOCATION_P
Add NEED_DYNAMIC_RELOCATION_P which returns TRUE if dynamic relocation
is needed.
* elf32-i386.c (X86_PCREL_TYPE_P): New.
(elf_i386_check_relocs): Use NEED_DYNAMIC_RELOCATION_P.
* elf64-x86-64.c (IS_X86_64_PCREL_TYPE): Renamed to ...
(X86_PCREL_TYPE_P): This.
(elf_x86_64_check_relocs): Use NEED_DYNAMIC_RELOCATION_P.
Replace IS_X86_64_PCREL_TYPE with X86_PCREL_TYPE_P.
(elf_x86_64_relocate_section): Replace IS_X86_64_PCREL_TYPE with
X86_PCREL_TYPE_P.
* elfxx-x86.h (NEED_DYNAMIC_RELOCATION_P): New.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions