https://sourceware.org/bugzilla/show_bug.cgi?id=34003
--- Comment #2 from Fangrui Song <maskray at sourceware dot org> --- > ld.lld behavior. lld utilitizes two RW PT_LOAD program headers: one for RELRO > sections and the other for non-RELRO sections. Although this might appear > unusual initially, it eliminates the need for alignment padding as seen in > GNU ld's layout. I shall add that All 4 are distinct — while the segment counts match in pairs, the offsets differ. With -z noseparate-code, offsets are packed (e.g. R+X at 0x6c0), while -z separate-code page-aligns them (e.g. R+X at 0x1000). -- You are receiving this mail because: You are on the CC list for the bug.
