aarch64.c (aarch64_load_symref_appropriately): Handle SYMBOL_SMALL_TLSGD for ILP32.
authorNaveen H.S <Naveen.Hurugalawadi@cavium.com>
Thu, 8 Dec 2016 05:09:37 +0000 (05:09 +0000)
committerNaveen H.S <naveenh@gcc.gnu.org>
Thu, 8 Dec 2016 05:09:37 +0000 (05:09 +0000)
commit23b88fda665d2f995c73336f74dcf8931f5fdf71
treee5a02c3e4b0049d09f3bd3441bbe3e0f2dcc29a8
parent4ba8f0a3a4f8493a03b6229433728c49925e179f
aarch64.c (aarch64_load_symref_appropriately): Handle SYMBOL_SMALL_TLSGD for ILP32.

2016-12-08  Naveen H.S  <Naveen.Hurugalawadi@cavium.com>

gcc
* config/aarch64/aarch64.c (aarch64_load_symref_appropriately):
Handle SYMBOL_SMALL_TLSGD for ILP32.
* config/aarch64/aarch64.md : tlsgd_small modified into
tlsgd_small_<mode> to support SImode and DImode.
*tlsgd_small modified into *tlsgd_small_<mode> to support SImode and
DImode.

gcc/testsuite
* gcc.target/aarch64/pr78382.c : New Testcase.

From-SVN: r243428
gcc/ChangeLog
gcc/config/aarch64/aarch64.c
gcc/config/aarch64/aarch64.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/pr78382.c [new file with mode: 0644]