Hi Dongtai,

Have you actually tested your changes with LLVM?

For example:

    asm volatile(
        ".pushsection .altinstructions, \"aM\", @progbits, "
        __stringify(ALT_INSTR_SIZE) "\n\t"
        ".long 0\n\t"
        ".popsection\n\t"
    );


BTW, "awM" is dangerous, pls see how did x86 do.

And head.S doesn't need to include asm-offsets.h, it seems
stackframe.h has included it.

Thanks,
---
WangYuli

Reply via email to