gas: extract xg_relax_trampoline from xtensa_relax_frag
authorMax Filippov <jcmvbkbc@gmail.com>
Fri, 20 Oct 2017 23:23:28 +0000 (16:23 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 27 Nov 2017 23:10:49 +0000 (15:10 -0800)
commit120bc8b8b91cba4a8d4092ea0fb3d76bcbe98712
tree738f660438e3ba7a6783d0ff36a4ad2fa762266c
parent10329bb27fa5531bf97da184c4d0ed9c4ed85605
gas: extract xg_relax_trampoline from xtensa_relax_frag

To make measurement and changes easier extract trampoline relaxation
function. No functional changes.

gas/
2017-11-27  Max Filippov  <jcmvbkbc@gmail.com>

* config/tc-xtensa.c (xg_relax_trampoline): New function.
(xtensa_relax_frag): Replace trampoline relaxation code with a
call to xg_relax_trampoline.
gas/ChangeLog
gas/config/tc-xtensa.c