]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/elfxx-x86.h
x86: Add VERIFY_COPY_RELOC
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 6 Oct 2017 07:50:12 +0000 (00:50 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 6 Oct 2017 07:51:40 +0000 (00:51 -0700)
commitff38b4cc55dade4c9970cac2149a946d5dc0adc7
tree6fbd0e348a7ea54ee89be918a589d5e630af7768
parentf3180fa9ee8917fa9547cd5f79c822761f5d87a0
x86: Add VERIFY_COPY_RELOC

Add VERIFY_COPY_RELOC to verify that symbol supports copy relocation.

* elfxx-x86.h (VERIFY_COPY_RELOC): New.
* elf32-i386.c (elf_i386_finish_dynamic_symbol): Use it.
* elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c
bfd/elfxx-x86.h