sync ports with The Matrix

This commit is contained in:
purplerain 2023-09-08 05:21:37 +00:00
parent ec769495ab
commit f5034afcba
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
3108 changed files with 91999 additions and 80269 deletions

View file

@ -0,0 +1,14 @@
- XXX no comment
Index: lld/ELF/Writer.h
--- lld/ELF/Writer.h.orig
+++ lld/ELF/Writer.h
@@ -30,7 +30,7 @@ template <class ELFT> void writeResult();
// placed in it.
struct PhdrEntry {
PhdrEntry(unsigned type, unsigned flags)
- : p_align(type == llvm::ELF::PT_LOAD ? config->maxPageSize : 0),
+ : p_align(type == llvm::ELF::PT_LOAD ? config->textAlignPageSize : 0),
p_type(type), p_flags(flags) {}
void add(OutputSection *sec);