我在ELF共享库中有很多代码,它只在库初始化期间使用(它是从静态初始化程序调用的)。如果我把这段代码放在它自己的段中(或者它可以放在.init段中),我可以使用__attribute__((section(".mysection")))做什么,有没有办法强制这个段在库加载后被分页? This question是相关的,但是结论是内核会在内存不足时分页出未使用的页面,所以没有必要明确地这样做。但是,
假设如下: Elf_Section_Header *sectionHeaderTable //points to the start of a ELF section header table
Elf_Section_Header *symtabHeader //points to the start of the symtab section header
为什么不下面我指向关联的字符串表