1: .equ NR_syscalls,0
2: #define CALL(x) .equ NR_syscalls,NR_syscalls+1
3: #include "calls.S"
4: #undef CALL
5: #define CALL(x) .long x
在calls.S的结尾:
1: .equ NR_syscalls,0
2: #define CALL(x) .equ NR_syscalls,NR_syscalls+1
3: #include "calls.S"
4: #undef CALL
5: #define CALL(x) .long x
在calls.S的结尾:
内容版权声明:除非注明,否则皆为本站原创文章。
转载注明出处:https://www.heiqu.com/55ed6c6fe9c780ca1b111aa019ccd733.html