From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <7026b71ddcf9c2f4d3458287f921e000@plan9.bell-labs.com> Date: Tue, 26 Mar 2013 19:29:25 -0400 From: geoff@plan9.bell-labs.com To: 9fans@9fans.net MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] changes to loader elf generation Topicbox-Message-UUID: 36ee1616-ead8-11e9-9d60-3106f5b1d025 The loader code to produce ELF or ELF64 binaries is now consolidated into /sys/src/cmd/8l/elf.[ch], and it no longer modifies (in loader-dependent ways) the text-start virtual address to produce a physical equivalent. In the process, bugs such as incorrect byte-order header elements were fixed. There are new options in all the loaders that can produce ELF binaries (i.e., not kl): -k marks the ELF file as a kernel rather than user executable, and -Fphys sets the text-start physical address to `phys' instead of the text-start virtual address. See 8l(1). Note that 9boot can now load ELF64 kernels. From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <30a9ca3ab1aac26ea4d88ac9a4241d11@plan9.bell-labs.com> Date: Thu, 28 Mar 2013 16:21:56 -0400 From: geoff@plan9.bell-labs.com To: 9fans@9fans.net In-Reply-To: <7026b71ddcf9c2f4d3458287f921e000@plan9.bell-labs.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] changes to loader elf generation Topicbox-Message-UUID: 382e6b70-ead8-11e9-9d60-3106f5b1d025 Sorry, `-Fphys' should be `-Pphys'. From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <30a9ca3ab1aac26ea4d88ac9a4241d11@plan9.bell-labs.com> References: <7026b71ddcf9c2f4d3458287f921e000@plan9.bell-labs.com> <30a9ca3ab1aac26ea4d88ac9a4241d11@plan9.bell-labs.com> From: Sergey Zhilkin Date: Fri, 29 Mar 2013 16:42:30 +0400 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=089e013a0c68f1b3aa04d90f9bee Subject: Re: [9fans] changes to loader elf generation Topicbox-Message-UUID: 39253cca-ead8-11e9-9d60-3106f5b1d025 --089e013a0c68f1b3aa04d90f9bee Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 VGhhbmtzICENCg0KDQoyMDEzLzMvMjkgPGdlb2ZmQHBsYW45LmJlbGwtbGFicy5jb20+DQoNCj4g U29ycnksIGAtRnBoeXMnIHNob3VsZCBiZSBgLVBwaHlzJy4NCj4NCj4NCg0KDQotLSANCtChINC9 0LDQuNC70YPRh9GI0LjQvNC4INC/0L7QttC10LvQsNC90LjRj9C80LgNCtCW0LjQu9C60LjQvSDQ odC10YDQs9C10LkNCldpdGggYmVzdCByZWdhcmRzDQpaaGlsa2luIFNlcmdleQ0K --089e013a0c68f1b3aa04d90f9bee Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks !


2013/3/29 <geoff@plan9.bell-labs.com>
Sorry, `-Fphys' should be `-Pphys'.




--
=D0=A1 =D0= =BD=D0=B0=D0=B8=D0=BB=D1=83=D1=87=D1=88=D0=B8=D0=BC=D0=B8 =D0=BF=D0=BE=D0= =B6=D0=B5=D0=BB=D0=B0=D0=BD=D0=B8=D1=8F=D0=BC=D0=B8
=D0=96=D0=B8=D0=BB= =D0=BA=D0=B8=D0=BD =D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9
With best regard= s
Zhilkin Sergey
--089e013a0c68f1b3aa04d90f9bee--