commit | 64711f9a47d4defa90417f5e8db8ed0060bc3275 | [log] [tgz] |
---|---|---|
author | Max Filippov <jcmvbkbc@gmail.com> | Wed Dec 19 19:48:37 2018 -0800 |
committer | Max Filippov <jcmvbkbc@gmail.com> | Thu Dec 20 14:44:38 2018 -0800 |
tree | 78a9fbb468c6b667ea99b57e6563689792b285d3 | |
parent | af5395c214c15c18de3decf2229373a8c88c4fde [diff] |
xtensa: implement jump_label support Use 3-byte 'nop' and 'j' instructions that are always present. Don't let assembler mark a spot right after patchable 'j' instruction as unreachable and later put literals or padding bytes there. Add separate implementations of patch_text for SMP and UP cases, avoiding use of atomics on UP. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>