Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: Andrea Arcangeli <andrea@suse.de>
Cc: Linus Torvalds <torvalds@transmeta.com>,
	axp-list@redhat.com, linux-alpha@vger.rutgers.edu
Subject: Re: 2.3.99-3 axp combo patch
Date: Thu, 6 Apr 2000 11:17:12 -0700	[thread overview]
Message-ID: <20000406111712.A5964@twiddle.net> (raw)
In-Reply-To: <Pine.LNX.4.21.0003311546320.653-100000@alpha.random>

On Fri, Mar 31, 2000 at 03:48:46PM +0200, Andrea Arcangeli wrote:
> You have to hardcode something. The vmlinux.gz is stripped, you
> can't find out the offset of a variable name by looking up the
> elf section.

No, there are at least three options for not hardcoding:

 (1) Use a PT_NOTE phdr.
 (2) Look into the section tables for a known name.
 (3) Pass the address in in a register.

I kinda like number 1 because it absolutely forces the boot
loaders to be upgraded -- all of them currently give up loading
if there is more than one phdr (which was stupid to boot).

However, I can see the argument that this isn't the best way
to manage the release process, which would force one of the other
harder options, which also incurr the need for sanity checking
in the kernel when trying to locate the argument block.


r~


  parent reply	other threads:[~2000-04-06 18:17 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-29  5:25 2.3.99-3 axp combo patch Richard Henderson
2000-03-29  7:05 ` Daniel Potts
2000-03-29  9:06   ` Richard Henderson
     [not found] ` <Pine.LNX.4.21.0003291713360.248-100000@alpha.random>
2000-03-29 17:15   ` Richard Henderson
     [not found]     ` <Pine.LNX.4.21.0003292135370.6272-100000@alpha.random>
2000-03-29 23:58       ` Richard Henderson
     [not found]         ` <Pine.LNX.4.21.0003300205100.907-100000@alpha.random>
2000-03-31  4:29           ` Richard Henderson
     [not found]             ` <Pine.LNX.4.21.0003311546320.653-100000@alpha.random>
2000-04-06 18:17               ` Richard Henderson [this message]
     [not found]     ` <Pine.LNX.4.21.0003300212580.907-100000@alpha.random>
2000-03-31  4:31       ` Richard Henderson
     [not found]   ` <Pine.LNX.4.21.0003291839320.317-100000@alpha.random>
2000-03-29 17:18     ` Richard Henderson
     [not found]       ` <Pine.LNX.4.21.0003292139090.6272-100000@alpha.random>
2000-03-30  0:03         ` Richard Henderson
     [not found]           ` <Pine.LNX.4.21.0003300218350.907-100000@alpha.random>
2000-03-31  4:34             ` Richard Henderson
2000-03-31 10:57               ` Nikita Schmidt
2000-03-30 16:02 ` David Huggins-Daines
2000-03-30 16:35   ` Jay Estabrook
2000-03-30 16:41     ` David Huggins-Daines
     [not found] <Pine.LNX.4.21.0003301853310.741-100000@alpha.random>
2000-03-30 17:07 ` David Huggins-Daines
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox