gcc: xtensa: delegitimize UNSPEC_PLT
commitb76415508692fc0bc85515a8215b874c7e215431
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 25 May 2020 02:41:13 +0000 (24 19:41 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Thu, 28 May 2020 01:42:37 +0000 (27 18:42 -0700)
tree03d260b0819731385acd7b1fd8c08c981faeb2cf
parentfe7ebef7fe4f9acb79658ed9db0749b07efc3105
gcc: xtensa: delegitimize UNSPEC_PLT

This fixes 'non-delegitimized UNSPEC 3 found in variable location' notes
issued when building libraries which interferes with running tests.

2020-05-27  Max Filippov  <jcmvbkbc@gmail.com>
gcc/
* config/xtensa/xtensa.c (xtensa_delegitimize_address): New
function.
(TARGET_DELEGITIMIZE_ADDRESS): New macro.
gcc/config/xtensa/xtensa.c