x86: Add GENERATE_RELATIVE_RELOC_P
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 6 Oct 2017 07:29:16 +0000 (00:29 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 6 Oct 2017 07:32:43 +0000 (00:32 -0700)
commitf70656b2604eff12cea2e9bef27c1e00a3077f30
tree7af723e29d43739bfa8ade510660da0c24f337ba
parent1f92404c505db7ca2255dad73647889234013a0a
x86: Add GENERATE_RELATIVE_RELOC_P

Add GENERATE_RELATIVE_RELOC_P which returns TRUE if dynamic relative
relocation should be generated.

* elfxx-x86.h (GENERATE_RELATIVE_RELOC_P): New.
* elf32-i386.c (elf_i386_relocate_section): Use it.
* elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c
bfd/elfxx-x86.h
This page took 0.025612 seconds and 4 git commands to generate.