[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] access phdr header entries like an array

From: Robert Millan
Subject: [PATCH] access phdr header entries like an array
Date: Sun, 14 Oct 2007 15:48:18 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

This patch makes it easier and more intuitive to access entries in the phdr
header as if it were a C array.  It has otherwise no effect on the current
code (other than saving some space for an awkward reason), but is needed to
implement the ability to load segments at an arbitrary address, distinguishing
the relative offset rather than their absolute requested address.

I have the code for all the dance, including the ability to relocate the
payload later on, but I've chosen to split it up for revision tracking
purposes (besides, the rest needs quite a bit of cleanup yet ;-)).

I've checked there are no regressions (at least with invaders).  If there are
no objections in a few days I'll check it in.

Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)

Attachment: phdr_array.diff
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]