x86: Move GOT_TLS_* in elf32-i386.c to elfxx-x86.h
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 2 Sep 2017 11:52:00 +0000 (04:52 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 2 Sep 2017 11:52:15 +0000 (04:52 -0700)
commit6b9553e2a5d2ba0e43d0bdf382bbc6b5011032a1
tree7b30fd6ebf58846cfc90d245969c23354663d36a
parent1fa4ec6ae707402c6b61cde33cfe4bdeafd53f82
x86: Move GOT_TLS_* in elf32-i386.c to elfxx-x86.h

elf64-x86-64.c can use GOT_TLS_* definitions in elf32-i386.c with
GOT_TLS_IE_POS, GOT_TLS_IE_NEG and GOT_TLS_IE_BOTH unused.

* elf32-i386.c (GOT_TLS_IE, GOT_TLS_IE_POS, GOT_TLS_IE_NEG,
GOT_TLS_IE_BOTH, GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P,
GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): Moved to ...
* elfxx-x86.h (GOT_TLS_IE, GOT_TLS_IE_POS, GOT_TLS_IE_NEG,
GOT_TLS_IE_BOTH, GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P,
GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): Here.
* elf64-x86-64.c (GOT_TLS_IE, GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P,
GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): Removed.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c
bfd/elfxx-x86.h