mirror of
https://github.com/memtest86plus/memtest86plus.git
synced 2026-07-31 08:38:30 -05:00
* rework the PTE definition macros to completely avoid recursivity, so as not to have to special-case Clang which has a low default recursivity limit; * replace a non-portable goto construct in app/main.c; * make tools overridable in i586 and x86_64 Makefiles; * let go of --warn-constructors flag to ld: lld doesn't support it and ld's manual indicates that it does nothing on COFF and ELF; * don't discard .shstrtab section: lld somehow requires it, and keeping it doesn't change the final binary on ld anyway; * don't discard .rela.dyn: lld produces an improper binary otherwise, but it doesn't change the final binary with ld; * use out of line versions of memcpy() and memset() on Clang: sadly, the built-in versions are not up to the task of generating efficient inline versions. Co-authored-by: Calvin Owens <calvin@wbinvd.org>