ports/devel/llvm/13/patches/patch-lld_ELF_Writer_h

15 lines
457 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
- XXX no comment
2023-09-08 05:21:37 +00:00
Index: lld/ELF/Writer.h
--- lld/ELF/Writer.h.orig
+++ lld/ELF/Writer.h
2023-08-16 22:26:55 +00:00
@@ -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);