mirror of https://gitee.com/openkylin/linux.git
e3bf4c61da
Like other JITs, sparc64 maintains an array of instruction offsets but stores the entries off by one. This is done because jumps to the exit block are indexed to one past the last BPF instruction. So if we size the array by the program length, we need to record the previous instruction in order to stay within the array bounds. This is explained in ARM JIT commit |
||
---|---|---|
.. | ||
Makefile | ||
bpf_jit_32.h | ||
bpf_jit_64.h | ||
bpf_jit_asm_32.S | ||
bpf_jit_asm_64.S | ||
bpf_jit_comp_32.c | ||
bpf_jit_comp_64.c |