summaryrefslogtreecommitdiffstats
path: root/scripts/faddr2line
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2021-04-12 13:44:18 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2021-04-21 14:52:33 +0200
commitee7c3ec3b4b1222b30272624897826bc40d79bc5 (patch)
tree72a9efd7823aadd137fa1934927e2d0c2e29d203 /scripts/faddr2line
parentpowerpc/ebpf32: Rework 64 bits shifts to avoid tests and branches (diff)
downloadlinux-ee7c3ec3b4b1222b30272624897826bc40d79bc5.tar.xz
linux-ee7c3ec3b4b1222b30272624897826bc40d79bc5.zip
powerpc/ebpf32: Use standard function call for functions within 32M distance
If the target of a function call is within 32 Mbytes distance, use a standard function call with 'bl' instead of the 'lis/ori/mtlr/blrl' sequence. In the first pass, no memory has been allocated yet and the code position is not known yet (image pointer is NULL). This pass is there to calculate the amount of memory to allocate for the EBPF code, so assume the 4 instructions sequence is required, so that enough memory is allocated. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/74944a1e3e5cfecc141e440a6ccd37920e186b70.1618227846.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'scripts/faddr2line')
0 files changed, 0 insertions, 0 deletions