Open Quuxplusone opened 3 years ago
Attached ftrace-0066fe.sh
(7841 bytes, application/x-shellscript): shell script with cmdline
Attached ftrace-0066fe.c.bz2
(796774 bytes, application/x-bzip): the problem file
Attached ftrace-0066fe.tmux.tmp
(14667 bytes, text/plain): shell tmux snapshot
"long reladdr = addr - kernel_toc_addr();" is the problem place which (in my
tree) looks like:
register unsigned long toc_ptr asm ("r2");
static inline unsigned long kernel_toc_addr(void)
{
return toc_ptr;
}
ah turns out "r2" cannot be used for global variable at all. Wonder why.
ftrace-0066fe.sh
(7841 bytes, application/x-shellscript)ftrace-0066fe.c.bz2
(796774 bytes, application/x-bzip)ftrace-0066fe.tmux.tmp
(14667 bytes, text/plain)