|
这是在linux2.6 schedule()阅读中碰到的语句,类似使用很多,
#define loadsegment(seg,value) \
asm volatile("\n" \
"1:\t" \
"mov %0,%%" #seg "\n" \
"2:\n" \
".section .fixup,\"ax\"\n" \
"3:\t" \
"pushl $0\n\t" \
"popl %%" #seg "\n\t" \
"jmp 2b\n" \
".previous\n" \
".section __ex_table,\"a\"\n\t" \
".align 4\n\t" \
".long 1b,3b\n" \
".previous" \
: :"rm" (value))
请问大虾们,该段代码中有几个问题,
1.".section .fixup,\"ax\"\n"什么意思,
2.同样的,".section __ex_table,\"a\"\n\t"什么意思,
3.这里".previous"是否定义了一个段?
请大虾们不吝赐教,谢谢! [/quote] |
|