Move UNDEFWEAK_NO_DYNAMIC_RELOC to elf-bfd.h
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 14 Oct 2017 17:19:30 +0000 (10:19 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 14 Oct 2017 17:20:30 +0000 (10:20 -0700)
commit62cd30f167be56e68cb0a37789d400b47bbdbc6c
treeff8b437aa7a573a8e62b50b96b25a8d6d32ef846
parent824dfcc311958af08c25d29956da2bab99e240c9
Move UNDEFWEAK_NO_DYNAMIC_RELOC to elf-bfd.h

Move UNDEFWEAK_NO_DYNAMIC_RELOC to elf-bfd.h so that it can be used by
other ELF linker backends.

* elf32-ppc.c (UNDEFWEAK_NO_DYNAMIC_RELOC): Moved to ...
* elf-bfd.h (UNDEFWEAK_NO_DYNAMIC_RELOC): Here.
* elf64-ppc.c (UNDEFWEAK_NO_DYNAMIC_RELOC): Removed.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf32-ppc.c
bfd/elf64-ppc.c