altinstructions and non-core texts
Jan. 23, 2012
10:18 p.m.
Regarding the source code for kernel version 2.6.38. Alternative instructions are extracted from the module's ELF section .altinstructions. The struct alt_instr has a member instr which seems to correspond to an offset in the text in the cases that I have seen. My question: Q1: Do .altinstructions get applied to sections other than .text? Q2: If yes to Q1, how do I know when an alt_instr applies to another section? (by the way, a similar question may apply in the case of jump_labels and smp_locks, so feel free to comment on those as well) Thanks! Dannie -- Dannie M. Stanley
5318
Age (days ago)
5318
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dannie Stanley