Files
memtest86plus/lib
Lionel DebrouxandCalvin Owens 6f4ec848c4 Help the code build with contemporary Clang & LLD. (#405)
* 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>
2025-10-07 15:39:22 +02:00
..
2024-08-30 13:38:46 +02:00
2024-08-30 13:38:46 +02:00
2022-02-28 22:05:21 +00:00
2020-05-24 21:30:55 +01:00
2024-08-30 13:38:46 +02:00
2024-08-30 13:38:46 +02:00