Skip to contentSkip to conversation

[Fwd: Re: ELF bugfixes]

Fwd: Re: ELF bugfixes phcoder 1 participant 1 message Mar 13, 2009

lore
Share & tools
lore

phcoder

author
#0 lore raw
Signature · 4 lines
-- 

Regards
Vladimir 'phcoder' Serbinenko

From: phcoder <[email protected]>
Date: Fri, 13 Mar 2009 21:49:39 +0100

Quoted 4 lines
Quoted 3 lines · David Miller

From: phcoder <[email protected]>
Date: Fri, 13 Mar 2009 21:41:42 +0100

Quoted 8 lines
Quoted 7 lines
Quoted 3 lines

Actually our segment table is also our table for transforming between virtual and physical address. I don't see why entry point would be defined against virtual address of lowest physical segement

I would suggest simply looping over the phdrs and remembering which one the e_entry falls into.
Won't that make things work in the case you're describing?

I thought I have attached new patch. Sorry forgot to do so

This patch looks good to me, FWIW.