Date: Thu, 27 Jul 2017 01:49:54 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 217610] ELF loader should have a special case for program headers with p_filesz == 0 Message-ID: <bug-217610-8-hLuW4Xia7u@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-217610-8@https.bugs.freebsd.org/bugzilla/> References: <bug-217610-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217610 --- Comment #7 from Ed Maste <emaste@freebsd.org> --- For reference ld.lld creates an 8928-byte file for your sample, with the following segments: There are 5 program headers, starting at offset 64 Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flags Align PHDR 0x0000000000000040 0x0000000000200040 0x0000000000200040 0x0000000000000118 0x0000000000000118 R 8 LOAD 0x0000000000000000 0x0000000000200000 0x0000000000200000 0x0000000000000158 0x0000000000000158 R 1000 LOAD 0x0000000000001000 0x0000000000201000 0x0000000000201000 0x0000000000000009 0x0000000000000009 R E 1000 LOAD 0x0000000000002000 0x0000000000202000 0x0000000000202000 0x0000000000000000 0x0000000000000010 RW 1000 GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 RW 0 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217610-8-hLuW4Xia7u>