Warn the user if `mmap_min_addr` is too high
Many Linux distributions prevent programs from mapping memory pages at low addresses. This can lead the translated program to segfault without any additional explanation. This happens in particular with ARM binaries, which tend to have the first segment allocated at very low addresses. This behavior can be configured through `/proc/sys/vm/mmap_min_addr`. This commit introduces a warning to the user in the `li-csv-to-ld-options` script in case a segment with an address lower than `mmap_min_addr` is requested.
Loading
Please register or sign in to comment