From: Jason Eckhardt <jason@equator.com>
To: hppa-linux@thepuffingroup.com
Subject: Re: [hppa-linux] Linker scripts and the boot loader
Date: Fri, 26 Mar 1999 11:21:14 -0800 (PST) [thread overview]
Message-ID: <199903261921.LAA22256@gatekeeper.equator.com> (raw)
>
> Okay. How does the boot loader work with loading the kernel? I recall
> Jason saying something about the boot loader knowing how to load binaries.
>
Currently, the bootloader assumes that the kernel is position independent
and either straight binary or SOM (packed with ld -N). By "straight" binary
I mean only the code and no headers, etc.
I think HockeyPUX is linked at a certain address and is not position
independent. I'm not sure why being inflexible like this is a win, but if
necessary we could do the same.
Also, since the loader assumes a binary image, the ELF image we produce
will need to be massaged (same as x86 linux kernel, at least at one time).
This was done because its simple to just read one record after the other
into memory and execute.
Alternatively, more code could be added to "understand" ELF. I prefer to
keep the bootloader simple...it is just a bootloader after all.
The simple dummy kernel you saw in the bootstrap tests is just a position
independent binary loaded straight from the LIF and executed.
Jason.
next reply other threads:[~1999-03-26 19:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-26 19:21 Jason Eckhardt [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-03-26 6:23 [hppa-linux] Linker scripts and the boot loader Alex deVries
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199903261921.LAA22256@gatekeeper.equator.com \
--to=jason@equator.com \
--cc=hppa-linux@thepuffingroup.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox