x86: Add COPY_INPUT_RELOC_P
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 6 Oct 2017 07:43:31 +0000 (00:43 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 6 Oct 2017 07:44:38 +0000 (00:44 -0700)
commite74399c47c76b8111651f41b52a05401852cf799
treefbb5f6b6bd0784f3e5177087b6112131d0b4174d
parentaebcc8ffd201adbee973b414818b01876dabe1a0
x86: Add COPY_INPUT_RELOC_P

Add COPY_INPUT_RELOC_P which returns TRUE if input relocation should
be copied to output.

* elfxx-x86.h (COPY_INPUT_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.02482 seconds and 4 git commands to generate.