9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] changes to loader elf generation
@ 2013-03-26 23:29 geoff
  2013-03-28 20:21 ` geoff
  0 siblings, 1 reply; 3+ messages in thread
From: geoff @ 2013-03-26 23:29 UTC (permalink / raw)
  To: 9fans

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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] changes to loader elf generation
  2013-03-26 23:29 [9fans] changes to loader elf generation geoff
@ 2013-03-28 20:21 ` geoff
  2013-03-29 12:42   ` Sergey Zhilkin
  0 siblings, 1 reply; 3+ messages in thread
From: geoff @ 2013-03-28 20:21 UTC (permalink / raw)
  To: 9fans

Sorry, `-Fphys' should be `-Pphys'.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] changes to loader elf generation
  2013-03-28 20:21 ` geoff
@ 2013-03-29 12:42   ` Sergey Zhilkin
  0 siblings, 0 replies; 3+ messages in thread
From: Sergey Zhilkin @ 2013-03-29 12:42 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 219 bytes --]

Thanks !


2013/3/29 <geoff@plan9.bell-labs.com>

> Sorry, `-Fphys' should be `-Pphys'.
>
>


-- 
С наилучшими пожеланиями
Жилкин Сергей
With best regards
Zhilkin Sergey

[-- Attachment #2: Type: text/html, Size: 567 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-29 12:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-26 23:29 [9fans] changes to loader elf generation geoff
2013-03-28 20:21 ` geoff
2013-03-29 12:42   ` Sergey Zhilkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).