我正在寻找一些帮助,以理解在parse_elf()中arch/x86/boot/compressed/misc.c中解压缩的Linux映像的解析。具体来说,我不明白ELF段被复制到或从哪些内存区域。for (i = 0; i < ehdr.e_phnum; i++) { // For each segment...// If we aren't considering relocations then just use the physical
Segment[j]->fileSegment.open(QIODevice::ReadOnly)) qDebug()<<"Segment not found";safe Segment[j]->fileSegment.remove();上面的代码片段在Windows和Linux上都能正常工作。2-如果总大小超过2GB,上述方法在某些
我正在尝试用stack (特别是haskell-ide-engine和hlint )构建一些Haskell包,但它们都失败了,并显示了许多ld.lld错误消息,都与R_X86_64_32S重新定位有关error: can't create dynamic relocation R_X86_64_32S against symbol: stg_bh_upd_frame_info in readonly segment,-z,notext' to allow text relocations in the output
>>>