abstract-machine/am/src/x86
Zihao Yu de78d6ca0a x86-qemu,boot: fix strict aliasing bug by union
* In gcc 12, by the strict-aliasing rule, gcc will consider elf32 and
  buf during calling copy_from_disk() point to different memory area.
  This will let gcc move the checking of EM_X86_64 ahead of
  copy_from_disk(), causing incorrectly parsing the x86_64 ELF header as
  x86_32.
2024-06-02 12:30:23 +08:00
..
nemu ready for ics2021 2021-08-11 16:21:16 +08:00
qemu x86-qemu,boot: fix strict aliasing bug by union 2024-06-02 12:30:23 +08:00
x86.h ready for ics2021 2021-08-11 16:21:16 +08:00