|
使用 Makefile.in 将 grub64efi 编译为 pre_stage2.exec。已经完成。
然后使用 grub-mkimage 编译 pre_stage2.exec 为 grub_x64.efi。
编译提示:error: can't add fixup entry for R_X86_64_32(S)。
加上-fPIC 参数后编译提示:error: undefined symbol _GLOBAL_OFFSET_TABLE_.
增加 “grub_uint64_t _GLOBAL_OFFSET_TABLE_[32]; ”定义后编译提示:error: relocation 0x9 is not implemented yet.
至此卡住。
|
|