gas: xtensa: fix trampoline placement
authorMax Filippov <jcmvbkbc@gmail.com>
Sun, 11 Feb 2018 05:59:54 +0000 (21:59 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 13 Feb 2018 17:32:47 +0000 (09:32 -0800)
commitdb5d5ad16fb02ceb636ccef232ec846086c6cef3
tree27dd3c8fd404fd28a7f792e044bf8f6bb1e0a150
parent24b9144d4ba83d37751786b08b48ad62fb7aef26
gas: xtensa: fix trampoline placement

For jumps requiring multiple trampolines trampoline placement code may
place multiple sequential trampolines into the same frag. Don't do that.

gas/
2018-02-13  Max Filippov  <jcmvbkbc@gmail.com>

* config/tc-xtensa.c (xg_find_best_trampoline): Skip trampoline
frag that contains source address.
gas/ChangeLog
gas/config/tc-xtensa.c