Building for ARM with a sysroot (-XR) results in a crashing app.
Original Reporter info from Mantis: DonAlfredo @DonAlfredo
-
Reporter name: Alfred
Original Reporter info from Mantis: DonAlfredo @DonAlfredo
- Reporter name: Alfred
Description:
When a sysroot is defined (-XR), the custom linker script results in a crashing app on the target.
In t_linux.pas (for ARM):
add(' PROVIDE (__executable_start = 0x8000); . = 0x8000 + SIZEOF_HEADERS;');
should be
add(' PROVIDE (__executable_start = SEGMENT_START("text-segment", 0x10000)); . = SEGMENT_START("text-segment", 0x10000) + SIZEOF_HEADERS;');
Additional information:
Should be good if this is also fixed in fixes.
Mantis conversion info:
- Mantis ID: 36395
- Platform: Windows
- Fixed in version: 3.2.0
- Fixed in revision: 43651 (#266daa62)