mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-11-22 06:07:43 +00:00
.data shared the bootphase2 output section with the RAM-executed code, so the PM5 bootrom linked with "LOAD segment with RWX permissions" (CMake silenced it with --no-warn-rwx-segments). Put .data in .bootphase2_data with its own PT_LOAD, placed right after .bootphase2 in RAM and flash so the existing copy loop still covers it; asserts guard the contiguity. Same image size on RDV4/PM5/PM5+BWM; code identical bar .ramfunc moving ahead of .data, data bytes unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>