• Max Filippov's avatar
    xtensa: implement jump_label support · 64711f9a
    Max Filippov authored
    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: default avatarMax Filippov <jcmvbkbc@gmail.com>
    64711f9a
jump_label.c 2.18 KB