Linker limitations on 32-bit architectures
Linker limitations on 32-bit architectures
Posted Aug 27, 2019 22:28 UTC (Tue) by foom (subscriber, #14868)In reply to: Linker limitations on 32-bit architectures by roc
Parent article: Linker limitations on 32-bit architectures
The most annoying one to me is that it doesn't check pointer alignment for load/store instructions which fail when misaligned on real hardware. E.g. ldm and ldrd on armv7 require 4-byte alignment (even though ldr does not), but qemu does not check this.
It's unfortunately pretty easy to screw up alignment in C code, and cause your program to only crash on real hardware...
Posted Aug 28, 2019 0:34 UTC (Wed)
by roc (subscriber, #30627)
[Link]
Linker limitations on 32-bit architectures