https://sourceware.org/bugzilla/show_bug.cgi?id=21585
Bug ID: 21585 Summary: Gold generates PHDR segment outside of LOAD segment Product: binutils Version: 2.29 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gold Assignee: ccoutant at gmail dot com Reporter: hjl.tools at gmail dot com CC: ian at airs dot com Target Milestone: --- Target: x86-64 [hjl@gnu-6 testsuite]$ ../../binutils/readelf -l script_test_13 Elf file type is DYN (Shared object file) Entry point 0x0 There are 7 program headers, starting at offset 64 Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flags Align PHDR 0x0000000000000040 0x0000000000000000 0x0000000000000000 0x0000000000000188 0x0000000000000188 R 0x8 readelf: Error: the PHDR segment is not covered by a LOAD segment LOAD 0x0000000000001000 0x0000000000000000 0x0000000000000000 0x0000000000000068 0x0000000000000068 R E 0x1000 LOAD 0x0000000000001068 0x0000000000000068 0x0000000000000068 0x00000000000000e8 0x00000000000000e8 RW 0x1000 LOAD 0x0000000000002000 0x0000000000010000 0x0000000000010000 0x0000000000000018 0x0000000000000018 R 0x1000 LOAD 0x0000000000002018 0x0000000000010018 0x0000000000010018 0x0000000000000000 0x0000000000000000 RW 0x1000 DYNAMIC 0x0000000000001070 0x0000000000000070 0x0000000000000070 0x00000000000000e0 0x00000000000000e0 RW 0x8 GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 RW 0x10 Section to Segment mapping: Segment Sections... 00 01 .text .dynsym .dynstr .hash 02 .data .data.rel .dynamic 03 .rela.dyn 04 .bss 05 .dynamic 06 [hjl@gnu-6 testsuite]$ -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils