https://bugs.kde.org/show_bug.cgi?id=395682
--- Comment #5 from H.J. Lu <hjl.to...@gmail.com> --- (In reply to Mark Wielaard from comment #4) > The root cause is that ld -z separate-code introduces various new PT_LOAD This is very misleading. This simple test: https://github.com/hjl-tools/simple-linux/tree/divide-by-zero doesn't use -z separate-code: [hjl@gnu-cfl-1 simple-linux]$ readelf -lW test Elf file type is EXEC (Executable file) Entry point 0x40019a There are 3 program headers, starting at offset 64 Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align LOAD 0x000000 0x0000000000400000 0x0000000000400000 0x000240 0x000240 R E 0x1000 LOAD 0x001000 0x0000000000401000 0x0000000000401000 0x000000 0x000000 RW 0x1000 GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RWE 0x10 Section to Segment mapping: Segment Sections... 00 .text .rodata .eh_frame 01 .data .bss 02 [hjl@gnu-cfl-1 simple-linux]$ -- You are receiving this mail because: You are watching all bug changes.