x86: Add TLS_TRANSITION_IE_TO_LE_P
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 6 Oct 2017 07:11:41 +0000 (00:11 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 6 Oct 2017 07:13:52 +0000 (00:13 -0700)
commit51537393bd939e79f6e9291629fb65a17e6f19da
treee6b819c200346bc2a01540226ee74d36fffa3b17
parente98fdf1ab07243fe467caadd0d033b44b8ca20c7
x86: Add TLS_TRANSITION_IE_TO_LE_P

Add TLS_TRANSITION_IE_TO_LE_P which returns TRUE if TLS IE->LE transition
is OK.

* elfxx-x86.h (TLS_TRANSITION_IE_TO_LE_P): New.
* elf32-i386.c (elf_i386_tls_transition): Use it.
* elf64-x86-64.c (elf_x86_64_tls_transition): Likewise.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c
bfd/elfxx-x86.h